供应商优化
This commit is contained in:
parent
1e8f2ec6d3
commit
d7ef48fed4
@ -419,18 +419,18 @@ public class VendorController {
|
||||
backReqMap.put("response_status__c", "更新失败:" + vendorERPRes.getString("message"));
|
||||
}
|
||||
|
||||
//开始回写
|
||||
JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
||||
|
||||
JSONObject backRes = new JSONObject();
|
||||
|
||||
try {
|
||||
backRes = restTemplate.postForObject(URLConstant.UPDATE_CRM_CUSTOMIZE, backReq, JSONObject.class);
|
||||
} catch (RestClientException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
System.out.println("回写结果为:" + backRes);
|
||||
// //开始回写
|
||||
// JSONObject backReq = crmRequestUtil.updateCRM(backReqMap);
|
||||
//
|
||||
// JSONObject backRes = new JSONObject();
|
||||
//
|
||||
// try {
|
||||
// backRes = restTemplate.postForObject(URLConstant.UPDATE_CRM_CUSTOMIZE, backReq, JSONObject.class);
|
||||
// } catch (RestClientException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
//
|
||||
// System.out.println("回写结果为:" + backRes);
|
||||
|
||||
//开始记录日志
|
||||
JSONObject logRes = new JSONObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user