Explorar el Código

[智价云] 部门查询信息更新

tangyuanwang hace 2 meses
padre
commit
e1c5334ff5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Controllers/Manager/Personnel/Employee.php

+ 1 - 1
app/Http/Controllers/Manager/Personnel/Employee.php

@@ -44,7 +44,7 @@ class Employee extends Controller
         $role_ids = [];
         $city_id = request('city_id', '');
         $city_ids = request('city_ids', '');
-        $department_ids = request('city_ids', '');
+        $department_ids = request('department_ids', '');
         // 时间条件
         if ($start_time) $map[] = ['insert_time', '>=', strtotime($start_time)];
         if ($end_time) $map[]   = ['insert_time', '<=', strtotime($end_time)];