From e3cbb3e94dc9b03235552bf048181af2dac84b25 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Wed, 20 Sep 2023 17:36:58 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=AC=A7=E6=B4=BE=E8=8E=B7=E5=8F=96=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E6=95=B0=E6=8D=AE=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oupai/service/impl/OuPaiFactoryServiceImpl.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/service/impl/OuPaiFactoryServiceImpl.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/service/impl/OuPaiFactoryServiceImpl.java index 97868eb98..53de52a46 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/service/impl/OuPaiFactoryServiceImpl.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/service/impl/OuPaiFactoryServiceImpl.java @@ -281,7 +281,11 @@ public class OuPaiFactoryServiceImpl implements IOuPaiFactoryService { log.info("############handleData: 数据处理开始"); analyzeData(resultArray); opOrderStatusLogEntity.setDataStatus(1); - } catch (Exception e) { + } catch (CustomerException e) { + log.error(">>>> error {}", e.getMessage()); + opOrderStatusLogEntity.setDataStatus(2); + + }catch (Exception e) { log.error(">>>> error {}", e.getMessage()); opOrderStatusLogEntity.setDataStatus(2); @@ -312,6 +316,8 @@ public class OuPaiFactoryServiceImpl implements IOuPaiFactoryService { String type = valueObject.getString("Type"); if ("中转".equals(type)) { receivingOrderEntity.setType(1); + log.warn("############handleData: 中转到货暂不接收"); + throw new CustomerException(403,"中转到货暂不接收"); } else if ("配送".equals(type)) { receivingOrderEntity.setType(2); } else {