🐛 Fixing a bug. #166 后台用户信息表,显示部门为空

This commit is contained in:
冷冷 committed 2019-03-26 10:56:08 +08:00
1 parent 3c4a3a5164
commit 17803e39fd
1 file changed
+2 -2
@@ -154,8 +154,8 @@
`user`.update_time AS uupdate_time,
`user`.del_flag AS udel_flag,
`user`.lock_flag AS lock_flag,
`user`.dept_id AS deptId,
`user`.tenant_id AS tenantId
`user`.tenant_id AS tenantId,
d.name AS deptName
FROM
sys_user AS `user`
LEFT JOIN sys_dept AS d ON d.dept_id = `user`.dept_id