摘要: 算法如下:currentPage = (pageSize - 1) * pageSize //取得当前页pageCount = (totalrecords + pageSize - 1) / pageSize //取得所有页数oracle 三层查询 完成分页 sql: select * from ( select rownum rn ,e.* from ( select * from emp where deptno=1 order by empno desc ) e where rownum ... 阅读全文
posted @ 2013-01-13 15:24 dafa168 阅读(3295) 评论(0) 推荐(0)
摘要: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.sp 阅读全文
posted @ 2013-01-13 11:39 dafa168 阅读(566) 评论(0) 推荐(0)