mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	菜单新增是否缓存keep-alive
This commit is contained in:
		@@ -41,6 +41,9 @@ public class SysMenu extends BaseEntity
 | 
			
		||||
    /** 是否为外链(0是 1否) */
 | 
			
		||||
    private String isFrame;
 | 
			
		||||
 | 
			
		||||
    /** 是否缓存(0缓存 1不缓存) */
 | 
			
		||||
    private String isCache;
 | 
			
		||||
 | 
			
		||||
    /** 类型(M目录 C菜单 F按钮) */
 | 
			
		||||
    private String menuType;
 | 
			
		||||
 | 
			
		||||
@@ -144,6 +147,16 @@ public class SysMenu extends BaseEntity
 | 
			
		||||
        this.isFrame = isFrame;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getIsCache()
 | 
			
		||||
    {
 | 
			
		||||
        return isCache;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public void setIsCache(String isCache)
 | 
			
		||||
    {
 | 
			
		||||
        this.isCache = isCache;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @NotBlank(message = "菜单类型不能为空")
 | 
			
		||||
    public String getMenuType()
 | 
			
		||||
    {
 | 
			
		||||
@@ -216,6 +229,7 @@ public class SysMenu extends BaseEntity
 | 
			
		||||
            .append("path", getPath())
 | 
			
		||||
            .append("component", getComponent())
 | 
			
		||||
            .append("isFrame", getIsFrame())
 | 
			
		||||
            .append("IsCache", getIsCache())
 | 
			
		||||
            .append("menuType", getMenuType())
 | 
			
		||||
            .append("visible", getVisible())
 | 
			
		||||
            .append("status ", getStatus())
 | 
			
		||||
 
 | 
			
		||||
@@ -37,10 +37,10 @@ public class SysRole extends BaseEntity
 | 
			
		||||
    @Excel(name = "数据范围", readConverterExp = "1=所有数据权限,2=自定义数据权限,3=本部门数据权限,4=本部门及以下数据权限")
 | 
			
		||||
    private String dataScope;
 | 
			
		||||
 | 
			
		||||
    /** 菜单树选择项是否关联显示(0:父子互相关联显示 1:父子不互相关联显示) */
 | 
			
		||||
    /** 菜单树选择项是否关联显示( 0:父子不互相关联显示 1:父子互相关联显示) */
 | 
			
		||||
    private boolean menuCheckStrictly;
 | 
			
		||||
 | 
			
		||||
    /** 部门树选择项是否关联显示(0:父子互相关联显示 1:父子不互相关联显示) */
 | 
			
		||||
    /** 部门树选择项是否关联显示(0:父子不互相关联显示 1:父子互相关联显示 ) */
 | 
			
		||||
    private boolean deptCheckStrictly;
 | 
			
		||||
 | 
			
		||||
    /** 角色状态(0正常 1停用) */
 | 
			
		||||
@@ -212,6 +212,8 @@ public class SysRole extends BaseEntity
 | 
			
		||||
            .append("roleKey", getRoleKey())
 | 
			
		||||
            .append("roleSort", getRoleSort())
 | 
			
		||||
            .append("dataScope", getDataScope())
 | 
			
		||||
            .append("menuCheckStrictly", isMenuCheckStrictly())
 | 
			
		||||
            .append("deptCheckStrictly", isDeptCheckStrictly())
 | 
			
		||||
            .append("status", getStatus())
 | 
			
		||||
            .append("delFlag", getDelFlag())
 | 
			
		||||
            .append("createBy", getCreateBy())
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user