处理首页删除数据还存在问题

This commit is contained in:
taozi
2021-01-29 14:44:27 +08:00
committed by xuwenbo
parent 0ee6c65298
commit 92cd40f8fa

View File

@ -413,8 +413,8 @@ public class YxStoreProductServiceImpl extends BaseServiceImpl<StoreProductMappe
public List<YxStoreProductQueryVo> getList(int page, int limit, int order) {
LambdaQueryWrapper<YxStoreProduct> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(YxStoreProduct::getIsShow, ShopCommonEnum.SHOW_1.getValue())
// .eq(YxStoreProduct::getIsIntegral,CommonEnum.SHOW_STATUS_1.getValue())
wrapper.eq(YxStoreProduct::getIsShow, ShopCommonEnum.SHOW_1.getValue())
.eq(YxStoreProduct::getIsDel,ShopCommonEnum.DELETE_0.getValue())
.orderByDesc(YxStoreProduct::getSort);
// order