Commit 7c25fa71 authored by wdy's avatar wdy

车企文件添加

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