huangzhen
2022-09-30 5ea8ef80312e8c1d3365abe7106622d676def195
src/main/java/com/ruoyi/doublePrevention/service/baseService/PreventRiskDangerInfoService.java
@@ -1,6 +1,11 @@
package com.ruoyi.doublePrevention.service.baseService;
import com.ruoyi.doublePrevention.entity.PreventRiskDangerInfo;
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerResultRespDO;
import com.ruoyi.doublePrevention.repository.param.DataCountStartAndEndTimeParams;
import java.util.Date;
import java.util.List;
public interface PreventRiskDangerInfoService {
@@ -16,4 +21,10 @@
     * 删除隐患上报
     */
    int deleteDangerInfo(Long id);
    /**
     * @description 统计时间段内所有、死亡、重伤、轻伤的隐患数量
     */
    DataCountDangerResultRespDO listDangerResultCountByTime(Date startTime, Date endTime, List<Long> depIds);
}