|
@@ -67,15 +67,16 @@ class SignupManagementService
|
67
|
67
|
\Log::info('trackNo: '.$trackNo);
|
68
|
68
|
\Log::info('createDateStart: '.$createDateStart);
|
69
|
69
|
\Log::info('createDateFinal: '.$createDateFinal);
|
|
70
|
+
|
70
|
71
|
$res = $this->signupDb
|
71
|
72
|
->select('*');
|
72
|
73
|
|
73
|
|
- if ($trackNo) {
|
|
74
|
+ if ($trackNo!="") {
|
74
|
75
|
|
75
|
76
|
$res->where('trackNo','LIKE', $trackNo.'%');
|
76
|
77
|
}
|
77
|
78
|
|
78
|
|
- if ($keyword != ""){
|
|
79
|
+ if ($keyword!=""){
|
79
|
80
|
|
80
|
81
|
$res->where('firstName', $keyword)
|
81
|
82
|
->orWhere('lastName', $keyword)
|
|
@@ -90,7 +91,7 @@ class SignupManagementService
|
90
|
91
|
// ->orWhere('jobTitle', $keyword);
|
91
|
92
|
}
|
92
|
93
|
|
93
|
|
- if ($createDateStart&&$createDateFinal) {
|
|
94
|
+ if ($createDateStart!="" && $createDateFinal!="") {
|
94
|
95
|
$res->where('createDate', '>', $createDateStart)
|
95
|
96
|
->where('createDate', '<', $createDateFinal);
|
96
|
97
|
}
|