liugc 1 год назад
Родитель
Сommit
1c8a7e5f4c

+ 6 - 0
app/adminapi/lists/master_worker/MasterWorkerServiceOrderLists.php

@@ -39,6 +39,12 @@ class MasterWorkerServiceOrderLists extends BaseAdminDataLists implements ListsS
         if (isset($this->params['recruiting_behalf']) && !empty($this->params['recruiting_behalf'])) {
             $where[] = ['a.recruiting_behalf','like' ,"%".$this->params['recruiting_behalf']."%"];
         }
+        if (isset($this->params['mobile']) && !empty($this->params['mobile'])) {
+            $where[] = ['a.mobile','=' ,$this->params['mobile']];
+        }
+        if (isset($this->params['cooperation']) && !empty($this->params['cooperation'])) {
+            $where[] = ['a.cooperation','=' ,$this->params['cooperation']];
+        }
         if (!empty($this->params['start_time'])) {
             //$where[] = ['b.update_time', '>=', strtotime($this->params['start_time'])];
             $this->sqlJoin .= '    AND  b.update_time >= '.strtotime($this->params['start_time']);

+ 6 - 0
app/common/service/ExcelExportService.php

@@ -110,6 +110,12 @@ class ExcelExportService
                 if (isset($params['recruiting_behalf']) && !empty($params['recruiting_behalf'])) {
                     $where[] = ['a.recruiting_behalf','like' ,"%".$params['recruiting_behalf']."%"];
                 }
+                if (isset($params['mobile']) && !empty($params['mobile'])) {
+                    $where[] = ['a.mobile','=' ,$params['mobile']];
+                }
+                if (isset($params['cooperation']) && !empty($params['cooperation'])) {
+                    $where[] = ['a.cooperation','=' ,$params['cooperation']];
+                }
                 if (!empty($params['start_time'])) {
                     $sqlJoin .= '    AND  b.update_time >= '.strtotime($params['start_time']);
                 }