双重预防项目-国泰新华二开定制版
16639036659
2024-04-23 d91ee46e736cd877ee9c55e6917f135e5ffd1338
src/main/java/com/ruoyi/doublePrevention/service/baseService/impl/TrHiddenDangerCheckPointServiceImpl.java
@@ -1,5 +1,8 @@
package com.ruoyi.doublePrevention.service.baseService.impl;
import com.ruoyi.doublePrevention.entity.SPI.SPIDataReqBO;
import com.ruoyi.doublePrevention.entity.SPI.TroubleData;
import com.ruoyi.doublePrevention.entity.SPI.TroubleLevel;
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerLevelRectifiedRespDO;
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerLevelRespDO;
import com.ruoyi.doublePrevention.repository.TrHiddenDangerCheckPointRepository;
@@ -31,4 +34,14 @@
    public DataCountDangerLevelRectifiedRespDO listDangerLevelRectifiedCountByTime(Date startTime, Date endTime, List<Long> depIds) {
        return checkPointRepository.listDangerLevelRectifiedCountByTime(startTime,endTime,depIds);
    }
    @Override
    public List<TroubleData> getSPIData(SPIDataReqBO spiDataReqBO) {
        return  checkPointRepository.getSPIData(spiDataReqBO);
    }
    @Override
    public TroubleLevel getTroubleLevel(SPIDataReqBO spiDataReqBO) {
        return checkPointRepository.getTroubleLevel(spiDataReqBO);
    }
}