From 303982f71612e39c4c3f49bb0d64440e390c0736 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Sun, 8 Sep 2019 12:33:24 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=88=B8=E6=94=AF=E4=BB=98][=E4=BF=AE?= =?UTF-8?q?=E6=94=B9]:=E5=88=B8=E6=94=AF=E4=BB=98=E6=88=90=E5=8A=9F?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E4=B8=8D=E7=94=A8=E7=AE=A1=E5=88=B8=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E4=B8=8B=E6=9E=B6=EF=BC=8C=E9=83=BD=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=A2=E5=8D=95=E7=8A=B6=E6=80=81=E5=8F=8A?= =?UTF-8?q?=E5=88=9B=E5=BB=BAcoupon=5Forder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxOrderServiceImpl.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java index 8e9da9618..7100e76d1 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java @@ -817,10 +817,6 @@ public class WxOrderServiceImpl implements WxOrderService { logger.error("券不存在, couponId: " + updateOrder.getProductId()); throw new MallinkException(ErrorCode.COUPON_IS_EMPTY); } - if (coupon.getStatus() == EnumCouponStatus.COUPON_STATUS_TAKE_OFFF.getCode()) { - logger.error("券已下架, couponId: " + updateOrder.getProductId()); - throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF); - } // 检查用户 WxCUser user = wxCUserMapper.selectByPrimaryKey(updateOrder.getCUserId()); if (user == null) {