zhangnaisong
2024-02-22 ef7e86f43eea6fe617323cd027b3cb52a6f0699d
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
package com.ruoyi.alarmpoints.well.service;
 
import java.util.List;
import java.util.Map;
 
import com.github.pagehelper.PageInfo;
import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWell;
import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWellDeptVo;
import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWellParam;
import com.ruoyi.common.core.domain.entity.SysConfig;
 
/**
 * 井管理Service接口
 * 
 * @author 刘苏义
 * @date 2023-03-07
 */
public interface IArdAlarmpointsWellService 
{
    /**
     * 查询井管理
     * 
     * @param id 井管理主键
     * @return 井管理
     */
    public ArdAlarmpointsWell selectArdAlarmpointsWellById(String id);
    /**
     * 查询井管理
     *
     * @param wellId 井管理井号
     * @return 井管理
     */
    public ArdAlarmpointsWell selectArdAlarmpointsWellByWellId(String wellId);
    /**
     * 查询井管理列表
     * 
     * @param ardAlarmpointsWell 井管理
     * @return 井管理集合
     */
    public List<ArdAlarmpointsWell> selectArdAlarmpointsWellList(ArdAlarmpointsWell ardAlarmpointsWell);
 
 
    /**
     *
     * @param ardAlarmpointsWell 按井编号查询
     * @return
     */
    public List<ArdAlarmpointsWell> selectArdAlarmpointsWellByWellIdLike(ArdAlarmpointsWell ardAlarmpointsWell);
 
    /**
     * 新增井管理
     * 
     * @param ardAlarmpointsWell 井管理
     * @return 结果
     */
    public int insertArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell);
 
    /**
     * 修改井管理
     * 
     * @param ardAlarmpointsWell 井管理
     * @return 结果
     */
    public int updateArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell);
    /**
     * 修改井管理按井号
     *
     * @param ardAlarmpointsWell 井管理
     * @return 结果
     */
    public int updateArdAlarmpointsWellByWellId(ArdAlarmpointsWell ardAlarmpointsWell);
    /**
     * 批量删除井管理
     * 
     * @param ids 需要删除的井管理主键集合
     * @return 结果
     */
    public int deleteArdAlarmpointsWellByIds(String[] ids);
 
    /**
     * 删除井管理信息
     * 
     * @param id 井管理主键
     * @return 结果
     */
    public int deleteArdAlarmpointsWellById(String id);
    /**
     * 导入井管理数据
     *
     * @param ardAlarmpointsWellList 井数据列表
     * @param isUpdateSupport 是否更新支持,如果已存在,则进行更新数据
     * @param operName 操作用户
     * @return 结果
     */
    public String importWell(List<ArdAlarmpointsWell> ardAlarmpointsWellList, Boolean isUpdateSupport, String operName);
    /**
     * 校验用户是否有数据权限
     *
     * @param userId 用户id
     */
    public void checkWellDataScope(String userId);
 
    /**
     * 校验井是否允许操作
     *
     * @param well 井信息
     */
    public void checkWellAllowed(ArdAlarmpointsWell well);
 
    /**
     * 核对井号是否唯一
     *
     * @param well 需要核对的井
     * @return 结果
     */
 
    public Boolean checkWellIdExists(ArdAlarmpointsWell well);
 
    List<ArdAlarmpointsWell> wellByDeptList(List<Long> deptList);
 
    ArdAlarmpointsWell wellById(String id);
 
    List<ArdAlarmpointsWell> wellList(List<Long> deptList);
 
    PageInfo<ArdAlarmpointsWell> conditionList(ArdAlarmpointsWellParam ardAlarmpointsWellParam);
 
    List<ArdAlarmpointsWellDeptVo> wellListDept(List<Long> deptList);
    /**
     * 获取附近的井
     * 刘苏义
     * 2023/9/27 10:26:35
     */
    List<ArdAlarmpointsWell> getNearbyWellList(Double longitudeCenter,Double latitudeCenter, Long deptId,Integer range);
 
 
    /**
     * 查询油井动静态数据
     */
    Map<String,Object> getWellDataByWellId(String wellId, List<SysConfig> config);
 
    Map<String,Object> getWellDataByPatrolplanIdAndPosition(Map<String,Object> para,List<SysConfig> sysConfigResult);
 
    ArdAlarmpointsWell getWellById(String id);
}