package com.gkhy.safePlatform.doublePrevention.repository; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.gkhy.safePlatform.doublePrevention.entity.CJReport.PreventCJReportDangerInfo; import com.gkhy.safePlatform.doublePrevention.entity.PreventReportDangerInfo; import com.gkhy.safePlatform.doublePrevention.entity.dto.report.req.PreventReportDangerInfoReqDTO; import com.gkhy.safePlatform.doublePrevention.repository.param.HandlerCJReportParam; import com.gkhy.safePlatform.doublePrevention.repository.param.HandlerReportParam; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface PreventCJReportDangerInfoRepository extends BaseMapper { /** * 上报数据-隐患信息-分页查询 */ IPage getReportDangerInfoPage(Page objectPage, PreventReportDangerInfoReqDTO queryReqDTO); /** * 上报数据-待上报数据查询 */ List listReportDangerDate(); /** * 上报数据-待上报状态变更 */ int updateTaskReportStatus(HandlerReportParam handlerReportParam); /** * 上报数据-待上报状态变更-通过id */ int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam); }