package com.movie.api.service.impl;

import com.movie.api.mapper.FilmMapper;
import com.movie.api.mapper.ResultMapper;
import com.movie.api.model.entity.Result;
import com.movie.api.service.Resultservice;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Resultserviceimpl implements Resultservice {
    @Resource
    private ResultMapper resultMapper;

    @Override
    public List<Result> findAll() {
        return resultMapper.selectList(null);
    }
}
