张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
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
package com.thhy.usercore.modules.sys.sysbutton.service.impl;
 
import com.thhy.usercore.modules.sys.sysbutton.entity.SysRoleButton;
import com.thhy.usercore.modules.sys.sysbutton.mapper.SysRoleButtonMapper;
import com.thhy.usercore.modules.sys.sysbutton.service.ISysRoleButtonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.io.Serializable;
import java.util.List;
 
/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhang_xiao_bo
 * @since 2022-04-01
 */
@Service
public class SysRoleButtonServiceImpl implements ISysRoleButtonService {
 
 
    @Autowired
    private SysRoleButtonMapper sysRoleButtonMapper;
 
    public SysRoleButton get(Serializable id){
        return sysRoleButtonMapper.queryById(id);
    }
 
    public List<SysRoleButton> findList(SysRoleButton sysRoleButton){
        return sysRoleButtonMapper.findList(sysRoleButton);
    }
 
    public int insert(SysRoleButton sysRoleButton){
        return sysRoleButtonMapper.insert(sysRoleButton);
    }
 
    public int update(SysRoleButton sysRoleButton){
        return sysRoleButtonMapper.update(sysRoleButton);
    }
}