|
@@ -79,20 +79,14 @@ public class ProductInfoServiceImpl extends ServiceImpl<ProductInfoMapper, Produ
|
|
|
List<String> specList = new ArrayList<>();
|
|
|
if(StringUtils.isNotBlank(productInfo.getSpec())){
|
|
|
|
|
|
- specList = Arrays.stream(productInfo.getSpec().split(",")).map(dictMap::get).collect(Collectors.toList());
|
|
|
+ specList = Arrays.stream(productInfo.getSpec().split(",")).collect(Collectors.toList());
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
result.setSpecList(specList);
|
|
|
-
|
|
|
-
|
|
|
//获取图片
|
|
|
List<Long> businessIdList = new ArrayList<>();
|
|
|
businessIdList.add(result.getId());
|
|
|
Map<Long, List<FileInfoVo>> fileMap = ObsFileUtil.getFileMap(businessIdList, 1);
|
|
|
result.setFileList(fileMap.get(result.getId()));
|
|
|
-
|
|
|
return result;
|
|
|
}
|
|
|
|