From 99342a29fa977626ce6d479f5f63021430ec3b6f Mon Sep 17 00:00:00 2001 From: xhxu Date: Thu, 3 Dec 2020 11:02:24 +0800 Subject: [PATCH] bug --- .../com/iformall/service/impl/WxCouponChannelServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java index 6378150f7..e0e33a11c 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java @@ -308,7 +308,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { channelId.equals(EnumCouponChannelType.COUPON_CHANNEL_ID_CREDIT.getCode()) // 积分商城 ){ // 默认投放结束时间为有效时间之后 - if(!wxCoupon.getType().equals(EnumCouponType.COUPON_PREORDER.getCode())){ + if(wxCoupon.getType().equals(EnumCouponType.COUPON_PREORDER.getCode())){ beginTime = wxCoupon.getValidStartDate(); }else{ beginTime = new Date();