6012 线上消费核销后依然支持退单(需求要求
This commit is contained in:
parent
24e25747ff
commit
20541f800d
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue