Преглед изворни кода

//yuyue

release_toaliyun_real
xhxu пре 2 година
родитељ
комит
2aee99f812
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderReservationServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderReservationServiceImpl.java Прегледај датотеку

@@ -80,10 +80,10 @@ public class WxCouponOrderReservationServiceImpl implements WxCouponOrderReserva
}
if(record.getStartDate() != null && wxCoupon.getValidStartDate() != null
&& record.getStartDate().before(wxCoupon.getValidStartDate())){
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"当前时间无法预约");
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"预约时间不在有效期内");
}
if(record.getEndDate() != null && record.getEndDate().after(couponOrder.getExpiredTime())){
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"当前时间无法预约");
return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"预约时间不在有效期内");
}
record.setCouponTitle(wxCoupon.getTitle());
}


Loading…
Откажи
Сачувај