Commit 4e8ed946 by 周晓航

拦截卖券订单 不走支付回调补偿

parent d76e8f43
......@@ -3808,7 +3808,7 @@ public class OrderServiceImpl implements Orderservice {
if (baseOrderResponse == null || !ObjectUtils.equals(ResponseConstant.SUCCESS_RESPONSE_CODE, baseOrderResponse.getErrcode())) {
throw new ServiceException(ResponseResult.ORDER__ERRORREFUND);
}
if (Objects.nonNull(state)) {
if (Objects.equals(PayRefundStatus.SUCCESS.getCode(), state)) {
//冲正库存
stockHandle.revert(null, orderBean);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment