课程/Java/后端开发
Java 分页原理与实践(上)
-
-
慕粉3846699
2017-12-07
- public interface StudentService{
/**
*根据查询条件,查询学生分页信息
*@param searchModel
*封装查询条件
*@param pageNum
*查询第几页数据
*@param pageSize
*每页显示几条数据
*@return 查询结果
/
public Pager<Student> findStudent(Student searchModel,int pageNum,int pageSize);
}
-
0赞 · 0采集
-
-
DR枫林残忆
2017-06-03
- StudentDao接口和StudentService是相同的
-
截图
0赞 · 0采集
-
-
DR枫林残忆
2017-06-03
- StudentService接口
-
截图
0赞 · 0采集
-
-
丶子非鱼
2017-05-24
- StudentDao 接口和StudentService是一样的
-
截图
0赞 · 1采集
-
-
丶子非鱼
2017-05-24
- StudentService接口
-
截图
0赞 · 1采集
-
-
ProjectDemo
2017-03-21
- 新建一个service层的接口
有一个获取分页对象的方法
public pager<Student> findAllStudent(Student stu,int startPageNum,int pageSize);
-
截图
0赞 · 0采集
-
-
三yeah
2016-09-23
- 分页
-
截图
0赞 · 0采集
-
-
qq_美伊芸美YW_03909125
2016-08-31
- 要怎么记住才能做到分页
-
0赞 · 0采集
-
-
大可无谐号
2016-08-09
- 顶顶顶顶顶顶顶顶
-
截图
0赞 · 0采集
-
-
qq_3合会_0
2016-06-30
- service是需要调用DAO的,所以StudentDao[public interface StudentDao]<br>
public Pager<Student> findStudent(Student serchModel, int pageSize, int pageNum)
也需要有根据查询条件,查询学生的分页信息
-
截图
0赞 · 0采集
-
-
qq_3合会_0
2016-06-30
- 分页是有查询功能的,根据查询条件查询需要查询学生的信息。
-
截图
0赞 · 0采集
-
-
qq_3合会_0
2016-06-30
- studentService接口,service是为业务服务的
searchModel 封装查询的条件
pageNum 查询第几页的数据
pageSize 每页显示多少条记录
return 查询的结果
-
截图
0赞 · 0采集
-
-
庄学爸
2016-04-07
- Dao中的接口.此处代码逻辑简单,与Service中的接口方法与参数都一样.
-
截图
0赞 · 0采集
-
-
庄学爸
2016-04-07
- Service层中的接口.
-
截图
0赞 · 0采集
-
-
激流勇进__
2016-01-10
- service 调用dao, 在dao中粘贴service中的方法
-
截图
0赞 · 0采集