Commit c02e7314 by YG8999

首页查询过慢,bug修复

parent d085da08
...@@ -242,9 +242,11 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme ...@@ -242,9 +242,11 @@ public class SStoreServiceImpl extends ServiceImpl<SStoreMapper, SStore> impleme
}); });
List<SPack> packs = packService.selectPackListByIds(packIds); List<SPack> packs = packService.selectPackListByIds(packIds);
Map<Long,SPack> map = new HashMap<>(); Map<Long,SPack> map = new HashMap<>();
packs.stream().forEach(sPack -> { if (packs != null) {
map.put(sPack.getId(), sPack); packs.stream().forEach(sPack -> {
}); map.put(sPack.getId(), sPack);
});
}
roomVoList.stream().forEach(sRoomVo -> { roomVoList.stream().forEach(sRoomVo -> {
List<SPack> sPacks = new ArrayList<>(); List<SPack> sPacks = new ArrayList<>();
roomPacks.stream().forEach(sRoomPack -> { roomPacks.stream().forEach(sRoomPack -> {
......
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