fix: 修复用户端的一个多语言问题

This commit is contained in:
曹鹏飞 2025-07-04 16:25:59 +08:00
parent 4a2cc93666
commit cb0aa4786a
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ public class ProductModelParamsServiceImpl extends ServiceImpl<ProductModelParam
}
List<ProductModelParamsItem> datas=productModelParamsItemService.lambdaQuery()
.eq(ProductModelParamsItem::getModelParamsId, info.getId())
.eq(ProductModelParamsItem::getLanguageCode, Constant.DEFAULT_LANGUAGE_CODE)
.eq(ProductModelParamsItem::getLanguageCode, language)
.list();
Map<String, List<ProductModelParamsItem>> maps = datas.stream().collect(Collectors.groupingBy(ProductModelParamsItem::getIndexName));
List<ProductModelMainParamsItemChildrenVO> vos = new ArrayList<>();