微信死信队列更改订单状态
This commit is contained in:
@@ -49,6 +49,8 @@ public class OrderCancelConsumer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
buyOrderService.updateById(buyOrder);
|
buyOrderService.updateById(buyOrder);
|
||||||
|
if(Constants.ORDER_STATUS_OUT_OF_TIME.equals(buyOrder.getOrderStatus())){
|
||||||
buyOrderService.removeById(buyOrder);
|
buyOrderService.removeById(buyOrder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user