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