|
|
|
@@ -343,7 +343,6 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService |
|
|
|
WxBillProperty wxBillProperty = new WxBillProperty(); |
|
|
|
wxBillProperty.setId(idWorker.nextId()); |
|
|
|
wxBillProperty.setPropertyContractId(wxPropertyContract.getId()); |
|
|
|
wxBillProperty.setReceivePay(0); |
|
|
|
wxBillProperty.setPay(0); |
|
|
|
|
|
|
|
Date date = new Date(); |
|
|
|
@@ -382,6 +381,8 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService |
|
|
|
} |
|
|
|
wxBillProperty.setNeedPay(needpay); |
|
|
|
wxBillProperty.setOwe(needpay); |
|
|
|
wxBillProperty.setReceivePay(needpay); |
|
|
|
|
|
|
|
//截止收租日在当前时间之前 |
|
|
|
if (wxBillProperty.getReceiveDate().before(date)) { |
|
|
|
long day = (time.getTime() - date.getTime()) / (24 * 60 * 60 * 1000); |
|
|
|
|