记得上下班打卡 | git大法好,push需谨慎

Commit b17b8535 authored by 胡佳晨's avatar 胡佳晨

已经发货的订单 可同步成功,不存在的订单可以同步成功

parent d0dec951
...@@ -416,6 +416,9 @@ public class WdtServiceImpl implements IGoblinErpService { ...@@ -416,6 +416,9 @@ public class WdtServiceImpl implements IGoblinErpService {
try { try {
ResponseDto<Boolean> response = goblinStoreOrderService.express("", null, mailNo, "ERP", orderCode); ResponseDto<Boolean> response = goblinStoreOrderService.express("", null, mailNo, "ERP", orderCode);
code = response.getCode(); code = response.getCode();
if (response.getMessage() != null && ("无法发货".equals(response.getMessage()) || "无法查看".equals(response.getMessage()))) {
code = "0";
}
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
code = "1"; code = "1";
......
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