mybatis/old-google-code-issues

mybatis for paging

Closed this issue · 0 comments

I use Mybatis 3.2.1

不好意思了,英文不好,用中文吧。

是这样的,我正在做分页效果,使用了plugin中的Interceptor,分
页如果不知道总条数的话,就很难处理,因此,我需要在RowBo
unds中多加一个变量count,这样我在Interceptor类中处理分页的sql
语句之后,就能对RowBounds的变量赋值,而且,在我的业务方��
�中也能获取到这个count的值,我试着继承这个类来完成这个��
�作,但是只有第一页正常显示,第二页就获取不到数据了。

不知道我的问题描述的怎么样,可以联系我lelece@gmail.com



Original issue reported on code.google.com by lele...@gmail.com on 1 Apr 2013 at 6:08