kaiyu
2020-09-28 c159a9fe4d8269dd7d29f879db6ef7202a074154
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
package com.moral.mapper;
 
import java.util.List;
import java.util.Map;
 
import com.moral.entity.alarm.AlarmConfig;
 
public interface AlarmConfigMapper {
    int deleteByPrimaryKey(Integer id);
 
    int insert(AlarmConfig record);
 
    int insertSelective(AlarmConfig record);
 
    AlarmConfig selectByPrimaryKey(Integer id);
    //根据组织id获取三级警报阀值
    AlarmConfig selectByOrganizationId(Integer organizationId);
    
    int updateByPrimaryKeySelective(AlarmConfig record);
 
    int updateByPrimaryKey(AlarmConfig record);
 
    AlarmConfig selectByMonitorPointId(Integer mpId);
 
    AlarmConfig selectByDeviceMac(String mac);
}