xiaoyong931011
2022-07-07 2b20baa39f1a052dab4f8538f6ecf010064b2470
20220606
1 files modified
2 ■■■ changed files
src/main/resources/mapper/UserMapper.xml 2 ●●● patch | view | raw | blame | history
src/main/resources/mapper/UserMapper.xml
@@ -11,7 +11,7 @@
        <where>
            and a.id not in (
            SELECT b.user_id FROM t_user_role b
            WHERE b.role_id = ( SELECT id FROM t_role WHERE role_name = #{record.roleName})
            WHERE b.role_id in ( SELECT id FROM t_role WHERE role_name = #{record.roleName})
            )
            <if test="record != null" >
                <if test="record.username!=null">