rollback 'system_type' from menu class

This commit is contained in:
weiweiw 2024-07-26 14:57:42 +08:00
parent 0377d4af39
commit a911e8b162
2 changed files with 15 additions and 15 deletions

View File

@ -68,8 +68,8 @@ public class SysMenu extends BaseEntity
/** 子菜单 */
private List<SysMenu> children = new ArrayList<SysMenu>();
/** 系统类型 */
private String systemType;
// /** 系统类型 */
// private String systemType;
public Long getMenuId()
{
@ -238,13 +238,13 @@ public class SysMenu extends BaseEntity
this.children = children;
}
public String getSystemType() {
return systemType;
}
public void setSystemType(String systemType) {
this.systemType = systemType;
}
// public String getSystemType() {
// return systemType;
// }
//
// public void setSystemType(String systemType) {
// this.systemType = systemType;
// }
@Override
public String toString() {
@ -267,7 +267,7 @@ public class SysMenu extends BaseEntity
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("systemType", getSystemType())
// .append("systemType", getSystemType())
.toString();
}
}

View File

@ -25,11 +25,11 @@
<result property="updateTime" column="update_time" />
<result property="updateBy" column="update_by" />
<result property="remark" column="remark" />
<result property="systemType" column="system_type"/>
<!-- <result property="systemType" column="system_type"/>-->
</resultMap>
<sql id="selectMenuVo">
select menu_id, menu_name, parent_id, order_num, path, component, `query`, is_frame, is_cache, menu_type, visible, status, ifnull(perms,'') as perms, icon, create_time,system_type
select menu_id, menu_name, parent_id, order_num, path, component, `query`, is_frame, is_cache, menu_type, visible, status, ifnull(perms,'') as perms, icon, create_time
from sys_menu
</sql>
@ -151,7 +151,7 @@
<if test="icon !=null and icon != ''">icon = #{icon},</if>
<if test="remark != null and remark != ''">remark = #{remark},</if>
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
<if test="systemType != null and systemType != ''">system_type = #{systemType},</if>
<!-- <if test="systemType != null and systemType != ''">system_type = #{systemType},</if>-->
update_time = sysdate()
</set>
where menu_id = #{menuId}
@ -175,7 +175,7 @@
<if test="icon != null and icon != ''">icon,</if>
<if test="remark != null and remark != ''">remark,</if>
<if test="createBy != null and createBy != ''">create_by,</if>
<if test="systemType != null and systemType != ''">system_type,</if>
<!-- <if test="systemType != null and systemType != ''">system_type,</if>-->
create_time
)values(
<if test="menuId != null and menuId != 0">#{menuId},</if>
@ -194,7 +194,7 @@
<if test="icon != null and icon != ''">#{icon},</if>
<if test="remark != null and remark != ''">#{remark},</if>
<if test="createBy != null and createBy != ''">#{createBy},</if>
<if test="systemType != null and systemType != ''">#{systemType},</if>
<!-- <if test="systemType != null and systemType != ''">#{systemType},</if>-->
sysdate()
)
</insert>