Commit 7f681717 authored by shiyu's avatar shiyu

用户主页商品列表4

parent 2641a15c
...@@ -150,8 +150,8 @@ public class SupplierItemServiceImpl implements SupplierItemService { ...@@ -150,8 +150,8 @@ public class SupplierItemServiceImpl implements SupplierItemService {
searchDto.setIsOnSale(true); searchDto.setIsOnSale(true);
searchDto.setIsDeleted(false); searchDto.setIsDeleted(false);
searchDto.setIds(itemIds); searchDto.setIds(itemIds);
dto.setStock(0);//库存大于0 searchDto.setStock(0);//库存大于0
List<SupplierItem> supplierItemList = supplierItemDao.findList(dto); List<SupplierItem> supplierItemList = supplierItemDao.findList(searchDto);
PageInfo<SupplierItem> pageInfo = new PageInfo(supplierItemList); PageInfo<SupplierItem> pageInfo = new PageInfo(supplierItemList);
List<SupplierItemVo> supplierItemVos = new ArrayList<>(); List<SupplierItemVo> supplierItemVos = new ArrayList<>();
supplierItemList.forEach(supplierItem -> { supplierItemList.forEach(supplierItem -> {
......
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