package com.fjs.scenic.service.system.impl;

import com.fjs.scenic.entity.system.Role;
import com.fjs.scenic.mapper.system.RoleMapper;
import com.fjs.scenic.service.common.impl.BaseServiceImpl;
import com.fjs.scenic.service.system.ManageService;
import com.fjs.scenic.service.system.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl extends BaseServiceImpl<Role> implements RoleService {

    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<Role> getAll(){
        return roleMapper.getAll();
    }
}
