郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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);
 
}