|
@@ -130,7 +130,7 @@ public class BrandServiceImpl extends ServiceImpl<IBrandMapper, Brand> implement
|
|
public HashMap<String, BrandApiVo> getMapByIds(Set<String> brandIds) {
|
|
public HashMap<String, BrandApiVo> getMapByIds(Set<String> brandIds) {
|
|
HashMap<String, BrandApiVo> map = new HashMap<>();
|
|
HashMap<String, BrandApiVo> map = new HashMap<>();
|
|
if(!brandIds.isEmpty()){
|
|
if(!brandIds.isEmpty()){
|
|
- List<Brand> brands = this.listByIds(brandIds);
|
|
|
|
|
|
+ List<Brand> brands = this.getByCdfBrandIds(new ArrayList<>(brandIds));
|
|
List<Integer> outLineIds = brands.stream().map(Brand::getOutlineId).filter(Objects::nonNull).collect(Collectors.toList());
|
|
List<Integer> outLineIds = brands.stream().map(Brand::getOutlineId).filter(Objects::nonNull).collect(Collectors.toList());
|
|
HashMap<Integer, HotOutline> hotOutlineHashMap = hotOutlineService.getMapByIds(outLineIds);
|
|
HashMap<Integer, HotOutline> hotOutlineHashMap = hotOutlineService.getMapByIds(outLineIds);
|
|
for (Brand brand : brands) {
|
|
for (Brand brand : brands) {
|