update [/listRoleAndDepart]新增id参数

This commit is contained in:
lijiarao
2021-09-08 20:08:43 +08:00
parent 55650ad71c
commit 021ff36222
@@ -186,6 +186,9 @@
and a.id not in (select user_id from sys_user_depart where dep_id =
(select id from sys_depart where org_code = #{user.orgCode}))
</if>
<if test="user.id != null and user.id != ''">
and a.id = #{user.id}
</if>
</where>
</select>