|
@@ -153,6 +153,7 @@ public class BrandServiceImpl extends ServiceImpl<IBrandMapper, Brand> implement
|
|
|
List<Integer> outLineIds = brands.stream().map(Brand::getOutlineId).filter(Objects::nonNull).collect(Collectors.toList());
|
|
|
HashMap<Integer, HotOutline> hotOutlineHashMap = hotOutlineService.getMapByIds(outLineIds);
|
|
|
for (Brand brand : brands) {
|
|
|
+ log.info("brand:{}",brand);
|
|
|
BrandApiVo vo = new BrandApiVo();
|
|
|
BeanUtil.copyProperties(brand,vo);
|
|
|
HotOutline hotOutline = hotOutlineHashMap.get(brand.getOutlineId());
|