From d72abed539ec4353b9f98a742b8265705c473f68 Mon Sep 17 00:00:00 2001 From: xhxu Date: Thu, 3 Dec 2020 10:52:42 +0800 Subject: [PATCH] bug --- .../com/iformall/service/impl/WxCouponChannelServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 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 2faa64fbb..cebb8c5d6 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,9 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { channelId.equals(EnumCouponChannelType.COUPON_CHANNEL_ID_CREDIT.getCode()) // 积分商城 ){ // 默认投放结束时间为有效时间之后 - beginTime = new Date(); + if(!wxCoupon.getType().equals(EnumCouponType.COUPON_PREORDER.getCode())){ + beginTime = new Date(); + } endTime = wxCoupon.getValidEndDate(); }