备料计划修改请求报文结构

This commit is contained in:
李正@用友 2025-05-26 09:57:27 +08:00
parent a3447b46b6
commit 54c91365bd
1 changed files with 1 additions and 3 deletions

View File

@ -114,7 +114,6 @@ public class AfterApproveRuleSyncRZWMS implements IRule<AggPickmVO> {
private void pushToRZMOM(AggPickmVO[] aggPickmVOS) throws BusinessException {
String rzwmsip = SysInitQuery.getParaString("GLOBLE00000000000000", "RZWMSIP");
JSONObject jsonObject = new JSONObject();
JSONObject data = new JSONObject();
JSONObject dataIn = new JSONObject();
JSONObject dataIn2 = new JSONObject();
JSONArray details = new JSONArray();
@ -128,8 +127,7 @@ public class AfterApproveRuleSyncRZWMS implements IRule<AggPickmVO> {
}
dataIn2.put("Details", details);
dataIn.put("Data", dataIn2);
data.put("data", dataIn);
jsonObject.put("data", data);
jsonObject.put("data", dataIn);
log.error("生产BOW推送锐制请求报文" + jsonObject.toJSONString());
String result = ThirdPartyPostRequestUtil.sendPostRequest(rzwmsip, jsonObject.toJSONString());
JSONObject resultObj = JSONObject.parseObject(result);