diff --git a/api/app/lib/controllers/member/index.js b/api/app/lib/controllers/member/index.js index 6c5793d..b6848dd 100644 --- a/api/app/lib/controllers/member/index.js +++ b/api/app/lib/controllers/member/index.js @@ -101,7 +101,9 @@ async function searchPepMember (ctx) { user.id AS pepUserId, user.name AS userName, role.name AS roleName, - department.name AS depName + role.id AS roleId, + department.name AS depName, + department.id AS depId FROM user LEFT JOIN user_role