燕山石化溯源三维电子沙盘-【后端】-服务
1
13693261870
2024-11-20 74e3485e6bae63e73f5d3be8b36c671e30aa389d
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
package com.yssh.service;
 
import java.util.List;
 
import com.yssh.entity.AlertConfig;
import org.springframework.stereotype.Service;
 
import com.yssh.mapper.AlertConfigMapper;
 
import javax.annotation.Resource;
 
@Service
public class AlertConfigService {
    @Resource
    private AlertConfigMapper alertConfigMapper;
 
    public List<AlertConfig> getAll() {
        return alertConfigMapper.getAll();
    }
 
    public List<AlertConfig> query(Integer id) {
        return alertConfigMapper.query(id);
    }
 
    public int update(AlertConfig config) {
        return alertConfigMapper.update(config);
    }
 
    public int insert(AlertConfig config) {
        return alertConfigMapper.insert(config);
    }
 
    public int delete(Integer id) {
        return alertConfigMapper.delete(id);
    }
}