eason.qian 7 years ago
parent 7324b3a099
commit c29235de78

@ -375,7 +375,7 @@ public class PartnerViewController {
return clientManager.getCheckClientInfo(account.getIntValue("client_id"),account.getString("account_id"),"PC"); return clientManager.getCheckClientInfo(account.getIntValue("client_id"),account.getString("account_id"),"PC");
} }
@PartnerMapping(value = "/agree/confirm", method = RequestMethod.POST) @PartnerMapping(value = "/agree/confirm", method = RequestMethod.POST,roles = PartnerRole.ADMIN)
@ResponseBody @ResponseBody
public void confirmSourceAgreeFile(@ModelAttribute(CommonConsts.PARTNER_STATUS) JSONObject account) { public void confirmSourceAgreeFile(@ModelAttribute(CommonConsts.PARTNER_STATUS) JSONObject account) {
clientContractService.confirmSourceAgreement(account.getIntValue("client_id"),account.getString("account_id"),"PC"); clientContractService.confirmSourceAgreement(account.getIntValue("client_id"),account.getString("account_id"),"PC");

@ -83,6 +83,7 @@ public class ClientContractServiceImpl implements ClientContractService {
getOrGenerateSourceAgreement(client_id, channel); getOrGenerateSourceAgreement(client_id, channel);
Date now = new Date(); Date now = new Date();
logger.info("confirmSourceAgreement+account_id"+account_id);
JSONObject account = clientAccountMapper.findById(account_id); JSONObject account = clientAccountMapper.findById(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);

Loading…
Cancel
Save