|
|
|
@ -175,7 +175,7 @@ public class CrossAreaTransferServiceImpl extends ServiceImpl<CrossAreaTransferM |
|
|
|
|
|
|
|
if (!"200".equals(outboundCode)) { |
|
|
|
String msg = String.valueOf(outboundResult.get("message")); |
|
|
|
throw new RuntimeException("跨区调拨出库失败: " + msg); |
|
|
|
throw new RuntimeException(msg); |
|
|
|
} |
|
|
|
|
|
|
|
// 获取出库返回的transNo,用于入库时传递 |
|
|
|
@ -227,7 +227,7 @@ public class CrossAreaTransferServiceImpl extends ServiceImpl<CrossAreaTransferM |
|
|
|
|
|
|
|
if (!"200".equals(inboundCode)) { |
|
|
|
String msg = String.valueOf(inboundResult.get("message")); |
|
|
|
throw new RuntimeException("跨区调拨入库失败: " + msg); |
|
|
|
throw new RuntimeException(msg); |
|
|
|
} |
|
|
|
|
|
|
|
// 如果入库返回的synced_flag为'Y',则异步调用ERP接口 |
|
|
|
@ -254,7 +254,7 @@ public class CrossAreaTransferServiceImpl extends ServiceImpl<CrossAreaTransferM |
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("保存跨区调拨失败", e); |
|
|
|
throw new RuntimeException("保存跨区调拨失败: " + e.getMessage()); |
|
|
|
throw new RuntimeException(e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|