|
|
@@ -268,11 +268,15 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
} else {
|
|
|
sysOrg1 = orgService.selectOrgById(orgService.selectOrgById(o.getParentId(), SecurityConstants.INNER).getParentId(), SecurityConstants.INNER);
|
|
|
}
|
|
|
- IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectServiceBankReport(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);
|
|
|
+ }
|
|
|
BeanUtils.copyProperties(intrusionTestReportVO1, intrusionTestReportVO);
|
|
|
intrusionTestReportVO.setCity(sysOrg1.getShortName().indexOf("地区行社") == -1 ? sysOrg1.getShortName().substring(0, 2) : sysOrg1.getShortName().split("地区行社")[0]);
|
|
|
intrusionTestReportVO.setOrgName(o.getShortName());
|
|
|
- Integer integer = monitorAccessReportMapper.selectNetworkNumberByPath(o.getPath());
|
|
|
intrusionTestReportVO.setNetworkNumber(integer);
|
|
|
intrusionTestReportVOList.add(intrusionTestReportVO);
|
|
|
});
|
|
|
@@ -322,10 +326,16 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
} else {
|
|
|
sysOrg1 = orgService.selectOrgById(orgService.selectOrgById(o.getParentId(), SecurityConstants.INNER).getParentId(), SecurityConstants.INNER);
|
|
|
}
|
|
|
- IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectStandbyPower(resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
- BeanUtils.copyProperties(intrusionTestReportVO1, intrusionTestReportVO);
|
|
|
+ IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectStandbyPower(null,resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
//隐患
|
|
|
- Map map = resumptionReportMapper.selectStandbyPowerAbnormalNumber(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());
|
|
|
+ }
|
|
|
+ BeanUtils.copyProperties(intrusionTestReportVO1, intrusionTestReportVO);
|
|
|
Object abnormalNumber = map.get("abnormalNumber");
|
|
|
intrusionTestReportVO.setAbnormalNumber(Integer.valueOf(abnormalNumber.toString()));
|
|
|
|
|
|
@@ -334,10 +344,9 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
|
|
|
Object realityRectificationRate = map.get("realityRectificationRate");
|
|
|
intrusionTestReportVO.setRealityRectificationRate(realityRectificationRate.toString());
|
|
|
+ intrusionTestReportVO.setNetworkNumber(integer);
|
|
|
intrusionTestReportVO.setCity(sysOrg1.getShortName().indexOf("地区行社") == -1 ? sysOrg1.getShortName().substring(0, 2) : sysOrg1.getShortName().split("地区行社")[0]);
|
|
|
intrusionTestReportVO.setOrgName(o.getShortName());
|
|
|
- Integer integer = monitorAccessReportMapper.selectNetworkNumberByPath(o.getPath());
|
|
|
- intrusionTestReportVO.setNetworkNumber(integer);
|
|
|
intrusionTestReportVOList.add(intrusionTestReportVO);
|
|
|
});
|
|
|
return intrusionTestReportVOList;
|