更新离职记录

This commit is contained in:
yaooo 2023-10-31 18:52:21 +08:00
parent 10a20967df
commit 1da7fc8290
1 changed files with 1 additions and 1 deletions

View File

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