Commit 8da4b6c7 authored by shiyu's avatar shiyu

用户主页分页

parent 2f125ef4
...@@ -151,6 +151,8 @@ public class SupplierItemServiceImpl implements SupplierItemService { ...@@ -151,6 +151,8 @@ public class SupplierItemServiceImpl implements SupplierItemService {
searchDto.setIsDeleted(false); searchDto.setIsDeleted(false);
searchDto.setIds(itemIds); searchDto.setIds(itemIds);
searchDto.setStock(0);//库存大于0 searchDto.setStock(0);//库存大于0
searchDto.setPage(dto.getPage());
searchDto.setLimit(dto.getLimit());
List<SupplierItem> supplierItemList = supplierItemDao.findList(searchDto); 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<>();
......
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