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 53f483357..2e128c251 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -674,7 +674,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService } wxBillProperty.setNeedPay(needpay); - wxBillProperty.setOwe(needpay); + wxBillProperty.setOwe(0L); wxBillProperty.setReceivePay(needpay); //截止收租日在当前时间之前 @@ -682,6 +682,7 @@ 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); @@ -695,7 +696,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService wxBillProperty.setExpiredDay(0L); } } - + wxBillProperty.setRevenue(0L); wxBillProperty.setTenantId(wxMerchant.getTenantId()); wxBillProperty.setIsDel(0); wxBillProperty.setMerchantId(wxMerchant.getId()); 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 b6aa38928..45b29a9cd 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -1065,7 +1065,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { } wxBillRent.setNeedPay(needpay); - wxBillRent.setOwe(needpay); + wxBillRent.setOwe(0L); wxBillRent.setReceivePay(needpay); //截止收租日在当前时间之前 @@ -1073,6 +1073,7 @@ 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);