sync_pay_state
This commit is contained in:
parent
1d8ac90291
commit
8e03e2ac67
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Reference in New Issue