更新离职记录
This commit is contained in:
parent
10a20967df
commit
1da7fc8290
|
@ -98,7 +98,7 @@ class UserPersonal extends ApiController
|
|||
$where['p.status'] = array('eq', 1);
|
||||
$rows = empty($param['limit']) ? get_config('app.page_size') : $param['limit'];
|
||||
$list = PersonalQuit::where($where)
|
||||
->field('p.*,u.name as name,d.title as department,ps.title as position')
|
||||
->field('p.*,u.name as name,u.did,u.position_id,d.title as department,ps.title as position')
|
||||
->alias('p')
|
||||
->join('admin u', 'p.uid = u.id', 'LEFT')
|
||||
->join('department d', 'u.did = d.id', 'LEFT')
|
||||
|
|
Loading…
Reference in New Issue