sync_pay_state

This commit is contained in:
sxu 2025-02-21 18:01:14 +08:00
parent 1d8ac90291
commit 8e03e2ac67
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ public class OrderResultBusinessImpl implements OrderResultBusiness {
List<LocalDate> orderDateList = (List)orderInfoList.stream().map(OrderInfo::getOrderDate).collect(Collectors.toList());
List<OrderDetail> orderDetailList = this.orderDetailService.getOrderDetailList((List)orderIdList, (Collection)orderDateList);
if (PayStateEnum.isPayingState(payResultPO.getTradeState())) {
LogUtil.info("ZZZ--支付中--更新订单状态");
orderInfoList.forEach((s) -> {
this.orderInfoService.updateOrderState(s.getOrderId(), s.getOrderDate(), payResultPO.getTradeState(), (Integer)null, (Integer)null, (String)null);
});