jinpengyong
2020-05-19 409851cc3f33d3fd016e20518f90a2c093e9e1db
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);
}