|
@@ -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']);
|