From a022ae9804d0c2f402711b6b5202319d853919cf Mon Sep 17 00:00:00 2001 From: cjl <909710561@qq.com> Date: Fri, 09 Aug 2024 13:38:47 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into cjl --- screen-api/src/main/java/com/moral/api/pojo/vo/allocation/AllocationPageVo.java | 5 ++++- 1 files changed, 4 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 7aede07..845e3a3 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 @@ -99,6 +99,9 @@ @ApiModelProperty(value = "������������") private Integer isApprove; + @ApiModelProperty(value = "pc���������������������") + private String isCode; + public static AllocationPageVo convert(AllocationPageExt allocationPageExt) { AllocationPageVo allocationPageVo = BeanConverts.convert(allocationPageExt, AllocationPageVo.class); return allocationPageVo; @@ -109,7 +112,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