|
|
@ -376,6 +376,19 @@ public class CereShopProductServiceImpl implements CereShopProductService { |
|
|
|
}else { |
|
|
|
nameValue.setNeed(IntegerEnum.NO.getCode()); |
|
|
|
} |
|
|
|
Map<String, CereSkuNameLangInfo> langInfoMap = new HashMap<>(); |
|
|
|
|
|
|
|
for (String langKey : a.getLangInfoMap().keySet()) { |
|
|
|
CereSkuNameLangInfo skuNameLangInfo = new CereSkuNameLangInfo(); |
|
|
|
if(a.getLangInfoMap().containsKey(langKey)){ |
|
|
|
skuNameLangInfo.setSkuName(a.getLangInfoMap().get(langKey).getSkuName()); |
|
|
|
} |
|
|
|
if(value.getLangInfoMap().containsKey(langKey)){ |
|
|
|
skuNameLangInfo.setSkuValue(value.getLangInfoMap().get(langKey).getSkuValue()); |
|
|
|
} |
|
|
|
langInfoMap.put(langKey, skuNameLangInfo); |
|
|
|
} |
|
|
|
nameValue.setLangInfoMap(langInfoMap); |
|
|
|
map.put(a.getCode()+"-"+value.getValueCode(),nameValue); |
|
|
|
}); |
|
|
|
}); |
|
|
|