From a3b34f9f092e1aeacfe6bd4c9e80b7464dcd5912 Mon Sep 17 00:00:00 2001 From: cjl <276999030@qq.com> Date: Tue, 07 Nov 2023 16:45:07 +0800 Subject: [PATCH] fix:小程序添加流程状态变更 --- screen-api/src/main/java/com/moral/api/pojo/vo/allocation/AllocationPageVo.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/screen-api/src/main/java/com/moral/api/pojo/vo/allocation/AllocationPageVo.java b/screen-api/src/main/java/com/moral/api/pojo/vo/allocation/AllocationPageVo.java index 3264fd6..a8c61e0 100644 --- a/screen-api/src/main/java/com/moral/api/pojo/vo/allocation/AllocationPageVo.java +++ b/screen-api/src/main/java/com/moral/api/pojo/vo/allocation/AllocationPageVo.java @@ -96,6 +96,8 @@ @ApiModelProperty(value = "������������������") private Integer applyState; + @ApiModelProperty(value = "������������") + private Integer isApprove; public static AllocationPageVo convert(AllocationPageExt allocationPageExt) { AllocationPageVo allocationPageVo = BeanConverts.convert(allocationPageExt, AllocationPageVo.class); @@ -107,7 +109,7 @@ } public Integer getResidueDay() { - int day = this.changeDay; + int day = Objects.isNull(this.changeDay)?0:this.changeDay; if(AllocationApproveEnum.UNDER_RECTIFICATION.value.equals(state)){ Date date = new Date(); int days = DateUtils.getDays(escalationTime, date); -- Gitblit v1.8.0