From 135a322f44708b1187d37ea4b6859b5d82113e89 Mon Sep 17 00:00:00 2001 From: kongzy <kongzy> Date: 星期三, 14 八月 2024 11:00:30 +0800 Subject: [PATCH] update gitignore --- src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java | 102 +++++++++++++++++++++++++------------------------- 1 files changed, 51 insertions(+), 51 deletions(-) diff --git a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java index 18da464..3d1ad90 100644 --- a/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java +++ b/src/main/java/com/ruoyi/doublePrevention/repository/PreventRiskDangerInfoRepository.java @@ -1,51 +1,51 @@ -package com.ruoyi.doublePrevention.repository; - -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; - -import java.util.Date; -import java.util.List; - -@Repository -public interface PreventRiskDangerInfoRepository { - - /** - * 新增隐患上报 - * */ - int insertDangerInfo(PreventRiskDangerInfo dangerInfo); - /** - * 修改隐患上报 - * */ - int updateDangerInfo(PreventRiskDangerInfo dangerInfo); - - int deleteDangerInfo(Long id); - /** - * 修改隐患整改状态 - */ - int updateDangerInfoState(PreventRiskDangerInfo dangerInfo); - - /** - * @description 统计时间段内所有、死亡、重伤、轻伤的隐患数量 - */ - DataCountDangerResultRespDO listDangerResultCountByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime,@Param("depIds") List<Long> depIds); - - - - /** - * 搜索需要上报的隐患 - */ - List<PreventRiskDangerInfo> listReportDanger(); - /** - * 修改上报的数据的姿态 - */ - PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam); - /** - * 查询隐患附属表信息 - */ - PreventRiskDangerInfo getByHiddenDangerId(Long id); - -} +package com.ruoyi.doublePrevention.repository; + +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; + +import java.util.Date; +import java.util.List; + +@Repository +public interface PreventRiskDangerInfoRepository { + + /** + * 新增隐患上报 + * */ + int insertDangerInfo(PreventRiskDangerInfo dangerInfo); + /** + * 修改隐患上报 + * */ + int updateDangerInfo(PreventRiskDangerInfo dangerInfo); + + int deleteDangerInfo(Long id); + /** + * 修改隐患整改状态 + */ + int updateDangerInfoState(PreventRiskDangerInfo dangerInfo); + + /** + * @description 统计时间段内所有、死亡、重伤、轻伤的隐患数量 + */ + DataCountDangerResultRespDO listDangerResultCountByTime(@Param("startTime") Date startTime, @Param("endTime") Date endTime,@Param("depIds") List<Long> depIds); + + + + /** + * 搜索需要上报的隐患 + */ + List<PreventRiskDangerInfo> listReportDanger(); + /** + * 修改上报的数据的姿态 + */ + PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam); + /** + * 查询隐患附属表信息 + */ + PreventRiskDangerInfo getByHiddenDangerId(Long id); + +} -- Gitblit v1.9.2