smartor/src/main/resources/mapper/smartor/SysUserRole2Mapper.xml
@@ -27,6 +27,7 @@ select user_id,role_id,guid,orgid from sys_user_role WHERE 1=1 <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> <if test="roleId != null ">and role_id = #{roleId}</if> <if test="userId != null ">and user_id = #{userId}</if>