fix:修改日志

This commit is contained in:
郭飞 2025-03-11 17:28:59 +08:00
parent c41bacf548
commit 6c6a8a2a73

View File

@ -1537,6 +1537,7 @@ public class InvoiceServiceImpl implements InvoiceService {
}
// log.info("SendTOSAP >>>>" + sendData);
String dataString = sendData.toJSONString();
String sapreturn = toSAPMessageUtil.sendHttpPost(toSAPMessageUtil.materialChangeLocationUrl, "", sendData.toJSONString());
org.json.JSONObject receiveJsonObject = new org.json.JSONObject(sapreturn);
org.json.JSONObject returnJsonObject = (org.json.JSONObject) receiveJsonObject.get("RETURN");
@ -1553,6 +1554,7 @@ public class InvoiceServiceImpl implements InvoiceService {
erplog.setEventName("生产领料出库261/311");
erplog.setInterfaceTime(TimeStampUtil.getCurrentTime(TimeStampUtil.FORMAT_DEFAULT));
erplog.setMessageId(UUID.randomUUID().toString());
erplog.setSendMsg(sendData.toJSONString());
erplog.setSendMsg2(sendData.toJSONString());
erplog.setReturnMsg2(sapreturn);
erplog.setResultCode(rcode);