|
|
@@ -253,12 +253,8 @@ public class ArchiveExaminingReportImpl extends BaseServiceImpl<ArchiveExamining
|
|
|
detailService.save(new ArchiveExaminingReportDetail(vo.getProjectId(), id, ArchiveConstant.ARCHIVE_EXAMINING_AUTHENTICITY,
|
|
|
ArchiveConstant.ARCHIVE_EXAMINING_STANDARD + "对电子文件内容一致性检测", consistency, consistency == 0 ? "无" : "详见附件", consistency == 0 ? 0 : 1));
|
|
|
}
|
|
|
- if(vo.getAuthenticityList().contains("3")){
|
|
|
-
|
|
|
- }
|
|
|
- if(vo.getAuthenticityList().contains("4")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("3")){}
|
|
|
+ if(vo.getAuthenticityList().contains("4")){}
|
|
|
if(vo.getAuthenticityList().contains("5")){
|
|
|
//获取元数据
|
|
|
if(CollectionUtil.isEmpty(list) ){
|
|
|
@@ -299,32 +295,22 @@ public class ArchiveExaminingReportImpl extends BaseServiceImpl<ArchiveExamining
|
|
|
detailService.save(new ArchiveExaminingReportDetail(vo.getProjectId(), id, ArchiveConstant.ARCHIVE_EXAMINING_AUTHENTICITY,
|
|
|
ArchiveConstant.ARCHIVE_EXAMINING_STANDARD + "对元数据项数据重复性检测", metadataRepeat, metadataRepeat == 0 ? "无" : "详见附件", metadataRepeat == 0 ? 0 : 1));
|
|
|
}
|
|
|
- if(vo.getAuthenticityList().contains("7")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("7")){}
|
|
|
if(vo.getAuthenticityList().contains("8")){
|
|
|
//TODO
|
|
|
detailService.save(new ArchiveExaminingReportDetail(vo.getProjectId(), id, ArchiveConstant.ARCHIVE_EXAMINING_AUTHENTICITY,
|
|
|
ArchiveConstant.ARCHIVE_EXAMINING_STANDARD + "对信息包一致性检测", 0, "无", 0));
|
|
|
}
|
|
|
- if(vo.getAuthenticityList().contains("9")){
|
|
|
-
|
|
|
- }
|
|
|
- if(vo.getAuthenticityList().contains("10")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("9")){}
|
|
|
+ if(vo.getAuthenticityList().contains("10")){}
|
|
|
report.setReportDetailStatus(1);
|
|
|
this.updateById(report);
|
|
|
}
|
|
|
//完整性
|
|
|
if (StringUtils.isNotBlank(vo.getIntegrality()) && "1".equals(vo.getIntegrality())) {
|
|
|
Thread.sleep(5000L);
|
|
|
- if(vo.getAuthenticityList().contains("1")){
|
|
|
-
|
|
|
- }
|
|
|
- if(vo.getAuthenticityList().contains("2")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("1")){}
|
|
|
+ if(vo.getAuthenticityList().contains("2")){}
|
|
|
if(vo.getAuthenticityList().contains("3")){
|
|
|
//获取元数据
|
|
|
if(CollectionUtil.isEmpty(list)){
|
|
|
@@ -380,18 +366,10 @@ public class ArchiveExaminingReportImpl extends BaseServiceImpl<ArchiveExamining
|
|
|
detailService.save(new ArchiveExaminingReportDetail(vo.getProjectId(), id, ArchiveConstant.ARCHIVE_EXAMINING_INTEGRALITY,
|
|
|
ArchiveConstant.ARCHIVE_EXAMINING_STANDARD + "对元数据必填项检测", metadataRequiredField, metadataRequiredField == 0 ? "无" : "详见附件", metadataRequiredField == 0 ? 0 : 1));
|
|
|
}
|
|
|
- if(vo.getAuthenticityList().contains("5")){
|
|
|
-
|
|
|
- }
|
|
|
- if(vo.getAuthenticityList().contains("6")){
|
|
|
-
|
|
|
- }
|
|
|
- if(vo.getAuthenticityList().contains("7")){
|
|
|
-
|
|
|
- }
|
|
|
- if(vo.getAuthenticityList().contains("8")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("5")){}
|
|
|
+ if(vo.getAuthenticityList().contains("6")){}
|
|
|
+ if(vo.getAuthenticityList().contains("7")){}
|
|
|
+ if(vo.getAuthenticityList().contains("8")){}
|
|
|
report.setReportDetailStatus(2);
|
|
|
this.updateById(report);
|
|
|
}
|
|
|
@@ -425,9 +403,7 @@ public class ArchiveExaminingReportImpl extends BaseServiceImpl<ArchiveExamining
|
|
|
detailService.save(new ArchiveExaminingReportDetail(vo.getProjectId(), id, ArchiveConstant.ARCHIVE_EXAMINING_USABILITY,
|
|
|
ArchiveConstant.ARCHIVE_EXAMINING_STANDARD + "对信息包中包含的内容数据合规性检测", 0, "无", 0));
|
|
|
}
|
|
|
- if(vo.getAuthenticityList().contains("6")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("6")){}
|
|
|
report.setReportDetailStatus(3);
|
|
|
this.updateById(report);
|
|
|
}
|
|
|
@@ -437,16 +413,12 @@ public class ArchiveExaminingReportImpl extends BaseServiceImpl<ArchiveExamining
|
|
|
detailService.save(new ArchiveExaminingReportDetail(vo.getProjectId(), id, ArchiveConstant.ARCHIVE_EXAMINING_SECURITY,
|
|
|
ArchiveConstant.ARCHIVE_EXAMINING_STANDARD + "对病毒感染检测", 0, "无", 0));
|
|
|
}
|
|
|
- if(vo.getAuthenticityList().contains("2")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("2")){}
|
|
|
if(vo.getAuthenticityList().contains("3")){
|
|
|
detailService.save(new ArchiveExaminingReportDetail(vo.getProjectId(), id, ArchiveConstant.ARCHIVE_EXAMINING_SECURITY,
|
|
|
ArchiveConstant.ARCHIVE_EXAMINING_STANDARD + "对系统环境中是否安装杀毒软件检测", 0, "无", 0));
|
|
|
}
|
|
|
- if(vo.getAuthenticityList().contains("4")){
|
|
|
-
|
|
|
- }
|
|
|
+ if(vo.getAuthenticityList().contains("4")){}
|
|
|
report.setReportDetailStatus(4);
|
|
|
this.updateById(report);
|
|
|
}
|