From fb4fc5d36a76a238bf676e30b51772274ef70480 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Tue, 7 Nov 2023 11:32:05 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=AC=A7=E6=B4=BE=E6=8E=A8=E9=80=81=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../factory/receiver/OrderStatusHandler.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/receiver/OrderStatusHandler.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/receiver/OrderStatusHandler.java index 5b74961d5..a10bbb114 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/receiver/OrderStatusHandler.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/receiver/OrderStatusHandler.java @@ -96,15 +96,16 @@ public class OrderStatusHandler { } break; -// case FactoryConstant.OUPAI: -// r = ouPaiFactoryService.handleStatusData(orderStatusDTO); -// if (r.getCode() == 400 || r.getCode() == 200) { -// log.info("TAG {} ##################orderStatusHandler: 该条数据不用处理 orderNo={}", FactoryConstant.OUPAI, orderSelfNum); -//// channel.basicAck(deliveryTag,true); -// } else { -// throw new CustomerException(r.getCode(), r.getMsg()); -// } - + case FactoryConstant.OUPAI: + //测试网开启 正式网关闭 + r = ouPaiFactoryService.handleStatusData(orderStatusDTO); + if (r.getCode() == 400 || r.getCode() == 200) { + log.info("TAG {} ##################orderStatusHandler: 该条数据不用处理 orderNo={}", FactoryConstant.OUPAI, orderSelfNum); +// channel.basicAck(deliveryTag,true); + } else { + throw new CustomerException(r.getCode(), r.getMsg()); + } + break; default: log.info("##################orderStatusHandler: 未知品牌 type={}", type);