From 1da7fc829054b061075e1b0db8d9cdb9d63fbb7b Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Tue, 31 Oct 2023 18:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=A6=BB=E8=81=8C=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/UserPersonal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/UserPersonal.php b/app/api/controller/UserPersonal.php index d27ee54..6761f8f 100644 --- a/app/api/controller/UserPersonal.php +++ b/app/api/controller/UserPersonal.php @@ -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')