|
|
|
@@ -186,7 +186,7 @@ public class WxPressBatchServiceImpl implements WxPressBatchService { |
|
|
|
orderPressQ1.setCouponId(order.getProductId()); |
|
|
|
int count1 = wxOrderPressMapper.selectCount(new QueryWrapper<>(orderPressQ1)); |
|
|
|
if(count1 >= 1) { |
|
|
|
return new ResultData(Result.ERROR,"当前用户砍已砍过相同商品,"); |
|
|
|
return new ResultData(Result.ERROR,"当前用户已砍过相同商品"); |
|
|
|
} |
|
|
|
} |
|
|
|
//查询当前用户参与这些券的砍价次数 |
|
|
|
|