|
|
@@ -22,11 +22,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.IOException;
|
|
|
import java.net.URLEncoder;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.Calendar;
|
|
|
-import java.util.Collections;
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
+import java.util.*;
|
|
|
|
|
|
/**
|
|
|
* @author :LuoWei
|
|
|
@@ -325,6 +321,16 @@ public class ResumptionReportServiceImpl implements ResumptionReportService {
|
|
|
}
|
|
|
IntrusionTestReportVO intrusionTestReportVO1 = resumptionReportMapper.selectStandbyPower(resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
BeanUtils.copyProperties(intrusionTestReportVO1, intrusionTestReportVO);
|
|
|
+ //隐患
|
|
|
+ Map map = resumptionReportMapper.selectStandbyPowerAbnormalNumber(resumptionDTO.getStartTime(), resumptionDTO.getEndTime(), o.getPath());
|
|
|
+ Object abnormalNumber = map.get("abnormalNumber");
|
|
|
+ intrusionTestReportVO1.setAbnormalNumber(Integer.valueOf(abnormalNumber.toString()));
|
|
|
+
|
|
|
+ Object realityRectificationNumber = map.get("realityRectificationNumber");
|
|
|
+ intrusionTestReportVO1.setRealityRectificationNumber(Integer.valueOf(realityRectificationNumber.toString()));
|
|
|
+
|
|
|
+ Object realityRectificationRate = map.get("realityRectificationRate");
|
|
|
+ intrusionTestReportVO1.setRealityRectificationRate(realityRectificationRate.toString());
|
|
|
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());
|