|
|
|
@@ -1047,6 +1047,9 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
if (payDate.after(receiveDate)) { |
|
|
|
int expiredDay = DateUtils.daysBetween(receiveDate, payDate); |
|
|
|
daily.setExpiredDay((long) expiredDay); |
|
|
|
daily.setStatus(EnumBillRentStatus.NOT_PAID.getCode()); |
|
|
|
} else { |
|
|
|
daily.setStatus(EnumBillRentStatus.WAIT_PAY.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
daily.setReceivePay(receivePay); |
|
|
|
@@ -1125,6 +1128,9 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
if (payDate.after(receiveDate)) { |
|
|
|
int expiredDay = DateUtils.daysBetween(receiveDate, payDate); |
|
|
|
other.setExpiredDay((long) expiredDay); |
|
|
|
other.setStatus(EnumBillRentStatus.NOT_PAID.getCode()); |
|
|
|
} else { |
|
|
|
other.setStatus(EnumBillRentStatus.WAIT_PAY.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
other.setReceivePay(receivePay); |
|
|
|
@@ -1206,6 +1212,9 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
if (payDate.after(receiveDate)) { |
|
|
|
int expiredDay = DateUtils.daysBetween(receiveDate, payDate); |
|
|
|
otherDeposit.setExpiredDay((long) expiredDay); |
|
|
|
otherDeposit.setStatus(EnumBillRentStatus.NOT_PAID.getCode()); |
|
|
|
} else { |
|
|
|
otherDeposit.setStatus(EnumBillRentStatus.WAIT_PAY.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
otherDeposit.setReceivePay(receivePay); |
|
|
|
@@ -1300,6 +1309,9 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
if (payDate.after(receiveDate)) { |
|
|
|
int expiredDay = DateUtils.daysBetween(receiveDate, payDate); |
|
|
|
rent.setExpiredDay((long) expiredDay); |
|
|
|
rent.setStatus(EnumBillRentStatus.NOT_PAID.getCode()); |
|
|
|
} else { |
|
|
|
rent.setStatus(EnumBillRentStatus.WAIT_PAY.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
rent.setPay(rent.getPay() + pay); |
|
|
|
@@ -1333,6 +1345,9 @@ public class WxBillAllServiceImpl implements WxBillAllService { |
|
|
|
if (payDate.after(receiveDate)) { |
|
|
|
int expiredDay = DateUtils.daysBetween(receiveDate, payDate); |
|
|
|
property.setExpiredDay((long) expiredDay); |
|
|
|
property.setStatus(EnumBillRentStatus.NOT_PAID.getCode()); |
|
|
|
} else { |
|
|
|
property.setStatus(EnumBillRentStatus.WAIT_PAY.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|
property.setPay(property.getPay() + pay); |
|
|
|
|