From c84a9d008f56c064f74a9a69b196e2f58be34047 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Tue, 19 Mar 2019 11:04:15 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=B8=8B=E8=AE=A2=E5=8D=95=E9=97=AE=E9=A2=98]?= =?UTF-8?q?[=E4=BF=AE=E6=94=B9]:=E6=97=A0=E6=B3=95=E4=B8=8B=E8=AE=A2?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxOrderServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 182a7c894..c4ff162bd 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java @@ -357,13 +357,15 @@ public class WxOrderServiceImpl implements WxOrderService { logger.error("商户不存在, couponId: " + couponIdStr); throw new MallinkException(ErrorCode.MERCHANT_INFO_NOT_FOUND); } - if (!orderGroupId.equals(0L)) { + // 拼团 + /* + if (orderGroupId != null && !orderGroupId.equals(0L)) { WxOrderGroup group = wxOrderGroupMapper.selectByPrimaryKey(orderGroupId); if (group.getStatus().equals(EnumOrderStatus.ORDER_STATUS_COOPERATING_COMPLETE.getCode())) { logger.error("下订单拼团人数已满>>>" + orderGroupId); throw new MallinkException(ErrorCode.ORDER_GROUP_COOPERATING_FINISHED); } - } + }*/ // 减库存操作 stockReduce(user, coupon, couponIdStr);