src/main/resources/mapper/UserMapper.xml | ●●●●● 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">