|
|
|
@ -78,6 +78,8 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
|
if (contract != null && contract.getBoolean("has_sign")) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getOrGenerateSourceAgreement(client_id, channel);
|
|
|
|
|
Date now = new Date();
|
|
|
|
|
JSONObject account = clientAccountMapper.findById(account_id);
|
|
|
|
|
contract.put("has_sign", 1);
|
|
|
|
@ -86,7 +88,6 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
|
contract.put("confirm_time", now);
|
|
|
|
|
contract.put("signatory", account.getString("display_name"));
|
|
|
|
|
clientsContractMapper.update(contract);
|
|
|
|
|
getOrGenerateSourceAgreement(client_id, channel);
|
|
|
|
|
clientManager.setClientTaxInSurcharge(client.getString("client_moniker"), false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|