package com.ruoyi.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.ruoyi.doublePrevention.entity.CJReport.PreventCJReportDangerInfo;
|
import com.ruoyi.doublePrevention.repository.param.HandlerCJReportParam;
|
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Repository
|
public interface PreventCJReportDangerInfoRepository extends BaseMapper<PreventCJReportDangerInfo> {
|
//
|
// /**
|
// * 上报数据-隐患信息-分页查询
|
// */
|
// IPage<PreventCJReportDangerInfo> getReportDangerInfoPage(Page<Object> objectPage, PreventReportDangerInfoReqDTO queryReqDTO);
|
/**
|
* 上报数据-待上报数据查询
|
*/
|
List<PreventCJReportDangerInfo> listReportDangerDate();
|
/**
|
* 上报数据-待上报状态变更
|
*/
|
int updateTaskReportStatus(HandlerReportParam handlerReportParam);
|
/**
|
* 上报数据-待上报状态变更-通过id
|
*/
|
int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);
|
/**
|
* 上报数据-插入
|
*/
|
int insertDangerInfo(PreventCJReportDangerInfo danger);
|
|
List<PreventCJReportDangerInfo> getDangerListForCheckTask();
|
|
PreventCJReportDangerInfo getDangerById(String dangerId);
|
}
|