|
|
@ -124,6 +124,11 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
saveContract(client_id, new Date(), channel);
|
|
|
|
saveContract(client_id, new Date(), channel);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
JSONObject contract = clientsContractMapper.findByClientId(client_id);
|
|
|
|
|
|
|
|
if (contract == null) {
|
|
|
|
|
|
|
|
saveContract(client_id, new Date(), channel);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (client.getBooleanValue("tax_in_surcharge")) {
|
|
|
|
if (client.getBooleanValue("tax_in_surcharge")) {
|
|
|
|
result.put("alert", true);
|
|
|
|
result.put("alert", true);
|
|
|
|