1
0
liugc 1 жил өмнө
parent
commit
b604f1ed52

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

@@ -167,6 +167,12 @@ class ExcelExportService
                 if (isset($params['recruiting_behalf']) && !empty($params['recruiting_behalf'])) {
                     $where[] = ['a.recruiting_behalf','like' ,"%".$params['recruiting_behalf']."%"];
                 }
+                if (isset($params['is_recruiting_behalf']) && !empty($params['is_recruiting_behalf'])) {
+                    if ($params['is_recruiting_behalf'] == 1)
+                        $where[] = ['a.recruiting_behalf','<>' ,""];
+                    else
+                        $where[] = ['a.recruiting_behalf','=' ,""];
+                }
                 if (isset($params['mobile']) && !empty($params['mobile'])) {
                     $where[] = ['a.mobile','=' ,$params['mobile']];
                 }