xieb
2023-05-19 5a0f5c800c2a9b8a5e7732f69feedda9a2466e88
用户列表增加角色查询
1 files modified
3 ■■■■■ changed files
skjcmanager/skjcmanager-service/skjcmanager-user/src/main/java/cn/gistack/system/user/mapper/UserMapper.xml 3 ●●●●● patch | view | raw | blame | history
skjcmanager/skjcmanager-service/skjcmanager-user/src/main/java/cn/gistack/system/user/mapper/UserMapper.xml
@@ -44,6 +44,9 @@
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}
        </if>
        <if test="user.roleId!=null and user.roleId != ''">
            and role_id like concat('%',#{user.roleId},'%')
        </if>
        <if test="deptIdList!=null and deptIdList.size>0">
            and id in (
            SELECT