|
|
@ -275,9 +275,8 @@ public class HighFleetOilCardServiceImpl implements HighFleetOilCardService { |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的的订单"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未知的的订单"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (!order.getOrderStatus().equals(OrderStatusEnum.type2.getType()) |
|
|
|
if (!order.getOrderStatus().equals(OrderStatusEnum.type2.getType()) |
|
|
|
|| !order.getOrderStatus().equals(OrderStatusEnum.type3.getType()) |
|
|
|
&& !order.getOrderStatus().equals(OrderStatusEnum.type3.getType()) |
|
|
|
|| !order.getOrderStatus().equals(OrderStatusEnum.type7.getType()) |
|
|
|
&& !order.getOrderStatus().equals(OrderStatusEnum.type7.getType())) { |
|
|
|
) { |
|
|
|
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "订单当前状态无法退款"); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "订单当前状态无法退款"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (!order.getPayType().equals(OrderPayType.PAY_TYPE8.getNumber())) { |
|
|
|
if (!order.getPayType().equals(OrderPayType.PAY_TYPE8.getNumber())) { |
|
|
|