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);