Commit c973e22f authored by shiyu's avatar shiyu

展示库存大于0的商品

parent b3580510
......@@ -48,6 +48,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
//上架未被删除的商品
dto.setIsOnSale(true);
dto.setIsDeleted(false);
dto.setStock(0);//库存大于0
List<SupplierItem> supplierItemList = supplierItemDao.findList(dto);
PageInfo<SupplierItem> pageInfo = new PageInfo(supplierItemList);
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