|
|
|
@ -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, "订单交易状态错误"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|