From 4e7650b1fc3749bb44dcab796fdd978beb610a8d Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期六, 04 一月 2025 14:05:30 +0800 Subject: [PATCH] 修改管理后台权限bug --- ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysRoleMapper.xml | 2 ++ ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysUserMapper.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysRoleMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysRoleMapper.xml index 5f7a306..51fa0ec 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysRoleMapper.xml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysRoleMapper.xml @@ -101,6 +101,7 @@ <if test="status != null and status != ''">status,</if> <if test="remark != null and remark != ''">remark,</if> <if test="createBy != null and createBy != ''">create_by,</if> + <if test="shopId != null and shopId != ''">shop_id,</if> create_time )values( <if test="roleId != null and roleId != 0">#{roleId},</if> @@ -110,6 +111,7 @@ <if test="status != null and status != ''">#{status},</if> <if test="remark != null and remark != ''">#{remark},</if> <if test="createBy != null and createBy != ''">#{createBy},</if> + <if test="shopId != null and shopId != ''">#{shopId},</if> sysdate() ) </insert> diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysUserMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysUserMapper.xml index a6316a3..6830f59 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysUserMapper.xml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysUserMapper.xml @@ -153,7 +153,7 @@ <if test="null != req.objectId"> and objectId = #{req.objectId} </if> - and del_flag = '0' and role_type =1 + and del_flag = '0' order by create_time desc </select> <select id="getAllList" resultType="com.ruoyi.system.api.domain.SysUser"> -- Gitblit v1.7.1