|
@@ -376,11 +376,15 @@ public class PayOrderServiceImpl implements PayOrderService {
|
|
|
PayOrderDO payOrderDO = orderMapper.selectById(order.getId());
|
|
|
System.out.println(payOrderDO.getStatus());
|
|
|
|
|
|
+ log.info("补漏分配权益订单");
|
|
|
+
|
|
|
// 判断是商品订单还是充值订单
|
|
|
if (payOrderDO.getNo().contains(DictTypeConstants.TUP_UP_NO)) {
|
|
|
+ log.info("充值订单号:{}", payOrderDO.getNo());
|
|
|
// 充值消费分订单
|
|
|
topUpConsumptionPointsProducer.sendTradeOrderMessage(payOrderDO);
|
|
|
} else {
|
|
|
+ log.info("商品订单号:{}", payOrderDO.getNo());
|
|
|
//如果确实是漏了订单未支付成功,那就补充回来
|
|
|
tradeOrderProducer.sendTradeOrderMessage(order.getId());
|
|
|
}
|