From c588bf4ecd889823225b4d0ec37edf8924894c4a Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期日, 28 四月 2024 13:07:49 +0800 Subject: [PATCH] SPI数据按照需求调整 --- src/main/java/com/ruoyi/doublePrevention/controller/SPIDataController.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/controller/SPIDataController.java b/src/main/java/com/ruoyi/doublePrevention/controller/SPIDataController.java index 92433a0..102c3e8 100644 --- a/src/main/java/com/ruoyi/doublePrevention/controller/SPIDataController.java +++ b/src/main/java/com/ruoyi/doublePrevention/controller/SPIDataController.java @@ -1,10 +1,7 @@ package com.ruoyi.doublePrevention.controller; -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.service.SPIDataCountService; import com.ruoyi.doublePrevention.vo.ResultVO; import org.springframework.beans.factory.annotation.Autowired; @@ -21,7 +18,7 @@ private SPIDataCountService spiDataCountService; @PostMapping("/select/getSPIData") - public ResultVO<SPIDataRespDTO> getSPIData(@RequestBody SPIDataReqBO spiDataReqBO) { + public ResultVO<TroubleData> getSPIData(@RequestBody SPIDataReqBO spiDataReqBO) { return spiDataCountService.getSPIData(spiDataReqBO); } -- Gitblit v1.9.2