cqp 1 месяц назад
Родитель
Сommit
69a59f459e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Service/MiddleGroundService.php

+ 1 - 1
app/Service/MiddleGroundService.php

@@ -380,7 +380,7 @@ class MiddleGroundService extends Service
     public function employeeCommon($data,$user){
         $model = Employee::where('del_time',0)
             ->where('is_admin', Employee::IS_ADMIN_TWO)
-            ->select('id', 'account', 'crt_time', 'top_depart_id')
+            ->select('id', 'account', 'crt_time', 'top_depart_id','title')
             ->orderBy('id','desc');
 
         if(! empty($data['id'])) $model->whereIn('id', $data['id']);