|
|
@ -169,6 +169,7 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
int waringDays = sysConfigManager.getSysConfig().getIntValue("rate_warning_days");
|
|
|
|
int waringDays = sysConfigManager.getSysConfig().getIntValue("rate_warning_days");
|
|
|
|
rateInfo.forEach((p) -> {
|
|
|
|
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) {
|
|
|
|
if (now.compareTo(DateUtils.addDays(p.getDate("expiry_time"),1)) > -1) {
|
|
|
|
result.put("rate_expire", true);
|
|
|
|
result.put("rate_expire", true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|