Commit 1d650b34 authored by Quxl's avatar Quxl

x

parent 880877af
......@@ -139,7 +139,7 @@ public class SI004INVENTORYSyncOutServiceTask {
} finally {
try {
common.saveApiAccessLog("SAP库存数据接口", "/XISOAPAdapter/MessageServlet/si004INVENTORYSyncOut", isSuccess ? "S" : "F");
} catch (Exception e1) {
} catch (Throwable e1) {
logger.error(timeString, e1);
}
try {
......@@ -154,7 +154,7 @@ public class SI004INVENTORYSyncOutServiceTask {
FileUtil.writeText(xmlFullName, xml);
String json = new Gson().toJson(mt004INVENTORY);
FileUtil.writeText(xmlFullName + ".JSON", json);
} catch (Exception e) {
} catch (Throwable e) {
throw new XRException(ThrowableUtil.getCaused(e).getMessage(), e);
}
}
......
......@@ -146,7 +146,7 @@ public class SI011ACTUALSALESSyncOutServiceTask {
} finally {
try {
common.saveApiAccessLog("SAP销售数据接口", "/XISOAPAdapter/MessageServlet/si011ACTUALSALESSyncOut", isSuccess ? "S" : "F");
} catch (Exception e1) {
} catch (Throwable e1) {
logger.error(timeString, e1);
}
try {
......@@ -161,7 +161,7 @@ public class SI011ACTUALSALESSyncOutServiceTask {
FileUtil.writeText(xmlFullName, xml);
String json = new Gson().toJson(mt011ACTUALSALES);
FileUtil.writeText(xmlFullName + ".JSON", json);
} catch (Exception e) {
} catch (Throwable e) {
throw new XRException(ThrowableUtil.getCaused(e).getMessage(), e);
}
}
......
......@@ -139,7 +139,7 @@ public class ZMISD009SOCREATIONServiceTask {
} finally {
try {
common.saveApiAccessLog("SAP采购订单接口", "/sap/xi/engine", isSuccess ? "S" : "F");
} catch (Exception e1) {
} catch (Throwable e1) {
logger.error("数据上传日志记录失败", e1);
}
try {
......@@ -154,7 +154,7 @@ public class ZMISD009SOCREATIONServiceTask {
FileUtil.writeText(xmlFullName, xml);
String json = new Gson().toJson(ZDTSD009SOCREATIONBean);
FileUtil.writeText(xmlFullName + ".JSON", json);
} catch (Exception e) {
} catch (Throwable e) {
throw new XRException(ThrowableUtil.getCaused(e).getMessage(), e);
}
}
......
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