package com.tofly.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tofly.base.api.entity.SysMenu;
import com.tofly.base.mapper.SysMenuMapper;
import com.tofly.base.service.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 * @date 2019/9/6  16:52
 */
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> implements SysMenuService {
    @Override
    public List<SysMenu> listMenusByRoleId(Long roleId) {
        return baseMapper.listMenusByRoleId(roleId);
    }
}
