update 优化返回vo的boolean类型统一使用包装类

master
AprilWind 9 months ago
parent 878cd7e9f0
commit 9e78fcccf7

@ -60,6 +60,6 @@ public class ProcessEvent implements Serializable {
/**
* true
*/
private boolean submit;
private Boolean submit;
}

@ -25,7 +25,7 @@ public class MetaVo {
/**
* true <keep-alive>
*/
private boolean noCache;
private Boolean noCache;
/**
* http(s)://开头)
@ -37,7 +37,7 @@ public class MetaVo {
this.icon = icon;
}
public MetaVo(String title, String icon, boolean noCache) {
public MetaVo(String title, String icon, Boolean noCache) {
this.title = title;
this.icon = icon;
this.noCache = noCache;
@ -49,7 +49,7 @@ public class MetaVo {
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.icon = icon;
this.noCache = noCache;

@ -27,7 +27,7 @@ public class RouterVo {
/**
* true
*/
private boolean hidden;
private Boolean hidden;
/**
* 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);
}

@ -30,12 +30,12 @@ public class ButtonPermissionVo implements Serializable {
/**
*
*/
private boolean show;
private Boolean show;
public ButtonPermissionVo() {
}
public ButtonPermissionVo(String code, boolean show) {
public ButtonPermissionVo(String code, Boolean show) {
this.code = code;
this.show = show;
}

@ -177,7 +177,7 @@ public class FlowTaskVo implements Serializable {
/**
*
*/
private boolean applyNode;
private Boolean applyNode;
/**
*

Loading…
Cancel
Save