diff --git a/securitycontrol-model/securitycontrol-screen/src/main/java/com/securitycontrol/screen/controller/ProjectNewController.java b/securitycontrol-model/securitycontrol-screen/src/main/java/com/securitycontrol/screen/controller/ProjectNewController.java index 9af3683..90ea9dd 100644 --- a/securitycontrol-model/securitycontrol-screen/src/main/java/com/securitycontrol/screen/controller/ProjectNewController.java +++ b/securitycontrol-model/securitycontrol-screen/src/main/java/com/securitycontrol/screen/controller/ProjectNewController.java @@ -164,7 +164,7 @@ public class ProjectNewController extends BaseController { @Log(title = "实时监测", menu = "作业环境->实时监测", grade = OperationType.QUERY_BUSINESS, details = "查询实时检测", type = "业务日志") @GetMapping("/export") public void export(@Param("proName") String proName, HttpServletResponse response) throws IOException { - int index = new Random().nextInt(4) + 1; + int index = new Random().nextInt(2) + 1; List screemDocDataList = projectNewService.selectScreenDocData(index); Map screemDocDataMap = screemDocDataList.stream() .collect(Collectors.toMap(