...
|
...
|
@@ -72,10 +72,9 @@ public class BrandAggregation extends AbstractAggregation { |
|
|
}
|
|
|
}
|
|
|
try {
|
|
|
List<Map<String, Object>> brands = brandIndexBaseService.getBrandListByIds(brandIds, true);
|
|
|
// //按brand_name_for_sort排序
|
|
|
// Collections.sort(brands, (o1, o2) -> MapUtils.getString(o1, "brand_name_for_sort", "#").compareTo(MapUtils.getString(o2, "brand_name_for_sort", "#")));
|
|
|
return brands;
|
|
|
return brandIndexBaseService.getBrandListByIds(brandIds, false);
|
|
|
//// //按brand_name_for_sort排序
|
|
|
//// Collections.sort(brands, (o1, o2) -> MapUtils.getString(o1, "brand_name_for_sort", "#").compareTo(MapUtils.getString(o2, "brand_name_for_sort", "#")));
|
|
|
} catch (Exception e) {
|
|
|
logger.error(e.getMessage(), e);
|
|
|
return new ArrayList<>();
|
...
|
...
|
|