|
@@ -128,7 +128,7 @@ public class BrandServiceImpl extends ServiceImpl<IBrandMapper, Brand> implement
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public HashMap<String, BrandApiVo> getMapByIds(Set<Integer> brandIds) {
|
|
public HashMap<String, BrandApiVo> getMapByIds(Set<Integer> brandIds) {
|
|
- HashMap<Integer, 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.listByIds(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());
|