Pu Zhibing
2025-01-04 4e7650b1fc3749bb44dcab796fdd978beb610a8d
修改管理后台权限bug
2个文件已修改
4 ■■■ 已修改文件
ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysRoleMapper.xml 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-modules/ruoyi-system/src/main/resources/mapping/system/SysUserMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
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">