Authored by hugufei

fix bug

... ... @@ -63,7 +63,7 @@ public class ShopService {
List<Integer> shopIds = shops.stream().map(Shops::getShopsId).filter(Objects::nonNull).distinct().collect(Collectors.toList());
// 获取店铺装修信息
List<ShopAdditionalImage> shopAdditionalImages = shopAdditionalImageMapper.selectByShopIds(shopIds);
Map<Integer, ShopAdditionalImage> shopAdditionalImageMap = shopAdditionalImages.stream().collect(Collectors.toMap(ShopAdditionalImage::getId, a -> a, (k1, k2) -> k1));
Map<Integer, ShopAdditionalImage> shopAdditionalImageMap = shopAdditionalImages.stream().collect(Collectors.toMap(ShopAdditionalImage::getShopId, a -> a, (k1, k2) -> k1));
// 构造结果
List<ShopsAdditionalImageBO> shopsAdditionalImageBOS = new ArrayList<>();
for (Shops shop : shops) {
... ...