|
@@ -2273,19 +2273,7 @@ public class SalesOrderServiceImpl implements SalesOrderService {
|
|
|
}
|
|
|
|
|
|
if (salesOrder.getSalesBatchId().startsWith("JT")) {
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
try {
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
Map<String, String> params = new HashMap<>();
|
|
|
params.put("orderId", salesOrder.getSalesOrderId());
|
|
|
params.put("logiCoprId", logisticsInfoService.getLogisticsNameByRSTCode(salesOrder.getSalesPostFirm()).getLogisticsXytCode());
|
|
@@ -2297,8 +2285,8 @@ public class SalesOrderServiceImpl implements SalesOrderService {
|
|
|
if (operatorResult.getSuccess()) {
|
|
|
logger.info("京东发货回传请求成功:result=SUCCESS:{}, MSG:{}", operatorResult.getSuccess(), operatorResult.getChineseErrCode());
|
|
|
} else {
|
|
|
- logger.info("京东发货回传请求失败:result=SUCCESS:{}, MSG:{}", operatorResult.getSuccess(), operatorResult.getChineseErrCode());
|
|
|
- throw new RuntimeException("京东发货回传请求失败:" + operatorResult.getChineseErrCode());
|
|
|
+ logger.info("京东发货回传请求失败:订单号:{}, code:{}, error:{}, MSG:{}", salesOrder.getSalesOrderId(), operatorResult.getErrorCode(), operatorResult.getEnglishErrCode(), operatorResult.getChineseErrCode());
|
|
|
+ throw new RuntimeException("京东发货回传请求失败:" + operatorResult.getErrorCode());
|
|
|
}
|
|
|
} else {
|
|
|
logger.info("京东发货回传请求错误:{}", result);
|