package com.gk.hotwork.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.gk.hotwork.doublePrevention.entity.PreventDangerRectify;
|
import com.gk.hotwork.doublePrevention.entity.dto.req.PreventDangerRectifyQueryReqDTO;
|
import com.gk.hotwork.doublePrevention.entity.dto.req.PreventRectifyOverQueryReqDTO;
|
import com.gk.hotwork.doublePrevention.repository.param.*;
|
import org.springframework.stereotype.Repository;
|
|
@Repository
|
public interface PreventDangerRectifyRepository extends BaseMapper<PreventDangerRectify> {
|
|
|
/**
|
* 隐患整改清单-分页查询
|
*/
|
IPage<PreventDangerRectify> getDangerRectifyPage(Page<Object> page, PreventDangerRectifyQueryReqDTO rectifyQueryReqDTO);
|
/**
|
* 隐患整改清单-修改
|
*/
|
int updateDangerRectify(PreventDangerRectifyUpdateParams updateParams);
|
/**
|
* 隐患整改清单-删除
|
*/
|
int deleteDangerRectify(PreventDeleteParams deleteParams);
|
/**
|
* 隐患整改清单-整改验收报告
|
*/
|
int applyReport(PreventDangerReportRectifyUpdayeParams reportParams);
|
/**
|
* 隐患整改清单-根据隐患单Code查询
|
*/
|
PreventDangerRectify getRectifyByCode(String dangerCode);
|
/**
|
* 隐患整改清单-延期
|
*/
|
int updateRectifyTime(PreventDangerRectifyUpdateParams updateParams);
|
/**
|
* 隐患整改清单-根据ID查询
|
*/
|
PreventDangerRectify getRectifyById(Long id);
|
/**
|
* 隐患整改清单-验收
|
*/
|
int reportRectify(PreventDangerReportRectifyUpdayeParams reportParams);
|
/**
|
* 隐患整改清单-关闭整改单
|
*/
|
int closeDanger(CloseDangerParams closeDangerParams);
|
/**
|
* 隐患整改清单-根据ManageID查询
|
*/
|
PreventDangerRectify getRectifyByManageId(Long manageId);
|
/**
|
* 隐患整改清单-已整改-分页查询
|
*/
|
IPage<PreventDangerRectify> getRectifyOverPage(Page<Object> objectPage, PreventRectifyOverQueryReqDTO rectifyOverQueryReqDTO);
|
/**
|
* 隐患整改清单-根据ManageID查询-包含删除数据
|
*/
|
PreventDangerRectify getRectifyByManageIdForReport(Long manageId);
|
/**
|
* 隐患整改清单-变更上报状态
|
*/
|
int updateRectifyReportStatus(HandlerReportParam handlerReportParam);
|
|
IPage<PreventDangerRectify> getDangerRectifyPageToOverRectify(Page<Object> objectPage, PreventRectifyOverQueryReqDTO rectifyOverQueryReqDTO);
|
|
}
|