|
@@ -127,7 +127,7 @@ public class BrandServiceImpl extends ServiceImpl<IBrandMapper, Brand> implement
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public HashMap<Integer, BrandApiVo> getMapByIds(Set<Integer> brandIds) {
|
|
|
|
|
|
+ public HashMap<String, BrandApiVo> getMapByIds(Set<Integer> brandIds) {
|
|
HashMap<Integer, BrandApiVo> map = new HashMap<>();
|
|
HashMap<Integer, BrandApiVo> map = new HashMap<>();
|
|
if(!brandIds.isEmpty()){
|
|
if(!brandIds.isEmpty()){
|
|
List<Brand> brands = this.listByIds(brandIds);
|
|
List<Brand> brands = this.listByIds(brandIds);
|
|
@@ -141,7 +141,7 @@ public class BrandServiceImpl extends ServiceImpl<IBrandMapper, Brand> implement
|
|
vo.setOutlineName(hotOutline.getOutlineName());
|
|
vo.setOutlineName(hotOutline.getOutlineName());
|
|
vo.setOutlineImage(hotOutline.getOutlineImage());
|
|
vo.setOutlineImage(hotOutline.getOutlineImage());
|
|
}
|
|
}
|
|
- map.put(vo.getId(),vo);
|
|
|
|
|
|
+ map.put(vo.getCdfBrandId(),vo);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return map;
|
|
return map;
|