From cb5ce08a3b0300e062c132b433158556fbc1c12a Mon Sep 17 00:00:00 2001 From: gongbiao Date: Thu, 16 May 2019 13:52:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=9F=E8=B5=81=E4=B8=8E=E7=89=A9=E4=B8=9A?= =?UTF-8?q?=E8=B4=A6=E5=8D=95][=E4=BF=AE=E6=94=B9[=E6=AC=A0=E7=BC=B4?= =?UTF-8?q?=E8=B5=8B=E5=80=BC]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/impl/WxPropertyContractServiceImpl.java | 3 +-- .../com/iformall/service/impl/WxRentContractServiceImpl.java | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java index c65587309..7098c319a 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -679,7 +679,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService } wxBillProperty.setNeedPay(needpay); - wxBillProperty.setOwe(0L); + wxBillProperty.setOwe(needpay); wxBillProperty.setReceivePay(needpay); //截止收租日在当前时间之前 @@ -687,7 +687,6 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService long day = (time.getTime() - date.getTime()) / (24 * 60 * 60 * 1000); wxBillProperty.setStatus(EnumBillRentStatus.NOT_PAID.getCode()); wxBillProperty.setExpiredDay(day); - wxBillProperty.setOwe(needpay); } else {//截止收租日在当前时间之后 Calendar now = Calendar.getInstance(); now.add(dayType, receivePeriod); diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java index 1e8c85e84..4ddcfde6b 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -42,7 +42,6 @@ import java.net.URL; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.*; -import java.util.stream.Collectors; /** * @author gongbiao @@ -1083,7 +1082,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { } wxBillRent.setNeedPay(needpay); - wxBillRent.setOwe(0L); + wxBillRent.setOwe(needpay); wxBillRent.setReceivePay(needpay); //截止收租日在当前时间之前 @@ -1091,7 +1090,6 @@ public class WxRentContractServiceImpl implements WxRentContractService { long day = (time.getTime() - date.getTime()) / (24 * 60 * 60 * 1000); wxBillRent.setStatus(EnumBillRentStatus.NOT_PAID.getCode()); wxBillRent.setExpiredDay(day); - wxBillRent.setOwe(needpay); } else {//截止收租日在当前时间之后 Calendar now = Calendar.getInstance(); now.add(dayType, receivePeriod);