update 优化 实体类统一使用包装类型

dev
疯狂的狮子Li 8 months ago
parent acb701ad59
commit 52295bdc20

@ -63,7 +63,7 @@ public class ProcessEvent extends RemoteApplicationEvent {
/** /**
* true * true
*/ */
private boolean submit; private Boolean submit;
public ProcessEvent() { public ProcessEvent() {
super(new Object(), SpringUtils.getApplicationName(), DEFAULT_DESTINATION_FACTORY.getDestination(null)); super(new Object(), SpringUtils.getApplicationName(), DEFAULT_DESTINATION_FACTORY.getDestination(null));

@ -31,7 +31,7 @@ public class MetaVo implements Serializable {
/** /**
* true <keep-alive> * true <keep-alive>
*/ */
private boolean noCache; private Boolean noCache;
/** /**
* http(s)://开头) * http(s)://开头)
@ -43,7 +43,7 @@ public class MetaVo implements Serializable {
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;
@ -55,7 +55,7 @@ public class MetaVo implements Serializable {
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;

@ -32,7 +32,7 @@ public class RouterVo implements Serializable {
/** /**
* true * true
*/ */
private boolean hidden; private Boolean hidden;
/** /**
* noRedirect * noRedirect

@ -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;
/** /**
* *

@ -159,7 +159,7 @@ public class TestLeaveServiceImpl implements ITestLeaveService {
// 办理意见 // 办理意见
String message = Convert.toStr(params.get("message")); String message = Convert.toStr(params.get("message"));
} }
if (processEvent.isSubmit()) { if (processEvent.getSubmit()) {
testLeave.setStatus(BusinessStatusEnum.WAITING.getStatus()); testLeave.setStatus(BusinessStatusEnum.WAITING.getStatus());
} }
baseMapper.updateById(testLeave); baseMapper.updateById(testLeave);

Loading…
Cancel
Save