双重预防项目-国泰新华二开定制版
16639036659
2022-10-31 5334a4a5d54f2d826bbf248fc05c8fc8e612b677
src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java
@@ -3,6 +3,7 @@
import com.ruoyi.doublePrevention.entity.PreventRiskDangerInfo;
import com.ruoyi.doublePrevention.entity.dto.DataCountDangerResultRespDO;
import com.ruoyi.doublePrevention.repository.param.DataCountStartAndEndTimeParams;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@@ -31,4 +32,15 @@
     * @description 统计时间段内所有、死亡、重伤、轻伤的隐患数量
     */
    DataCountDangerResultRespDO listDangerResultCountByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime,@Param("depIds") List<Long> depIds);
    /**
     * 搜索需要上报的隐患
     */
    List<PreventRiskDangerInfo> listReportDanger();
    /**
     * 修改上报的数据的姿态
     */
    PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam);
}