Commit 062a7fc9 authored by shiyu's avatar shiyu

首页只展示藏家帖子和商品

parent b2c89e30
......@@ -134,7 +134,6 @@ public class SupplierItemDaoImpl implements SupplierItemDao {
criteria.andTypeIn(dto.getTypeList());
criteria.andStockGreaterThan(0);
criteria.andIsDeletedEqualTo(false);
criteria.andIsOnSaleEqualTo(true);
JdbcHelper.ifPresent(dto.getFilterIds(), criteria::andIdNotIn);
// criteria.andIsOnSaleEqualTo(true);
if (!CollectionUtils.isEmpty(dto.getIds())) {
......
......@@ -1149,7 +1149,6 @@ public class SupplierItemServiceImpl implements SupplierItemService {
}
//大于200元的商品展示
searchDto.setGreaterThanPrice(20000L);
searchDto.setIsOnSale(true);
// searchDto.setCreatorIdList(distinctCollectorIds);
searchDto.setStock(0);//库存大于0
searchDto.setIsDeleted(false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment