春风项目四线(合箱线、总装线)
懒羊羊
2024-01-08 fd220719968cd03cf50bb43dfca021ad0d256b4e
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
package com.jcdm.main.em.equipmentAlarm.service.impl;
 
import java.util.List;
 
import com.jcdm.main.em.equipmentAlarm.domain.EmEquipmentAlarm;
import com.jcdm.main.em.equipmentAlarm.mapper.EmEquipmentAlarmMapper;
import com.jcdm.main.em.equipmentAlarm.service.IEmEquipmentAlarmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
/**
 * 设备报警Service业务层处理
 * 
 * @author ruimin
 * @date 2023-12-15
 */
@Service
public class EmEquipmentAlarmServiceImpl implements IEmEquipmentAlarmService
{
    @Autowired
    private EmEquipmentAlarmMapper emEquipmentAlarmMapper;
 
    /**
     * 查询设备报警
     * 
     * @param id 设备报警主键
     * @return 设备报警
     */
    @Override
    public EmEquipmentAlarm selectEmEquipmentAlarmById(Long id)
    {
        return emEquipmentAlarmMapper.selectEmEquipmentAlarmById(id);
    }
 
    /**
     * 查询设备报警列表
     * 
     * @param emEquipmentAlarm 设备报警
     * @return 设备报警
     */
    @Override
    public List<EmEquipmentAlarm> selectEmEquipmentAlarmList(EmEquipmentAlarm emEquipmentAlarm)
    {
        return emEquipmentAlarmMapper.selectEmEquipmentAlarmList(emEquipmentAlarm);
    }
 
    /**
     * 新增设备报警
     * 
     * @param emEquipmentAlarm 设备报警
     * @return 结果
     */
    @Override
    public int insertEmEquipmentAlarm(EmEquipmentAlarm emEquipmentAlarm)
    {
        return emEquipmentAlarmMapper.insertEmEquipmentAlarm(emEquipmentAlarm);
    }
 
    /**
     * 修改设备报警
     * 
     * @param emEquipmentAlarm 设备报警
     * @return 结果
     */
    @Override
    public int updateEmEquipmentAlarm(EmEquipmentAlarm emEquipmentAlarm)
    {
        return emEquipmentAlarmMapper.updateEmEquipmentAlarm(emEquipmentAlarm);
    }
 
    /**
     * 批量删除设备报警
     * 
     * @param ids 需要删除的设备报警主键
     * @return 结果
     */
    @Override
    public int deleteEmEquipmentAlarmByIds(Long[] ids)
    {
        return emEquipmentAlarmMapper.deleteEmEquipmentAlarmByIds(ids);
    }
 
    /**
     * 删除设备报警信息
     * 
     * @param id 设备报警主键
     * @return 结果
     */
    @Override
    public int deleteEmEquipmentAlarmById(Long id)
    {
        return emEquipmentAlarmMapper.deleteEmEquipmentAlarmById(id);
    }
}