Forráskód Böngészése

新闻查询调整

dzx 10 hónapja
szülő
commit
020fc0770d

+ 3 - 0
src/main/java/com/xjrsoft/module/oa/controller/NewsController.java

@@ -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);