|
|
|
@@ -70,7 +70,7 @@ public class WxOrderPressServiceImpl implements WxOrderPressService { |
|
|
|
orderPressQ.setOrderId(order.getId()); |
|
|
|
orderPressQ.setUserId(user.getId()); |
|
|
|
int count = wxOrderPressMapper.selectCount(orderPressQ); |
|
|
|
if(count > 1) { |
|
|
|
if(count >= 1) { |
|
|
|
logger.error("用户已参与砍价: " + user.getId()); |
|
|
|
throw new MallinkException(ErrorCode.COUPON_PRESS_IS_EXIST); |
|
|
|
} |
|
|
|
|