提交代码

new-dev
胡锐 1 year ago
parent b36ee1b91e
commit 8c565ab449
  1. 2
      hai-order/src/main/java/com/web/controller/business/OrderCouponController.java

@ -240,7 +240,7 @@ public class OrderCouponController {
if (!order.getProductType().equals(OrderProductType.PRODUCT_TYPE5.getNumber())) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "只支持卡券交易补发");
}
if (order.getOrderStatus().equals(OrderStatusEnum.type2.getType())) {
if (!order.getOrderStatus().equals(OrderStatusEnum.type2.getType())) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "补发失败!交易未处于已支付状态");
}
if (!order.getExceptionStatus().equals(true)) {

Loading…
Cancel
Save