供应商优化

This commit is contained in:
itzhang 2025-06-30 12:38:31 +08:00
parent 1e8f2ec6d3
commit d7ef48fed4

View File

@ -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();