明确订单成功, 获取订单最新信息(避免其他数据没有回调)

This commit is contained in:
terrfly 2023-02-06 15:30:31 +08:00
parent 04ef385be2
commit 21d5daaa89

View File

@ -44,6 +44,9 @@ public class PayOrderProcessService {
/** 明确成功的处理逻辑(除更新订单其他业务) **/
public void confirmSuccess(PayOrder payOrder){
// 查询查询订单详情
payOrder = payOrderService.getById(payOrder.getPayOrderId());
//设置订单状态
payOrder.setState(PayOrder.STATE_SUCCESS);