双重预防项目-国泰新华二开定制版
huangzhen
2022-09-30 679dfe8a68fe56100e708f112c1060d661d7b136
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.ruoyi.doublePrevention.repository;
 
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerLevelRectifiedRespDO;
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerLevelRespDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.Date;
import java.util.List;
 
@Repository
public interface TrHiddenDangerCheckPointRepository {
 
    /**
     * @description 统计时间段内一般、重大、一般已整改、重大已整改的隐患数量
     */
    DataCountDangerLevelRespDO listDangerLevelCountByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime, @Param("depIds") List<Long> depIds);
 
    /**
     * @description 统计时间段内一般已整改、重大已整改的隐患数量
     */
    DataCountDangerLevelRectifiedRespDO listDangerLevelRectifiedCountByTime(@Param("startTime") Date startTime,
                                                                            @Param("endTime") Date endTime,@Param("depIds") List<Long> depIds);
}