From 21e7d491658dbd969adbcf0bc2f13a5d563ab863 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期四, 25 四月 2024 13:25:35 +0800
Subject: [PATCH] SPI数据,隐患等级饼图信息独立出来,调整查询方式

---
 src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java |    4 ++++
 1 files changed, 4 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 0aa1580..b5996ad 100644
--- a/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java
+++ b/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java
@@ -1,7 +1,9 @@
 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.dto.req.SPIDataCountReqDTO;
 import com.ruoyi.doublePrevention.entity.dto.resp.SPIDataCountRespDTO;
 import com.ruoyi.doublePrevention.vo.ResultVO;
@@ -14,4 +16,6 @@
     ResultVO<SPIDataCountRespDTO> listDangerResultCountByMonthOrYear(SPIDataCountReqDTO spiDataCountReqDTO);
 
     ResultVO<SPIDataRespDTO> getSPIData(SPIDataReqBO spiDataReqBO);
+
+    ResultVO<TroubleLevel> getSPIDataForPieChart(SPIDataReqBO spiDataReqBO);
 }

--
Gitblit v1.9.2