master
wangning 7 years ago
parent bcaa7a85ff
commit 3b056b4092

@ -169,6 +169,7 @@ public class ClientContractServiceImpl implements ClientContractService {
}
int waringDays = sysConfigManager.getSysConfig().getIntValue("rate_warning_days");
rateInfo.forEach((p) -> {
logger.debug("kirawang__now:"+now+"_____expiryTime+1:"+DateUtils.addDays(p.getDate("expiry_time"),1)+"______expiryTime:"+p.getDate("expiry_time")+"_____now+7:"+DateUtils.addDays(now, waringDays));
if (now.compareTo(DateUtils.addDays(p.getDate("expiry_time"),1)) > -1) {
result.put("rate_expire", true);
}

Loading…
Cancel
Save