Ver código fonte

公司初始化

cqp 1 mês atrás
pai
commit
69a59f459e
1 arquivos alterados com 1 adições e 1 exclusões
  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){
     public function employeeCommon($data,$user){
         $model = Employee::where('del_time',0)
         $model = Employee::where('del_time',0)
             ->where('is_admin', Employee::IS_ADMIN_TWO)
             ->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');
             ->orderBy('id','desc');
 
 
         if(! empty($data['id'])) $model->whereIn('id', $data['id']);
         if(! empty($data['id'])) $model->whereIn('id', $data['id']);