|
|
|
@ -87,7 +87,7 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@Transactional
|
|
|
|
|
public void confirmSourceAgreement(int client_id,String account_id) {
|
|
|
|
|
public void confirmSourceAgreement(int client_id,String account_id,String channel) {
|
|
|
|
|
JSONObject client = clientManager.getClientInfo(client_id);
|
|
|
|
|
if (client == null) {
|
|
|
|
|
throw new NotFoundException("merchant not found");
|
|
|
|
@ -106,6 +106,7 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
|
|
|
|
|
|
contract.put("has_sign", 1);
|
|
|
|
|
contract.put("sign_account_id",account_id);
|
|
|
|
|
contract.put("sign_channel",channel);
|
|
|
|
|
contract.put("signatory",account.getString("display_name"));
|
|
|
|
|
clientsContractMapper.update(contract);
|
|
|
|
|
Date now = new Date();
|
|
|
|
|