From 7be0d5b901b999d2347774df3cc1a64927838bb3 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期二, 15 四月 2025 10:10:35 +0800 Subject: [PATCH] 优化每年专项数据获取 --- src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java b/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java index b5996ad..7a5d424 100644 --- a/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java +++ b/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java @@ -1,9 +1,6 @@ package com.ruoyi.doublePrevention.service; -import com.ruoyi.doublePrevention.entity.SPI.SPIDataForPieChartRespDTO; -import com.ruoyi.doublePrevention.entity.SPI.SPIDataReqBO; -import com.ruoyi.doublePrevention.entity.SPI.SPIDataRespDTO; -import com.ruoyi.doublePrevention.entity.SPI.TroubleLevel; +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; @@ -15,7 +12,7 @@ */ ResultVO<SPIDataCountRespDTO> listDangerResultCountByMonthOrYear(SPIDataCountReqDTO spiDataCountReqDTO); - ResultVO<SPIDataRespDTO> getSPIData(SPIDataReqBO spiDataReqBO); + ResultVO<TroubleData> getSPIData(SPIDataReqBO spiDataReqBO); ResultVO<TroubleLevel> getSPIDataForPieChart(SPIDataReqBO spiDataReqBO); } -- Gitblit v1.9.2