|
|
|
@ -52,7 +52,7 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
|
JSONObject expireInfo = getClientContractExpire(client_id);
|
|
|
|
|
JSONObject contract = clientsContractMapper.findByClientId(client_id);
|
|
|
|
|
Date now = new Date();
|
|
|
|
|
if (contract == null || now.compareTo(contract.getDate("expiry_date")) > 0) {
|
|
|
|
|
if (expireInfo.getBoolean("rate_waring") && (contract == null || now.compareTo(contract.getDate("expiry_date")) > 0)) {
|
|
|
|
|
try {
|
|
|
|
|
clientManager.getAggregateAgreeFile(client.getString("client_moniker"), null,true);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|