Commit f97a403e authored by shiyu's avatar shiyu

订单列表2

parent b04b9fee
...@@ -60,7 +60,7 @@ public class SysDistributionOrderServiceImpl implements SysDistributionOrderServ ...@@ -60,7 +60,7 @@ public class SysDistributionOrderServiceImpl implements SysDistributionOrderServ
if (StringUtils.hasLength(dto.getItemName())) { if (StringUtils.hasLength(dto.getItemName())) {
//根据商品名称模糊查询 //根据商品名称模糊查询
SupplierItemRequestDto supplierItemRequestDto = new SupplierItemRequestDto(); SupplierItemRequestDto supplierItemRequestDto = new SupplierItemRequestDto();
supplierItemRequestDto.setName(dto.getSearchParam()); supplierItemRequestDto.setName(dto.getItemName());
List<SupplierItem> supplierItemList = supplierItemDao.findList(supplierItemRequestDto); List<SupplierItem> supplierItemList = supplierItemDao.findList(supplierItemRequestDto);
List<Long> itemIds = supplierItemList.stream().map(SupplierItem::getId).collect(Collectors.toList()); List<Long> itemIds = supplierItemList.stream().map(SupplierItem::getId).collect(Collectors.toList());
if (!CollectionUtils.isEmpty(itemIds)) { if (!CollectionUtils.isEmpty(itemIds)) {
......
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