This commit is contained in:
@@ -186,14 +186,15 @@ class ReceiptModel extends Model
|
||||
}
|
||||
|
||||
$builder->where('a.rcpt_tm >= DATE_ADD(CURDATE(), INTERVAL -3 MONTH)', null, false);
|
||||
$builder->where('b.use_yn', 'Y');
|
||||
|
||||
if (!empty($data['rcpt_atclno'])) {
|
||||
$builder->where('a.rcpt_atclno', $data['rcpt_atclno']);
|
||||
} else {
|
||||
if ($data['schDateGb'] == '1') {
|
||||
if ($data['schDateGb'] == '2') {
|
||||
$builder->where('a.rcpt_tm >=', $data['sdate'] . ' 00:00:00');
|
||||
$builder->where('a.rcpt_tm <=', $data['edate'] . ' 23:59:59');
|
||||
} else if ($data['schDateGb'] == '2') {
|
||||
} else {
|
||||
$builder->where('b.rsrv_date >=', $data['sdate'] . ' 00:00:00');
|
||||
$builder->where('b.rsrv_date <=', $data['edate'] . ' 23:59:59');
|
||||
}
|
||||
@@ -322,6 +323,16 @@ class ReceiptModel extends Model
|
||||
$builder->where('a.image_360_yn', 'N');
|
||||
}
|
||||
|
||||
// 검증방식
|
||||
if (!empty($data['isSiteVRVerification'])) {
|
||||
$builder->where('a.isSiteVRVerification', $data['isSiteVRVerification']);
|
||||
}
|
||||
|
||||
// 프로모션
|
||||
if (!empty($data['isPromotionApply'])) {
|
||||
$builder->where('a.isPromotionApply', $data['isPromotionApply']);
|
||||
}
|
||||
|
||||
if (!empty($data['srchTxt'])) {
|
||||
// 중개사
|
||||
if ($data['srchType'] == '1') {
|
||||
@@ -514,14 +525,15 @@ class ReceiptModel extends Model
|
||||
}
|
||||
|
||||
$builder->where('a.rcpt_tm >= DATE_ADD(CURDATE(), INTERVAL -3 MONTH)', null, false);
|
||||
$builder->where('b.use_yn', 'Y');
|
||||
|
||||
if (!empty($data['rcpt_atclno'])) {
|
||||
$builder->where('a.rcpt_atclno', $data['rcpt_atclno']);
|
||||
} else {
|
||||
if ($data['schDateGb'] == '1') {
|
||||
if ($data['schDateGb'] == '2') {
|
||||
$builder->where('a.rcpt_tm >=', $data['sdate'] . ' 00:00:00');
|
||||
$builder->where('a.rcpt_tm <=', $data['edate'] . ' 23:59:59');
|
||||
} else if ($data['schDateGb'] == '2') {
|
||||
} else {
|
||||
$builder->where('b.rsrv_date >=', $data['sdate'] . ' 00:00:00');
|
||||
$builder->where('b.rsrv_date <=', $data['edate'] . ' 23:59:59');
|
||||
}
|
||||
@@ -650,6 +662,16 @@ class ReceiptModel extends Model
|
||||
$builder->where('a.image_360_yn', 'N');
|
||||
}
|
||||
|
||||
// 검증방식
|
||||
if (!empty($data['isSiteVRVerification'])) {
|
||||
$builder->where('a.isSiteVRVerification', $data['isSiteVRVerification']);
|
||||
}
|
||||
|
||||
// 프로모션
|
||||
if (!empty($data['isPromotionApply'])) {
|
||||
$builder->where('a.isPromotionApply', $data['isPromotionApply']);
|
||||
}
|
||||
|
||||
if (!empty($data['srchTxt'])) {
|
||||
// 중개사
|
||||
if ($data['srchType'] == '1') {
|
||||
@@ -790,14 +812,15 @@ class ReceiptModel extends Model
|
||||
}
|
||||
|
||||
$builder->where('a.rcpt_tm >= DATE_ADD(CURDATE(), INTERVAL -3 MONTH)', null, false);
|
||||
$builder->where('b.use_yn', 'Y');
|
||||
|
||||
if (!empty($data['rcpt_atclno'])) {
|
||||
$builder->where('a.rcpt_atclno', $data['rcpt_atclno']);
|
||||
} else {
|
||||
if ($data['schDateGb'] == '1') {
|
||||
if ($data['schDateGb'] == '2') {
|
||||
$builder->where('a.rcpt_tm >=', $data['sdate'] . ' 00:00:00');
|
||||
$builder->where('a.rcpt_tm <=', $data['edate'] . ' 23:59:59');
|
||||
} else if ($data['schDateGb'] == '2') {
|
||||
} else {
|
||||
$builder->where('b.rsrv_date >=', $data['sdate'] . ' 00:00:00');
|
||||
$builder->where('b.rsrv_date <=', $data['edate'] . ' 23:59:59');
|
||||
}
|
||||
@@ -926,6 +949,16 @@ class ReceiptModel extends Model
|
||||
$builder->where('a.image_360_yn', 'N');
|
||||
}
|
||||
|
||||
// 검증방식
|
||||
if (!empty($data['isSiteVRVerification'])) {
|
||||
$builder->where('a.isSiteVRVerification', $data['isSiteVRVerification']);
|
||||
}
|
||||
|
||||
// 프로모션
|
||||
if (!empty($data['isPromotionApply'])) {
|
||||
$builder->where('a.isPromotionApply', $data['isPromotionApply']);
|
||||
}
|
||||
|
||||
if (!empty($data['srchTxt'])) {
|
||||
// 중개사
|
||||
if ($data['srchType'] == '1') {
|
||||
|
||||
Reference in New Issue
Block a user