|
@@ -455,6 +455,15 @@ public class ArchivesAutoServiceImpl extends BaseServiceImpl<ArchivesAutoMapper,
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ //删除不存在文件的档案
|
|
|
|
+ Iterator<ArchivesAutoVO> iterator = pageVoList.iterator();
|
|
|
|
+ while (iterator.hasNext()) {
|
|
|
|
+ ArchivesAutoVO autoVO = iterator.next();
|
|
|
|
+ if (autoVO.getFileN() == 0) {
|
|
|
|
+ iterator.remove();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
return iPage.setRecords(pageVoList);
|
|
return iPage.setRecords(pageVoList);
|
|
}
|
|
}
|
|
|
|
|