去掉了合同的上锁功能
This commit is contained in:
parent
d1d9cd711c
commit
4d72ebc303
@ -397,17 +397,6 @@ public class FrameContractController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
System.out.println("回写结果为:" + backRes);
|
System.out.println("回写结果为:" + backRes);
|
||||||
//上锁
|
|
||||||
log.info("上锁");
|
|
||||||
|
|
||||||
JSONObject lockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
lockRes = restTemplate.postForObject(URLConstant.LOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("上锁" + lockRes);
|
|
||||||
|
|
||||||
//开始记录日志
|
//开始记录日志
|
||||||
JSONObject logRes = new JSONObject();
|
JSONObject logRes = new JSONObject();
|
||||||
@ -653,19 +642,6 @@ public class FrameContractController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//开始回写
|
//开始回写
|
||||||
JSONObject unlockReq = crmRequestUtil.unlockCRM(frameContractBGData.getString("original_data"), "framework_contract__c");
|
|
||||||
//解锁
|
|
||||||
log.info("解锁");
|
|
||||||
|
|
||||||
JSONObject unlockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
unlockRes = restTemplate.postForObject(URLConstant.UNLOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("解锁" + unlockRes);
|
|
||||||
|
|
||||||
JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
||||||
|
|
||||||
JSONObject backRes = new JSONObject();
|
JSONObject backRes = new JSONObject();
|
||||||
@ -677,17 +653,6 @@ public class FrameContractController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
System.out.println("回写结果为:" + backRes);
|
System.out.println("回写结果为:" + backRes);
|
||||||
//上锁
|
|
||||||
log.info("上锁");
|
|
||||||
|
|
||||||
JSONObject lockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
lockRes = restTemplate.postForObject(URLConstant.LOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("上锁" + lockRes);
|
|
||||||
|
|
||||||
//开始记录日志
|
//开始记录日志
|
||||||
JSONObject logRes = new JSONObject();
|
JSONObject logRes = new JSONObject();
|
||||||
|
@ -330,17 +330,6 @@ public class PreContractController {
|
|||||||
|
|
||||||
System.out.println("回写结果为:" + backRes);
|
System.out.println("回写结果为:" + backRes);
|
||||||
|
|
||||||
log.info("上锁");
|
|
||||||
JSONObject lockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
lockRes = restTemplate.postForObject(URLConstant.LOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println("上锁" + lockRes);
|
|
||||||
|
|
||||||
//开始记录日志
|
//开始记录日志
|
||||||
JSONObject logRes = new JSONObject();
|
JSONObject logRes = new JSONObject();
|
||||||
try {
|
try {
|
||||||
@ -584,19 +573,6 @@ public class PreContractController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//开始回写
|
//开始回写
|
||||||
JSONObject unlockReq = crmRequestUtil.unlockCRM(preContractBGData.getString("original_data"), "pre_signed_contract__c");
|
|
||||||
//解锁
|
|
||||||
log.info("解锁");
|
|
||||||
|
|
||||||
JSONObject unlockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
unlockRes = restTemplate.postForObject(URLConstant.UNLOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("解锁" + unlockRes);
|
|
||||||
|
|
||||||
JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
||||||
|
|
||||||
JSONObject backRes = new JSONObject();
|
JSONObject backRes = new JSONObject();
|
||||||
@ -608,17 +584,6 @@ public class PreContractController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
System.out.println("回写结果为:" + backRes);
|
System.out.println("回写结果为:" + backRes);
|
||||||
//上锁
|
|
||||||
log.info("上锁");
|
|
||||||
|
|
||||||
JSONObject lockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
lockRes = restTemplate.postForObject(URLConstant.LOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("上锁" + lockRes);
|
|
||||||
|
|
||||||
//开始记录日志
|
//开始记录日志
|
||||||
JSONObject logRes = new JSONObject();
|
JSONObject logRes = new JSONObject();
|
||||||
|
@ -533,17 +533,6 @@ public class XSHTController {
|
|||||||
|
|
||||||
System.out.println("回写结果为:" + backRes);
|
System.out.println("回写结果为:" + backRes);
|
||||||
|
|
||||||
log.info("上锁");
|
|
||||||
JSONObject lockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
lockRes = restTemplate.postForObject(URLConstant.LOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println("上锁" + lockRes);
|
|
||||||
|
|
||||||
logMap.put("send_memo", JSON.toJSONString(backRes));
|
logMap.put("send_memo", JSON.toJSONString(backRes));
|
||||||
|
|
||||||
//开始记录日志
|
//开始记录日志
|
||||||
@ -978,18 +967,6 @@ public class XSHTController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//开始回写
|
//开始回写
|
||||||
JSONObject unlockReq = crmRequestUtil.unlockCRM(contractBGData.getString("original_data"), "SaleContractObj");
|
|
||||||
//解锁
|
|
||||||
log.info("解锁");
|
|
||||||
|
|
||||||
JSONObject unlockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
unlockRes = restTemplate.postForObject(URLConstant.UNLOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("解锁" + unlockRes);
|
|
||||||
|
|
||||||
JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
||||||
|
|
||||||
@ -1003,18 +980,6 @@ public class XSHTController {
|
|||||||
|
|
||||||
System.out.println("回写结果为:" + backRes);
|
System.out.println("回写结果为:" + backRes);
|
||||||
|
|
||||||
//上锁
|
|
||||||
log.info("上锁");
|
|
||||||
|
|
||||||
JSONObject lockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
lockRes = restTemplate.postForObject(URLConstant.LOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
System.out.println("上锁" + lockRes);
|
|
||||||
|
|
||||||
//开始记录日志
|
//开始记录日志
|
||||||
JSONObject logRes = new JSONObject();
|
JSONObject logRes = new JSONObject();
|
||||||
try {
|
try {
|
||||||
@ -1181,17 +1146,6 @@ public class XSHTController {
|
|||||||
|
|
||||||
System.out.println("回写结果为:" + backRes);
|
System.out.println("回写结果为:" + backRes);
|
||||||
|
|
||||||
log.info("上锁");
|
|
||||||
JSONObject lockRes = new JSONObject();
|
|
||||||
|
|
||||||
try {
|
|
||||||
lockRes = restTemplate.postForObject(URLConstant.LOCK_CRM_URL, unlockReq, JSONObject.class);
|
|
||||||
} catch (RestClientException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
|
|
||||||
System.out.println("上锁" + lockRes);
|
|
||||||
|
|
||||||
//开始记录日志
|
//开始记录日志
|
||||||
JSONObject logRes = new JSONObject();
|
JSONObject logRes = new JSONObject();
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user