From 06a5f91f1d621cb331ccb41c4ae975b2a949fbbf Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期五, 06 九月 2024 18:23:06 +0800 Subject: [PATCH] 修改 --- ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml index c362365..930a2b8 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysRoleMapper.xml @@ -19,8 +19,6 @@ <result property="updateBy" column="update_by" /> <result property="updateTime" column="update_time" /> <result property="remark" column="remark" /> - <result property="removeDays" column="removeDays" /> - <result property="postType" column="postType" /> </resultMap> <sql id="selectRoleVo"> @@ -98,7 +96,7 @@ <select id="selectList" resultType="com.ruoyi.common.core.domain.entity.SysRole"> select role_id AS roleId, role_name AS roleName, role_key AS roleKey, role_sort AS roleSort, data_scope AS dataScope, menu_check_strictly AS menuCheckStrictly, dept_check_strictly AS deptCheckStrictly,status AS status, del_flag AS delFlag, - create_time AS createTime,create_by AS createBy,postType AS postType,removeDays AS removeDays + create_time AS createTime,create_by AS createBy from sys_role <where> <if test="query.roleName != null and query.roleName != ''"> @@ -122,7 +120,7 @@ <select id="selectListByDelFlag" resultType="com.ruoyi.common.core.domain.entity.SysRole"> select role_id AS roleId, role_name AS roleName, role_key AS roleKey, role_sort AS roleSort, data_scope AS dataScope, menu_check_strictly AS menuCheckStrictly, dept_check_strictly AS deptCheckStrictly,status AS status, del_flag AS delFlag, - create_time AS createTime,create_by AS createBy,postType AS postType,removeDays AS removeDays + create_time AS createTime,create_by AS createBy from sys_role where del_flag = 0 </select> @@ -152,8 +150,6 @@ <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="removeDays != null">removeDays,</if> - <if test="postType != null">postType,</if> create_time )values( <if test="roleId != null and roleId != 0">#{roleId},</if> @@ -166,8 +162,6 @@ <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="removeDays != null">#{removeDays},</if> - <if test="postType != null">#{postType},</if> sysdate() ) </insert> @@ -184,8 +178,6 @@ <if test="status != null and status != ''">status = #{status},</if> <if test="remark != null">remark = #{remark},</if> <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> - <if test="removeDays != null">removeDays = #{removeDays},</if> - <if test="postType != null">postType = #{postType},</if> update_time = sysdate() </set> where role_id = #{roleId} -- Gitblit v1.7.1