双重预防项目-国泰新华二开定制版
16639036659
2024-06-12 1faff58d2b3291a4d579c6aa6fee8c8a0b77ea47
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);
    }