瀏覽代碼

公司初始化

cqp 1 月之前
父節點
當前提交
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']);