eason.qian 7 years ago
parent e19804786b
commit b1bb48e5fe

@ -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);

Loading…
Cancel
Save