From 844e8b2f777b22f879be8f22d1224169c6a85e74 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 07 二月 2022 23:37:47 +0800 Subject: [PATCH] fix 修复 insertOrUpdateBatch 获取错误 class 类 --- ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml | 10 +--------- 1 files changed, 1 insertions(+), 9 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..15f94f3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml @@ -60,10 +60,6 @@ <if test="role.params.endTime != null and role.params.endTime != ''"><!-- 缁撴潫鏃堕棿妫�绱� --> and date_format(r.create_time,'%y%m%d') <= date_format(#{role.params.endTime},'%y%m%d') </if> - <!-- 鏁版嵁鑼冨洿杩囨护 --> - <if test="role.params.dataScope != null and role.params.dataScope != ''"> - AND ( ${role.params.dataScope} ) - </if> order by r.role_sort </select> @@ -88,10 +84,6 @@ <if test="params.endTime != null and params.endTime != ''"><!-- 缁撴潫鏃堕棿妫�绱� --> and date_format(r.create_time,'%y%m%d') <= date_format(#{params.endTime},'%y%m%d') </if> - <!-- 鏁版嵁鑼冨洿杩囨护 --> - <if test="params.dataScope != null and params.dataScope != ''"> - AND ( ${params.dataScope} ) - </if> order by r.role_sort </select> @@ -100,7 +92,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