fix: 商品列表过滤优惠券商品

This commit is contained in:
张松
2024-12-17 11:33:44 +08:00
parent 7f42bdee17
commit 6affd84c09

View File

@@ -772,7 +772,7 @@ public class TbProductServiceImpl implements TbProductService {
com.baomidou.mybatisplus.extension.plugins.pagination.Page<TbProduct> page1 = new com.baomidou.mybatisplus.extension.plugins.pagination.Page<>(page, size);
QueryWrapper<TbProduct> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("is_del", 0)
.eq(false, "type", "coupon")
.ne("type", "coupon")
.eq("shop_id", shopId)
.eq("status", 1)
.eq("is_del", 0)