Commit a904f4c6 authored by shiyu's avatar shiyu

Merge branch 'quanku_v3.4' into quanku_v3.5

parents 10013956 a197a13e
......@@ -1273,10 +1273,12 @@ public class SupplierItemServiceImpl implements SupplierItemService {
searchDto.setPage(1);
List<SupplierItem> supplierItemList = supplierItemDao.findForHomePage(searchDto);
PageInfo<SupplierItem> pageInfo = new PageInfo(supplierItemList);
if (dto.getPage() == 1) {
SupplierItem topSupplierItem = supplierItemDao.findTopItem();
if (topSupplierItem != null) {
supplierItemList.add(0, topSupplierItem);
}
}
List<Long> filterItemIds = supplierItemList.stream().map(SupplierItem::getId).collect(Collectors.toList());
if (redisUtils.hasKey(viewKey)) {
List<Long> searchItemIds = (List<Long>) redisUtils.get(viewKey);
......
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