提交代码

master
胡锐 4 months ago
parent 961b9aa11e
commit 43ab8c041c
  1. 3
      service/src/main/java/com/hfkj/service/order/impl/BsOrderRefundServiceImpl.java

@ -106,7 +106,8 @@ public class BsOrderRefundServiceImpl implements BsOrderRefundService {
if (order == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的订单");
}
if (!order.getOrderStatus().equals(OrderStatusEnum.status2.getCode())) {
if (!order.getOrderStatus().equals(OrderStatusEnum.status2.getCode())
|| !order.getOrderStatus().equals(OrderStatusEnum.status3.getCode())) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "订单交易状态错误");
}

Loading…
Cancel
Save