技术驱动人生 2020-01-03
<select id="findMovieAll" resultMap="movieList">
select * from movie where flag=1
</select>2.Dao曾传入对象RowRounds
List<Movie> findMovieAll(RowBounds rowBounds);
3.Controller调用
@RequestMapping("/test")
public List<Movie> index1(){
return movieDao.findMovieAll(new RowBounds(1,30));
}测试
