Pārlūkot izejas kodu

fixbug:修复查不到员工问题

yb 6 mēneši atpakaļ
vecāks
revīzija
3b22c673fe
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/admin/service/consultant/ConsultantService.php

+ 1 - 1
app/admin/service/consultant/ConsultantService.php

@@ -23,7 +23,7 @@ class ConsultantService
         $where = [];
         $whereDept = [];
         $whereTopDept = [];
-        $deptIds = TeamService::getIdsByUser(1);
+        $deptIds = TeamService::getIdsByUser();
         if (false === $deptIds) {
             //无权限
             $where[] = ['dept_id', '=', 0];