|
@@ -315,7 +315,7 @@ public class RtrServerImpl implements RtrServer {
|
|
|
items.add(df);
|
|
items.add(df);
|
|
|
body.put("ITEMS", items);
|
|
body.put("ITEMS", items);
|
|
|
log.info("销售计提推送 SAP, {}", JSON.toJSONString(body));
|
|
log.info("销售计提推送 SAP, {}", JSON.toJSONString(body));
|
|
|
- String rsp = HttpUtil.post(JT_sapUrl, null, JSON.toJSONString(body), null);
|
|
|
|
|
|
|
+ String rsp = HttpUtil.post(JT_sapUrl + "&ZUPDNR=" + body.get("ZUPDNR"), null, JSON.toJSONString(body), null);
|
|
|
log.info("销售计提 SAP 响应, {}", rsp);
|
|
log.info("销售计提 SAP 响应, {}", rsp);
|
|
|
List<Map> result = JSON.parseArray(rsp, Map.class);
|
|
List<Map> result = JSON.parseArray(rsp, Map.class);
|
|
|
McException.assertAccessException(result.isEmpty(), "Sap接口请求异常, 返回空集合, 需重新推送.");
|
|
McException.assertAccessException(result.isEmpty(), "Sap接口请求异常, 返回空集合, 需重新推送.");
|