From 8e3dd5851dcedef5b21858dc1cfd5d11f1965ce6 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期五, 04 七月 2025 13:38:25 +0800 Subject: [PATCH] 优化处理 --- src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java b/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java index 2262ada..7a5d424 100644 --- a/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java +++ b/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java @@ -1,5 +1,6 @@ package com.ruoyi.doublePrevention.service; +import com.ruoyi.doublePrevention.entity.SPI.*; import com.ruoyi.doublePrevention.entity.dto.req.SPIDataCountReqDTO; import com.ruoyi.doublePrevention.entity.dto.resp.SPIDataCountRespDTO; import com.ruoyi.doublePrevention.vo.ResultVO; @@ -10,4 +11,8 @@ * 数据统计-隐患数据统计-根据月或者年 */ ResultVO<SPIDataCountRespDTO> listDangerResultCountByMonthOrYear(SPIDataCountReqDTO spiDataCountReqDTO); + + ResultVO<TroubleData> getSPIData(SPIDataReqBO spiDataReqBO); + + ResultVO<TroubleLevel> getSPIDataForPieChart(SPIDataReqBO spiDataReqBO); } -- Gitblit v1.9.2