fix:修改日志
This commit is contained in:
parent
c41bacf548
commit
6c6a8a2a73
@ -1537,6 +1537,7 @@ public class InvoiceServiceImpl implements InvoiceService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
// log.info("SendTOSAP >>>>" + sendData);
|
// log.info("SendTOSAP >>>>" + sendData);
|
||||||
|
String dataString = sendData.toJSONString();
|
||||||
String sapreturn = toSAPMessageUtil.sendHttpPost(toSAPMessageUtil.materialChangeLocationUrl, "", sendData.toJSONString());
|
String sapreturn = toSAPMessageUtil.sendHttpPost(toSAPMessageUtil.materialChangeLocationUrl, "", sendData.toJSONString());
|
||||||
org.json.JSONObject receiveJsonObject = new org.json.JSONObject(sapreturn);
|
org.json.JSONObject receiveJsonObject = new org.json.JSONObject(sapreturn);
|
||||||
org.json.JSONObject returnJsonObject = (org.json.JSONObject) receiveJsonObject.get("RETURN");
|
org.json.JSONObject returnJsonObject = (org.json.JSONObject) receiveJsonObject.get("RETURN");
|
||||||
@ -1553,6 +1554,7 @@ public class InvoiceServiceImpl implements InvoiceService {
|
|||||||
erplog.setEventName("生产领料出库261/311");
|
erplog.setEventName("生产领料出库261/311");
|
||||||
erplog.setInterfaceTime(TimeStampUtil.getCurrentTime(TimeStampUtil.FORMAT_DEFAULT));
|
erplog.setInterfaceTime(TimeStampUtil.getCurrentTime(TimeStampUtil.FORMAT_DEFAULT));
|
||||||
erplog.setMessageId(UUID.randomUUID().toString());
|
erplog.setMessageId(UUID.randomUUID().toString());
|
||||||
|
erplog.setSendMsg(sendData.toJSONString());
|
||||||
erplog.setSendMsg2(sendData.toJSONString());
|
erplog.setSendMsg2(sendData.toJSONString());
|
||||||
erplog.setReturnMsg2(sapreturn);
|
erplog.setReturnMsg2(sapreturn);
|
||||||
erplog.setResultCode(rcode);
|
erplog.setResultCode(rcode);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user