From 8772fe61df106727ec8d8918a3186e02d74a70b1 Mon Sep 17 00:00:00 2001 From: 16639036659 <577530412@qq.com> Date: 星期四, 13 六月 2024 14:58:58 +0800 Subject: [PATCH] 日期格式化 --- src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 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..7a5d424 100644 --- a/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java +++ b/src/main/java/com/ruoyi/doublePrevention/service/SPIDataCountService.java @@ -1,7 +1,6 @@ package com.ruoyi.doublePrevention.service; -import com.ruoyi.doublePrevention.entity.SPI.SPIDataReqBO; -import com.ruoyi.doublePrevention.entity.SPI.SPIDataRespDTO; +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; @@ -13,5 +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