|
|
@@ -116,6 +116,9 @@ public class NewsController {
|
|
|
.eq(File::getFolderId, record.getCover())
|
|
|
.eq(File::getDeleteMark, DeleteMark.NODELETE.getCode())
|
|
|
);
|
|
|
+ if(file == null){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
record.setCoverUrl(file.getFileUrl());
|
|
|
}
|
|
|
PageOutput<NewsPageVo> pageOutput = ConventPage.getPageOutput(page, NewsPageVo.class);
|