Commit 42945b67 authored by Quxl's avatar Quxl

x

parent a19f184c
...@@ -83,14 +83,15 @@ public class ZMISD009SOCREATIONServiceTask { ...@@ -83,14 +83,15 @@ public class ZMISD009SOCREATIONServiceTask {
public void sendData (ZMISD009SOCREATION ZMISD009SOCREATION, Map<String, Object> headerMap) { public void sendData (ZMISD009SOCREATION ZMISD009SOCREATION, Map<String, Object> headerMap) {
Date now = new Date(); Date now = new Date();
String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS"); String timeString = DateUtil.formatDate(now, "yyyyMMddHHmmssSSS");
String TRACE_NO = (String)headerMap.get("TRACE_NO"); String traceNo = (String)headerMap.get("TRACE_NO");
String KUNNR = (String)headerMap.get("KUNNR"); String disCode = (String)headerMap.get("KUNNR");
String message = null; String message = null;
String errorMessage = null; String errorMessage = null;
boolean isSuccess = false; boolean isSuccess = false;
ZDTSD009SOCREATION ZDTSD009SOCREATIONBean = new ZDTSD009SOCREATION(); ZDTSD009SOCREATION ZDTSD009SOCREATIONBean = new ZDTSD009SOCREATION();
try { try {
Header header = new Header(); Header header = new Header();
String KUNNR = (String)headerMap.get("KUNNR");
Long ID = (Long)headerMap.get("ID"); Long ID = (Long)headerMap.get("ID");
String BSTKD_E = (String)headerMap.get("BSTKD_E"); String BSTKD_E = (String)headerMap.get("BSTKD_E");
String VBELN = (String)headerMap.get("VBELN"); String VBELN = (String)headerMap.get("VBELN");
...@@ -142,7 +143,7 @@ public class ZMISD009SOCREATIONServiceTask { ...@@ -142,7 +143,7 @@ public class ZMISD009SOCREATIONServiceTask {
logger.error("数据上传日志记录失败", e1); logger.error("数据上传日志记录失败", e1);
} }
try { try {
common.saveOrderTracking(TRACE_NO, "SoCreation", null, KUNNR, "D", (isSuccess ? "S" : "F"), message, errorMessage); common.saveOrderTracking(traceNo, "SoCreation", null, disCode, "D", (isSuccess ? "S" : "F"), message, errorMessage);
} catch (Throwable e1) { } catch (Throwable e1) {
logger.error("追踪数据保存失败", e1); logger.error("追踪数据保存失败", e1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment