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

This reverts commit 9e78fcccf7.
master
AprilWind 10 months ago
parent 9e78fcccf7
commit d456ff64f1

@ -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…
Cancel
Save