|
|
@@ -204,11 +204,20 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
}
|
|
|
IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectIntrusionTestReport(null, resumptionDTO.getSearchTime(), o.getPath());
|
|
|
Integer integer = monitorAccessReportMapper.selectNetworkNumberByPath(o.getPath());
|
|
|
+ //隐患
|
|
|
+ Map map = resumptionReportMapper.selectIntrusionTestAbnormalNumber(null, resumptionDTO.getSearchTime(), o.getPath());
|
|
|
if (o.getType() == 4) {
|
|
|
integer = 1;
|
|
|
intrusionTestReportVO1 = resumptionReportMapper.selectIntrusionTestReport(o.getId(), resumptionDTO.getSearchTime(), null);
|
|
|
+ map = resumptionReportMapper.selectIntrusionTestAbnormalNumber(o.getId(), resumptionDTO.getSearchTime(), null);
|
|
|
}
|
|
|
BeanUtils.copyProperties(intrusionTestReportVO1, intrusionTestReportVO);
|
|
|
+ Object abnormalNumber = map.get("abnormalNumber");
|
|
|
+ Object realityRectificationNumber = map.get("realityRectificationNumber");
|
|
|
+ Object realityRectificationRate = map.get("realityRectificationRate");
|
|
|
+ intrusionTestReportVO.setAbnormalNumber(Integer.valueOf(abnormalNumber.toString()));
|
|
|
+ intrusionTestReportVO.setRealityRectificationNumber(Integer.valueOf(realityRectificationNumber.toString()));
|
|
|
+ intrusionTestReportVO.setRealityRectificationRate(realityRectificationRate.toString());
|
|
|
intrusionTestReportVO.setCity(sysOrg1.getShortName().indexOf("地区行社") == -1 ? sysOrg1.getShortName().substring(0, 2) : sysOrg1.getShortName().split("地区行社")[0]);
|
|
|
intrusionTestReportVO.setOrgName(o.getShortName());
|
|
|
intrusionTestReportVO.setNetworkNumber(integer);
|
|
|
@@ -268,11 +277,11 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
} else {
|
|
|
sysOrg1 = orgService.selectOrgById(orgService.selectOrgById(o.getParentId(), SecurityConstants.INNER).getParentId(), SecurityConstants.INNER);
|
|
|
}
|
|
|
- IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectServiceBankReport(null,resumptionDTO.getSearchTime(), o.getPath());
|
|
|
+ IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectServiceBankReport(null, resumptionDTO.getSearchTime(), o.getPath());
|
|
|
Integer integer = monitorAccessReportMapper.selectNetworkNumberByPath(o.getPath());
|
|
|
- if (o.getType()==4){
|
|
|
- integer=1;
|
|
|
- intrusionTestReportVO1 = resumptionReportMapper.selectServiceBankReport(o.getId(),resumptionDTO.getSearchTime(), null);
|
|
|
+ if (o.getType() == 4) {
|
|
|
+ integer = 1;
|
|
|
+ intrusionTestReportVO1 = resumptionReportMapper.selectServiceBankReport(o.getId(), resumptionDTO.getSearchTime(), null);
|
|
|
}
|
|
|
BeanUtils.copyProperties(intrusionTestReportVO1, intrusionTestReportVO);
|
|
|
intrusionTestReportVO.setCity(sysOrg1.getShortName().indexOf("地区行社") == -1 ? sysOrg1.getShortName().substring(0, 2) : sysOrg1.getShortName().split("地区行社")[0]);
|
|
|
@@ -326,14 +335,14 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
} else {
|
|
|
sysOrg1 = orgService.selectOrgById(orgService.selectOrgById(o.getParentId(), SecurityConstants.INNER).getParentId(), SecurityConstants.INNER);
|
|
|
}
|
|
|
- IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectStandbyPower(null,resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
+ IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectStandbyPower(null, resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
//隐患
|
|
|
- Map map = resumptionReportMapper.selectStandbyPowerAbnormalNumber(null,resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
+ Map map = resumptionReportMapper.selectStandbyPowerAbnormalNumber(null, resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
Integer integer = monitorAccessReportMapper.selectNetworkNumberByPath(o.getPath());
|
|
|
- if (o.getType()==4){
|
|
|
- integer=1;
|
|
|
- map = resumptionReportMapper.selectStandbyPowerAbnormalNumber(o.getId(),resumptionDTO.getStartTime(), resumptionDTO.getEndTime(),null);
|
|
|
- intrusionTestReportVO1 = resumptionReportMapper.selectStandbyPower(null,resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
+ if (o.getType() == 4) {
|
|
|
+ integer = 1;
|
|
|
+ map = resumptionReportMapper.selectStandbyPowerAbnormalNumber(o.getId(), resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), null);
|
|
|
+ intrusionTestReportVO1 = resumptionReportMapper.selectStandbyPower(null, resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
}
|
|
|
BeanUtils.copyProperties(intrusionTestReportVO1, intrusionTestReportVO);
|
|
|
Object abnormalNumber = map.get("abnormalNumber");
|