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);
|
}
|
}
|