From 223ff4ebffa9f611444d9634f09aa70fb20bd654 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 11 十一月 2021 12:47:26 +0800 Subject: [PATCH] fix 分页工具 排序字段 null 处理 --- ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml index 87bdc63..94b161b 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml @@ -100,7 +100,7 @@ WHERE r.del_flag = '0' and ur.user_id = #{userId} </select> - <select id="selectRoleListByUserId" parameterType="Long" resultType="Integer"> + <select id="selectRoleListByUserId" parameterType="Long" resultType="Long"> select r.role_id from sys_role r left join sys_user_role ur on ur.role_id = r.role_id -- Gitblit v1.9.3