|
|
|
@@ -162,8 +162,9 @@ public class WxBillOtherDepositServiceImpl implements WxBillOtherDepositService |
|
|
|
wxBillOtherDeposit.setOwe(record.getReceivePay() - record.getPay()); |
|
|
|
if (record.getPay().equals(record.getReceivePay())) { |
|
|
|
wxBillOtherDeposit.setStatus(EnumBillRentStatus.PAID.getCode()); |
|
|
|
Date payDate = wxBillOtherDeposit.getPayDate(); |
|
|
|
Date payDate = record.getPayDate(); |
|
|
|
Date receiveDate = wxBillOtherDeposit.getReceiveDate(); |
|
|
|
wxBillOtherDeposit.setExpiredDay(0L); |
|
|
|
if (payDate.after(receiveDate)) { |
|
|
|
int expiredDay = DateUtils.daysBetween(receiveDate, payDate); |
|
|
|
wxBillOtherDeposit.setExpiredDay((long) expiredDay); |
|
|
|
|