6012 线上消费核销后依然支持退单(需求要求

This commit is contained in:
gaowdong 2025-05-16 15:50:16 +08:00
parent 24e25747ff
commit 20541f800d
1 changed files with 3 additions and 3 deletions

View File

@ -375,9 +375,9 @@ public class OrderInfoServiceImpl implements IOrderInfoService
if(orderInfo.getOrderState().equals(OrderStateEnum.CANCEL.getKey())) { if(orderInfo.getOrderState().equals(OrderStateEnum.CANCEL.getKey())) {
throw new ServiceException("订单已取消"); throw new ServiceException("订单已取消");
} }
if(orderInfo.getOrderState().equals(OrderStateEnum.FINISH.getKey())) { // if(orderInfo.getOrderState().equals(OrderStateEnum.FINISH.getKey())) {
throw new ServiceException("订单已核销"); // throw new ServiceException("订单已核销");
} // }
if(PayStateEnum.PAY_SUCC.getKey().equals(orderInfo.getPayState())) { if(PayStateEnum.PAY_SUCC.getKey().equals(orderInfo.getPayState())) {
List<TradeAndWallerInfo> accTradeList = accTradeService.queryTradeAndWallerInfoByOrderNo List<TradeAndWallerInfo> accTradeList = accTradeService.queryTradeAndWallerInfoByOrderNo
(String.valueOf(orderId), AccTradeTypeEnum.CONSUME); (String.valueOf(orderId), AccTradeTypeEnum.CONSUME);