对比新文件 |
| | |
| | | package com.lf.server.service.sys; |
| | | |
| | | import com.lf.server.entity.sys.RoleMenuAuthEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.mapper.sys.RoleMenuAuthMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 瑙掕壊-鑿滃崟 |
| | | * @author WWW |
| | | */ |
| | | @Service |
| | | public class RoleMenuAuthService implements RoleMenuAuthMapper { |
| | | @Autowired |
| | | RoleMenuAuthMapper roleMenuAuthMapper; |
| | | |
| | | @Override |
| | | public Integer selectCount(Integer roleid) { |
| | | return roleMenuAuthMapper.selectCount(roleid); |
| | | } |
| | | |
| | | @Override |
| | | public List<RoleMenuAuthEntity> selectByPage(Integer roleid, Integer limit, Integer offset) { |
| | | return roleMenuAuthMapper.selectByPage(roleid, limit, offset); |
| | | } |
| | | |
| | | @Override |
| | | public Integer selectCountForRole(Integer roleid, Integer menuid) { |
| | | return roleMenuAuthMapper.selectCountForRole(roleid, menuid); |
| | | } |
| | | |
| | | @Override |
| | | public List<RoleMenuAuthEntity> selectByPageForRole(Integer roleid, Integer menuid, Integer limit, Integer offset) { |
| | | return roleMenuAuthMapper.selectByPageForRole(roleid, menuid, limit, offset); |
| | | } |
| | | |
| | | @Override |
| | | public List<RoleMenuAuthEntity> selectAll() { |
| | | return roleMenuAuthMapper.selectAll(); |
| | | } |
| | | |
| | | @Override |
| | | public RoleMenuAuthEntity selectById(int id) { |
| | | return roleMenuAuthMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public Integer insert(RoleMenuAuthEntity entity) { |
| | | return roleMenuAuthMapper.insert(entity); |
| | | } |
| | | |
| | | @Override |
| | | public Integer inserts(List<RoleMenuAuthEntity> list) { |
| | | return roleMenuAuthMapper.inserts(list); |
| | | } |
| | | |
| | | @Override |
| | | public Integer delete(int id) { |
| | | return roleMenuAuthMapper.delete(id); |
| | | } |
| | | |
| | | @Override |
| | | public Integer deletes(List<Integer> ids) { |
| | | return roleMenuAuthMapper.deletes(ids); |
| | | } |
| | | |
| | | @Override |
| | | public Integer update(RoleMenuAuthEntity entity) { |
| | | return roleMenuAuthMapper.update(entity); |
| | | } |
| | | |
| | | @Override |
| | | public Integer updates(List<RoleMenuAuthEntity> list) { |
| | | return roleMenuAuthMapper.updates(list); |
| | | } |
| | | } |