update 优化返回vo的boolean类型统一使用包装类
This commit is contained in:
parent
878cd7e9f0
commit
9e78fcccf7
@ -60,6 +60,6 @@ public class ProcessEvent implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 当为true时为申请人节点办理
|
* 当为true时为申请人节点办理
|
||||||
*/
|
*/
|
||||||
private boolean submit;
|
private Boolean submit;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ public class MetaVo {
|
|||||||
/**
|
/**
|
||||||
* 设置为true,则不会被 <keep-alive>缓存
|
* 设置为true,则不会被 <keep-alive>缓存
|
||||||
*/
|
*/
|
||||||
private boolean noCache;
|
private Boolean noCache;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 内链地址(http(s)://开头)
|
* 内链地址(http(s)://开头)
|
||||||
@ -37,7 +37,7 @@ public class MetaVo {
|
|||||||
this.icon = icon;
|
this.icon = icon;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MetaVo(String title, String icon, boolean noCache) {
|
public MetaVo(String title, String icon, Boolean noCache) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
this.icon = icon;
|
this.icon = icon;
|
||||||
this.noCache = noCache;
|
this.noCache = noCache;
|
||||||
@ -49,7 +49,7 @@ public class MetaVo {
|
|||||||
this.link = link;
|
this.link = link;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MetaVo(String title, String icon, boolean noCache, String link) {
|
public MetaVo(String title, String icon, Boolean noCache, String link) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
this.icon = icon;
|
this.icon = icon;
|
||||||
this.noCache = noCache;
|
this.noCache = noCache;
|
||||||
|
@ -27,7 +27,7 @@ public class RouterVo {
|
|||||||
/**
|
/**
|
||||||
* 是否隐藏路由,当设置 true 的时候该路由不会再侧边栏出现
|
* 是否隐藏路由,当设置 true 的时候该路由不会再侧边栏出现
|
||||||
*/
|
*/
|
||||||
private boolean hidden;
|
private Boolean hidden;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 重定向地址,当设置 noRedirect 的时候该路由在面包屑导航中不可被点击
|
* 重定向地址,当设置 noRedirect 的时候该路由在面包屑导航中不可被点击
|
||||||
|
@ -91,9 +91,9 @@ public class SysRoleVo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 用户是否存在此角色标识 默认不存在
|
* 用户是否存在此角色标识 默认不存在
|
||||||
*/
|
*/
|
||||||
private boolean flag = false;
|
private Boolean flag = false;
|
||||||
|
|
||||||
public boolean isSuperAdmin() {
|
public Boolean isSuperAdmin() {
|
||||||
return SystemConstants.SUPER_ADMIN_ID.equals(this.roleId);
|
return SystemConstants.SUPER_ADMIN_ID.equals(this.roleId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,12 +30,12 @@ public class ButtonPermissionVo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 是否显示
|
* 是否显示
|
||||||
*/
|
*/
|
||||||
private boolean show;
|
private Boolean show;
|
||||||
|
|
||||||
public ButtonPermissionVo() {
|
public ButtonPermissionVo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public ButtonPermissionVo(String code, boolean show) {
|
public ButtonPermissionVo(String code, Boolean show) {
|
||||||
this.code = code;
|
this.code = code;
|
||||||
this.show = show;
|
this.show = show;
|
||||||
}
|
}
|
||||||
|
@ -177,7 +177,7 @@ public class FlowTaskVo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 是否为申请人节点
|
* 是否为申请人节点
|
||||||
*/
|
*/
|
||||||
private boolean applyNode;
|
private Boolean applyNode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 按钮权限
|
* 按钮权限
|
||||||
|
Loading…
x
Reference in New Issue
Block a user