Commit 7c25fa71 authored by wdy's avatar wdy

车企文件添加

parent 40a23af7
...@@ -9,15 +9,15 @@ import lombok.experimental.Accessors; ...@@ -9,15 +9,15 @@ import lombok.experimental.Accessors;
public class AttachmentsVO { public class AttachmentsVO {
// 附件路径 // 附件路径
@ApiModelProperty("附件路径") @ApiModelProperty("附件路径")
String url; String path;
// 附件名称 // 附件名称
@ApiModelProperty("附件名称") @ApiModelProperty("附件名称")
String name; String name;
// 构造函数 // 构造函数
public AttachmentsVO(String url, String name) { public AttachmentsVO(String path, String name) {
this.url = url; this.path = path;
this.name = name; this.name = name;
} }
......
...@@ -153,7 +153,7 @@ public class ReviewEnterpriseArchiveServiceImpl extends ServiceImpl<ReviewEnterp ...@@ -153,7 +153,7 @@ public class ReviewEnterpriseArchiveServiceImpl extends ServiceImpl<ReviewEnterp
if (reviewEnterpriseArchive.getUrl() != null && reviewEnterpriseArchive.getUrl().size() != 0) { if (reviewEnterpriseArchive.getUrl() != null && reviewEnterpriseArchive.getUrl().size() != 0) {
String photo = reviewEnterpriseArchive.getUrl().stream() String photo = reviewEnterpriseArchive.getUrl().stream()
.map(AttachmentsVO::getUrl) .map(AttachmentsVO::getPath)
.collect(Collectors.joining(",")); .collect(Collectors.joining(","));
String photoName = reviewEnterpriseArchive.getUrl().stream() String photoName = reviewEnterpriseArchive.getUrl().stream()
...@@ -273,7 +273,7 @@ public class ReviewEnterpriseArchiveServiceImpl extends ServiceImpl<ReviewEnterp ...@@ -273,7 +273,7 @@ public class ReviewEnterpriseArchiveServiceImpl extends ServiceImpl<ReviewEnterp
if (reviewEnterpriseArchive.getUrl() != null && reviewEnterpriseArchive.getUrl().size() != 0) { if (reviewEnterpriseArchive.getUrl() != null && reviewEnterpriseArchive.getUrl().size() != 0) {
String photo = reviewEnterpriseArchive.getUrl().stream() String photo = reviewEnterpriseArchive.getUrl().stream()
.map(AttachmentsVO::getUrl) .map(AttachmentsVO::getPath)
.collect(Collectors.joining(",")); .collect(Collectors.joining(","));
String photoName = reviewEnterpriseArchive.getUrl().stream() String photoName = reviewEnterpriseArchive.getUrl().stream()
......
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