| | |
| | | |
| | | import com.moon.server.entity.sys.RoleResEntity; |
| | | import com.moon.server.mapper.sys.RoleResMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Service |
| | | public class RoleResService implements RoleResMapper { |
| | | @Autowired |
| | | @Resource |
| | | RoleResMapper roleResMapper; |
| | | |
| | | @Override |
| | | public List<RoleResEntity> selectResByRole(Integer roleid) { |
| | | return roleResMapper.selectResByRole(roleid); |
| | | } |
| | | |
| | | @Override |
| | | public Integer selectCount(Integer roleid) { |
| | | return roleResMapper.selectCount(roleid); |
| | | } |