package com.gkhy.safePlatform.doublePrevention.service; import com.gkhy.safePlatform.commons.co.ContextCacheUser; import com.gkhy.safePlatform.commons.vo.ResultVO; import com.gkhy.safePlatform.doublePrevention.entity.PreventDangerCheckTask; import com.gkhy.safePlatform.doublePrevention.entity.PreventDangerCheckTaskUnit; import com.gkhy.safePlatform.doublePrevention.entity.PreventDangerCheckWork; import com.gkhy.safePlatform.doublePrevention.entity.PreventRiskAnaUnit; import com.gkhy.safePlatform.doublePrevention.entity.dto.req.*; public interface DangerService { /** * 隐患排查任务单元-分页查询 */ ResultVO getTaskUnitPage(Long userId, PreventDangerCheckTaskUnitQueryReqDTO taskUnitQueryReqDTO); /** * 隐患排查任务单元-新增 */ ResultVO saveTaskUnit(Long userId, PreventDangerCheckTaskUnitSaveReqDTO taskUnitSaveReqDTO); /** * 隐患排查任务单元-修改 */ ResultVO updateTaskUnit(Long userId, PreventDangerCheckTaskUnitUpdateReqDTO taskUnitUpdateReqDTO); /** * 隐患排查任务单元-删除 */ ResultVO deleteTaskUnit(Long userId, PreventDangerCheckTaskUnitDeleteReqDTO taskUnitDeleteReqDTO); /** * 隐患排查任务单元-任务单元列表 */ ResultVO listTaskUnit(Long valueOf); //隐患排查作业 /** * 隐患排查作业-分页查询 */ ResultVO getCheckWorkPage(Long userId, PreventDangerCheckWorkQueryReqDTO workQueryReqDTO); /** * 隐患排查作业-查看检查内容 */ ResultVO getCheckWorkContent(Long userId, PreventDangerCheckWorkContentQueryReqDTO contentReqDTO); /** * 隐患排查作业-新增 */ ResultVO saveCheckWork(Long userId, PreventDangerCheckWorkSaveReqDTO workSaveReqDTO); /** * 隐患排查作业-修改 */ ResultVO updateCheckWork(Long userId, PreventDangerCheckWorkUpdateReqDTO workUpdateReqDTO); /** * 隐患排查作业-删除 */ ResultVO deleteCheckWork(Long userId, PreventDangerCheckWorkDeleteReqDTO workDeleteReqDTO); //隐患排查任务 /** * 隐患排查任务-分页查询 */ ResultVO getTaskPage(Long userId, PreventDangerCheckTaskQueryReqDTO taskQueryReqDTO); /** * 隐患排查任务-手动新增 */ ResultVO saveTask(Long userId, PreventDangerCheckTaskSaveReqDTO taskSaveReqDTO); /** * 隐患排查任务-调度 */ boolean createAutoTask(Long workId); /** * 隐患排查任务-修改 */ ResultVO updateTask(Long userId, PreventDangerCheckTaskUpdateReqDTO taskUpdateReqDTO); /** * 隐患排查任务-删除 */ ResultVO deleteTask(Long userId, PreventDangerCheckTaskDeleteReqDTO taskDeleteReqDTO); /** * 隐患排查作业-任务列表 */ ResultVO listCheckWork(Long userId); /** * 排查作业-手工上报-配置 */ ResultVO updateCheckWorkReport(Long userId, PreventHandReportConfigReqDTO preventHandReportConfigReqDTO); /** * 排查任务-手工上报-配置 */ ResultVO updateCheckTaskReport(Long userId, PreventHandReportConfigReqDTO preventHandReportConfigReqDTO); /** * 排查任务-认领任务 */ ResultVO taskToUser(ContextCacheUser currentUser, PreventDangerCheckTaskDeleteReqDTO taskToUserDTO); }