Commit 0d051195 by zhangxingmin

oss-v1版本

parent c9c8ac28
......@@ -75,6 +75,7 @@ public class ApiOssFileServiceImpl implements ApiOssFileService {
List<RelObjectMaterial> materials = relObjectMaterialList.stream().filter(d -> d.getMaterialBizId().equals(dto.getMaterialBizId())).collect(Collectors.toList());
if (!CollectionUtils.isEmpty(materials)) {
RelObjectMaterial relObjectMaterial = materials.get(0);
if (!CollectionUtils.isEmpty(dto.getFileBizIdList())) {
List<OssFile> ossFileList = iOssFileService.queryList(OssFileDto.builder().fileBizIdList(dto.getFileBizIdList()).build());
if (!CollectionUtils.isEmpty(ossFileList)) {
ossFileList = ossFileList.stream().map(file -> {
......@@ -88,6 +89,7 @@ public class ApiOssFileServiceImpl implements ApiOssFileService {
}
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment