fix: 修复用户端的一个多语言问题
This commit is contained in:
parent
4a2cc93666
commit
cb0aa4786a
|
|
@ -192,7 +192,7 @@ public class ProductModelParamsServiceImpl extends ServiceImpl<ProductModelParam
|
||||||
}
|
}
|
||||||
List<ProductModelParamsItem> datas=productModelParamsItemService.lambdaQuery()
|
List<ProductModelParamsItem> datas=productModelParamsItemService.lambdaQuery()
|
||||||
.eq(ProductModelParamsItem::getModelParamsId, info.getId())
|
.eq(ProductModelParamsItem::getModelParamsId, info.getId())
|
||||||
.eq(ProductModelParamsItem::getLanguageCode, Constant.DEFAULT_LANGUAGE_CODE)
|
.eq(ProductModelParamsItem::getLanguageCode, language)
|
||||||
.list();
|
.list();
|
||||||
Map<String, List<ProductModelParamsItem>> maps = datas.stream().collect(Collectors.groupingBy(ProductModelParamsItem::getIndexName));
|
Map<String, List<ProductModelParamsItem>> maps = datas.stream().collect(Collectors.groupingBy(ProductModelParamsItem::getIndexName));
|
||||||
List<ProductModelMainParamsItemChildrenVO> vos = new ArrayList<>();
|
List<ProductModelMainParamsItemChildrenVO> vos = new ArrayList<>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue