liurunyu
2024-08-15 f7e731bdc2fce4445c0d22993134c6c2b07d207b
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
package com.ruoyi.system.service.impl;
 
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.NettyUpgradeContentMapper;
import com.ruoyi.system.domain.NettyUpgradeContent;
import com.ruoyi.system.service.INettyUpgradeContentService;
 
/**
 * 升级内容详情Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-10-11
 */
@Service
public class NettyUpgradeContentServiceImpl implements INettyUpgradeContentService 
{
    @Autowired
    private NettyUpgradeContentMapper nettyUpgradeContentMapper;
 
    /**
     * 查询升级内容详情
     * 
     * @param id 升级内容详情主键
     * @return 升级内容详情
     */
    @Override
    public NettyUpgradeContent selectNettyUpgradeContentById(Long id)
    {
        return nettyUpgradeContentMapper.selectNettyUpgradeContentById(id);
    }
 
    /**
     * 查询升级内容详情列表
     * 
     * @param nettyUpgradeContent 升级内容详情
     * @return 升级内容详情
     */
    @Override
    public List<NettyUpgradeContent> selectNettyUpgradeContentList(NettyUpgradeContent nettyUpgradeContent)
    {
        return nettyUpgradeContentMapper.selectNettyUpgradeContentList(nettyUpgradeContent);
    }
 
    /**
     * 新增升级内容详情
     * 
     * @param nettyUpgradeContent 升级内容详情
     * @return 结果
     */
    @Override
    public int insertNettyUpgradeContent(NettyUpgradeContent nettyUpgradeContent)
    {
        return nettyUpgradeContentMapper.insertNettyUpgradeContent(nettyUpgradeContent);
    }
 
    /**
     * 修改升级内容详情
     * 
     * @param nettyUpgradeContent 升级内容详情
     * @return 结果
     */
    @Override
    public int updateNettyUpgradeContent(NettyUpgradeContent nettyUpgradeContent)
    {
        return nettyUpgradeContentMapper.updateNettyUpgradeContent(nettyUpgradeContent);
    }
 
    /**
     * 批量删除升级内容详情
     * 
     * @param ids 需要删除的升级内容详情主键
     * @return 结果
     */
    @Override
    public int deleteNettyUpgradeContentByIds(Long[] ids)
    {
        return nettyUpgradeContentMapper.deleteNettyUpgradeContentByIds(ids);
    }
 
    /**
     * 删除升级内容详情信息
     * 
     * @param id 升级内容详情主键
     * @return 结果
     */
    @Override
    public int deleteNettyUpgradeContentById(Long id)
    {
        return nettyUpgradeContentMapper.deleteNettyUpgradeContentById(id);
    }
}