|
@@ -227,6 +227,7 @@ public class MapServiceImpl extends SuperServiceImpl<MapMapper, Map> implements
|
|
|
mapContentVo.setAuthor(knowledge.getAuthor());
|
|
|
mapContentVo.setCreateTime(knowledge.getCreateTime());
|
|
|
mapContentVo.setViews(knowledge.getViews());
|
|
|
+ mapContentVo.setAttachment(knowledge.getAttachment());
|
|
|
// 有文件,截取文件名后缀
|
|
|
String attachmentName = knowledge.getAttachmentName();
|
|
|
if (attachmentName != null){
|
|
@@ -387,6 +388,7 @@ public class MapServiceImpl extends SuperServiceImpl<MapMapper, Map> implements
|
|
|
content.setAuthor(knowledge.getAuthor());
|
|
|
content.setCreateTime(knowledge.getCreateTime());
|
|
|
content.setViews(knowledge.getViews());
|
|
|
+ content.setAttachment(knowledge.getAttachment());
|
|
|
// 有文件,截取文件名后缀
|
|
|
String attachmentName = knowledge.getAttachmentName();
|
|
|
if (attachmentName != null){
|