|
|
@ -91,13 +91,12 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
record.put("sign_channel", channel);
|
|
|
|
record.put("sign_channel", channel);
|
|
|
|
record.put("confirm_time", now);
|
|
|
|
record.put("confirm_time", now);
|
|
|
|
record.put("expiry_date", DateUtils.addYears(now, 1));
|
|
|
|
record.put("expiry_date", DateUtils.addYears(now, 1));
|
|
|
|
record.put("sign_channel", channel);
|
|
|
|
|
|
|
|
record.put("signatory", account.getString("display_name"));
|
|
|
|
record.put("signatory", account.getString("display_name"));
|
|
|
|
clientsContractMapper.save(record);
|
|
|
|
clientsContractMapper.save(record);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
getOrGenerateSourceAgreement(client_id, channel);
|
|
|
|
getOrGenerateSourceAgreement(client_id, channel);
|
|
|
|
logger.info("confirmSourceAgreement+account_id"+account_id);
|
|
|
|
logger.info("confirmSourceAgreement+client_id+client_id"+client_id+","+account_id);
|
|
|
|
contract.put("has_sign", 1);
|
|
|
|
contract.put("has_sign", 1);
|
|
|
|
contract.put("sign_account_id", account_id);
|
|
|
|
contract.put("sign_account_id", account_id);
|
|
|
|
contract.put("sign_channel", channel);
|
|
|
|
contract.put("sign_channel", channel);
|
|
|
|