From b13560f6ca51eec214ecd37c13ea08261fbb00ea Mon Sep 17 00:00:00 2001 From: gongbiao Date: Thu, 10 Oct 2019 17:16:20 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A0=8D=E4=BB=B7][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxOrderPressServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderPressServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderPressServiceImpl.java index 977326510..91e49488d 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxOrderPressServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxOrderPressServiceImpl.java @@ -91,7 +91,7 @@ public class WxOrderPressServiceImpl implements WxOrderPressService { orderPressQ.setUserId(cUserId); QueryWrapper queryWrapper = new QueryWrapper<>(); queryWrapper.setEntity(orderPressQ); - int count = wxOrderPressMapper.selectCount(new QueryWrapper(queryWrapper)); + int count = wxOrderPressMapper.selectCount(queryWrapper); if(count >= 1) { logger.error("用户已参与砍价: " + cUserId); throw new MallinkException(ErrorCode.COUPON_PRESS_IS_EXIST);