双重预防项目-国泰新华二开定制版
16639036659
2023-08-25 2165f5c087838fa0a72034a7d6f938ee80d1f0e7
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
package com.ruoyi.project.tr.hiddenDangerCheckPoint.service;
 
import com.ruoyi.doublePrevention.entity.CJReport.CJdto.Data;
import com.ruoyi.project.tr.hiddenDangerCheckPoint.domain.BaseCheckPointDTO;
import com.ruoyi.project.tr.hiddenDangerCheckPoint.domain.HiddenDangerCheckPoint;
import com.ruoyi.project.tr.hiddenDangerCheckPoint.domain.RiskCheckPointDTO;
import com.ruoyi.project.tr.riskCheckPoint.domain.RiskCheckPoint;
 
import java.util.Date;
import java.util.List;
 
/**
 * 隐患排查Service接口
 * 
 *
 * @date 2020-05-08
 */
public interface IHiddenDangerCheckPointService
{
    /**
     * 查询隐患排查
     * 
     * @param id 隐患排查ID
     * @return 隐患排查
     */
    HiddenDangerCheckPoint selectHiddenDangerCheckPointById(Long id);
 
    /**
     * 查询隐患排查列表
     * 
     * @param hiddenDangerCheckPoint 隐患排查
     * @return 隐患排查集合
     */
    List<HiddenDangerCheckPoint> selectHiddenDangerCheckPointList(HiddenDangerCheckPoint hiddenDangerCheckPoint);
 
    /**
     * 新增隐患排查
     * 
     * @param hiddenDangerCheckPoint 隐患排查
     * @return 结果
     */
    int insertHiddenDangerCheckPoint(HiddenDangerCheckPoint hiddenDangerCheckPoint);
 
    /**
     * 修改隐患排查
     * 
     * @param hiddenDangerCheckPoint 隐患排查
     * @return 结果
     */
    int updateHiddenDangerCheckPoint(HiddenDangerCheckPoint hiddenDangerCheckPoint);
 
    /**
     * 批量删除隐患排查
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteHiddenDangerCheckPointByIds(String ids);
 
    /**
     * 删除隐患排查信息
     * 
     * @param id 隐患排查ID
     * @return 结果
     */
    int deleteHiddenDangerCheckPointById(Long id);
 
    /**
     * 查询检查点(根据隐患排查id)
     *
     * @param riskCheckPointDTO
     * @return
     */
    List<RiskCheckPointDTO> selectRiskCheckPointListByCheckId(RiskCheckPointDTO riskCheckPointDTO);
 
 
    /**
     * 查询基础清单检查点(根据隐患排查id)
     *
     * @param baseCheckPointDTO
     * @return
     */
    List<BaseCheckPointDTO> selectBaseCheckPointListByCheckId(BaseCheckPointDTO baseCheckPointDTO);
 
 
    //查询未执行任务总数量
    public void getTaskCountTotal(Long  userId);
 
 
    /**
     * 查询by Id
     */
    HiddenDangerCheckPoint getHiddenDangerCheckPointById(Long dangerCheckPointId);
    /**
     * 查询by CheckId
     */
    List<HiddenDangerCheckPoint> getHiddenDangerCheckPointByCheckId(Long checkId);
 
    int rectifyTimeOut(Long id , Date rectifyDeadlineTime);
}