From 471f693ac87a6ed6a2b00e93472b025266c0271f Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Mon, 13 Nov 2023 09:27:19 +0800
Subject: [PATCH] Merge branch 'wb' of http://blit.7drlb.com:8888/r/moral into qa

---
 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