美文网首页JavaWeb
SubList分页-008-StudentDao接口

SubList分页-008-StudentDao接口

作者: 53b3f4658edc | 来源:发表于2017-11-06 15:11 被阅读6次

    测试代码

    package top.itcourse.page.dao;
    
    import java.util.List;
    
    import top.itcourse.page.model.Pager;
    import top.itcourse.page.model.Student;
    
    /*
     *  StudentDAO类:
     *          1.获取所有结果的:List<T> getAll();
     *  
     */
    
    public interface StudentDAO {
        /**
         * 
        * @Title: findStudent 
        * @Description:  根据条件,查询学生分页信息
        * @param @param searchModel : 封装的查询条件
        * @param @param currentPage :查询的第几页数据
        * @param @param pageSize : 每页显示的记录数目
        * @param @return  返回查询结果 
        * @return Pager<Student>    返回类型 
         */
        public Pager<Student> findStudent(Student searchModel, int currentPage, int pageSize);
    }
     
    

    源码下载

    关注下方的微信公众号,回复:java_div_page.code
    





    欢迎加入交流群:451826376


    更多信息:www.itcourse.top

    完整教程PDF版本下载

    相关文章

      网友评论

        本文标题:SubList分页-008-StudentDao接口

        本文链接:https://www.haomeiwen.com/subject/tyelmxtx.html