jinpengyong
2021-05-25 3689936045a84b2c29899bee8680b2129e8ef43a
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
package com.moral.api.service;
 
import java.util.List;
import java.util.Map;
 
import com.moral.api.entity.Device;
import com.baomidou.mybatisplus.extension.service.IService;
 
/**
 * <p>
 * 设备表 服务类
 * </p>
 *
 * @author moral
 * @since 2021-05-11
 */
public interface DeviceService extends IService<Device> {
 
    //设备添加
    void insert(Device device);
 
    //删除设备
    void delete(Integer deviceId);
 
    //修改设备
    void update(Device device);
 
    //所有维护人
    List<Map<String, Object>> selectAllOperators();
 
    //设备相关字典数据
    List<Map<String, Object>> selectDeviceDictData(String dictType);
 
    //查询所有组织
    List<Map<String, Object>> selectAllOrganization();
 
    //查询所有站点
    List<Map<String, Object>> selectAllMonitorPoint();
 
    //根据组织查询站点
    List<Map<String, Object>> selectMonitorsByOrgId(Integer orgId);
 
    //根据组织查询设备
    List<Map<String, Object>> selectDevicesByOrgId(Integer orgId);
 
    //根据站点查询设备
    List<Map<String, Object>> selectDevicesByMpId(Integer orgId);
 
    //分页获取所有设备列表
    Map<String, Object> selectDevices(Map<String, Object> parameters);
 
    //根据设备id查询设备组织,站点,维护人,行业,工艺,设备检测器,采购商等信息
    Map<String, Object> selectDeviceInfoById(Integer deviceId);
 
}