fix: 政策法规资料文件为null的处理
This commit is contained in:
+3
-1
@@ -201,7 +201,9 @@ public class SarLawsInformationServiceImpl extends ServiceImpl<SarLawsInformatio
|
||||
List<AttFileEO> fileNameList = new ArrayList<>();
|
||||
for (String attId : split) {
|
||||
AttFileEO fileInfo = attFileEOService.getFileInfo(attId);
|
||||
fileNameList.add(fileInfo);
|
||||
if (fileInfo!= null) {
|
||||
fileNameList.add(fileInfo);
|
||||
}
|
||||
}
|
||||
sarLawsInformation.setInformationFileList(fileNameList);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user