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