懒羊羊
2024-01-31 e57a8990ae56f657a59c435a0613c5f7a8728003
提交 | 用户 | 时间
e57a89 1 package com.jcdm.main.da.opcuaconfig.service.impl;
2
3 import com.jcdm.main.da.opcuaconfig.domain.DaOpcuaConfig;
4 import com.jcdm.main.da.opcuaconfig.mapper.DaOpcuaConfigMapper;
5 import com.jcdm.main.da.opcuaconfig.service.IDaOpcuaConfigService;
6 import org.springframework.beans.factory.annotation.Autowired;
7 import org.springframework.stereotype.Service;
8
9 import java.util.List;
10
11 /**
12  * 交互信号配置Service业务层处理
13  * 
14  * @author yyt
15  * @date 2024-01-23
16  */
17 @Service
18 public class DaOpcuaConfigServiceImpl implements IDaOpcuaConfigService
19 {
20     @Autowired
21     private DaOpcuaConfigMapper daOpcuaConfigMapper;
22
23     /**
24      * 查询交互信号配置
25      * 
26      * @param id 交互信号配置主键
27      * @return 交互信号配置
28      */
29     @Override
30     public DaOpcuaConfig selectDaOpcuaConfigById(Long id)
31     {
32         return daOpcuaConfigMapper.selectDaOpcuaConfigById(id);
33     }
34
35     /**
36      * 查询交互信号配置列表
37      * 
38      * @param daOpcuaConfig 交互信号配置
39      * @return 交互信号配置
40      */
41     @Override
42     public List<DaOpcuaConfig> selectDaOpcuaConfigList(DaOpcuaConfig daOpcuaConfig)
43     {
44         return daOpcuaConfigMapper.selectDaOpcuaConfigList(daOpcuaConfig);
45     }
46
47     /**
48      * 新增交互信号配置
49      * 
50      * @param daOpcuaConfig 交互信号配置
51      * @return 结果
52      */
53     @Override
54     public int insertDaOpcuaConfig(DaOpcuaConfig daOpcuaConfig)
55     {
56         return daOpcuaConfigMapper.insertDaOpcuaConfig(daOpcuaConfig);
57     }
58
59     /**
60      * 修改交互信号配置
61      * 
62      * @param daOpcuaConfig 交互信号配置
63      * @return 结果
64      */
65     @Override
66     public int updateDaOpcuaConfig(DaOpcuaConfig daOpcuaConfig)
67     {
68         return daOpcuaConfigMapper.updateDaOpcuaConfig(daOpcuaConfig);
69     }
70
71     /**
72      * 批量删除交互信号配置
73      * 
74      * @param ids 需要删除的交互信号配置主键
75      * @return 结果
76      */
77     @Override
78     public int deleteDaOpcuaConfigByIds(Long[] ids)
79     {
80         return daOpcuaConfigMapper.deleteDaOpcuaConfigByIds(ids);
81     }
82
83     /**
84      * 删除交互信号配置信息
85      * 
86      * @param id 交互信号配置主键
87      * @return 结果
88      */
89     @Override
90     public int deleteDaOpcuaConfigById(Long id)
91     {
92         return daOpcuaConfigMapper.deleteDaOpcuaConfigById(id);
93     }
94 }