package com.gkhy.safePlatform.doublePrevention.service.baseService; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import com.gkhy.safePlatform.doublePrevention.entity.PreventDangerManage; import com.gkhy.safePlatform.doublePrevention.entity.PreventDangerRectify; import com.gkhy.safePlatform.doublePrevention.entity.dto.req.PreventDangerRectifyQueryReqDTO; import com.gkhy.safePlatform.doublePrevention.entity.dto.req.PreventDangerRectifyUpdateReqDTO; import com.gkhy.safePlatform.doublePrevention.entity.dto.req.PreventRectifyOverQueryReqDTO; import com.gkhy.safePlatform.doublePrevention.repository.param.*; public interface PreventDangerRectifyService extends IService { /** * 隐患整改清单-分页查询 */ IPage getDangerRectifyPage(Page objectPage, PreventDangerRectifyQueryReqDTO rectifyQueryReqDTO); /** * 隐患整改清单-新增 */ int saveDangerRectify(PreventDangerRectify dangerRectify); /** * 隐患整改清单-修改 */ int updateDangerRectify(PreventDangerRectifyUpdateParams updateParams); /** * 隐患整改清单-删除 */ int deleteDangerRectify(PreventDeleteParams deleteParams); /** * 隐患整改清单-根据隐患单Code查询 */ PreventDangerRectify getRectifyByCode(String dangerCode); /** * 隐患整改清单-延期 */ int updateRectifyTime(PreventDangerRectifyUpdateParams updateParams); /** * 隐患整改清单-根据ID查询 */ PreventDangerRectify getRectifyById(Long id); /** * 隐患整改清单-验收申请 */ int applyReport(PreventDangerReportRectifyUpdayeParams reportParams); /** * 隐患整改清单-验收 */ int reportRectify(PreventDangerReportRectifyUpdayeParams reportParams); /** * 隐患整改清单-关闭整改单 */ int closeDanger(CloseDangerParams closeDangerParams); /** * 隐患整改清单-关闭整改单 */ IPage getRectifyOverPage(Page objectPage, PreventRectifyOverQueryReqDTO rectifyOverQueryReqDTO); IPage getDangerRectifyPageToOverRectify(Page objectPage, PreventRectifyOverQueryReqDTO rectifyOverQueryReqDTO); /** * 隐患整改清单-根据ManageID查询 */ PreventDangerRectify getRectifyByManageId(Long manageId); /** * 隐患整改清单-根据ManageID查询-包含删除数据 */ PreventDangerRectify getRectifyByManageIdForReport(Long manageId); /** * 隐患整改清单-变更上报状态 */ void updateRectifyReportStatus(HandlerReportParam handlerReportParam); }