|
|
|
@@ -183,8 +183,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
wxBillRent.setReceiveDate(time); |
|
|
|
} else {//截止收租日在当前时间之后 |
|
|
|
Calendar now = Calendar.getInstance(); |
|
|
|
now.add(Calendar.MONTH, receivePeriod.intValue() * i); |
|
|
|
now.add(Calendar.DAY_OF_MONTH, -1); |
|
|
|
now.add(Calendar.MONTH, receivePeriod.intValue()); |
|
|
|
Date currenttime = now.getTime(); |
|
|
|
//当前日期加上周期后小于截止收租日就是没有到期,否则当前待缴 |
|
|
|
if(currenttime.before(wxBillRent.getReceiveDate())){ |
|
|
|
|