Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

业务层封装vo. PageInfo失效 #24

Closed
noootime opened this issue Feb 27, 2017 · 2 comments
Closed

业务层封装vo. PageInfo失效 #24

noootime opened this issue Feb 27, 2017 · 2 comments

Comments

@noootime
Copy link

我在使用静态方法使下一个select方法分页生效后,得到的list中是po对象,将它们转换为了适用于页面的vo对象list后,放入PageInfo中,也可以分页,但是pageinfo的属性失效了,所以我现在调用两种Service方法,一种返回po,一种封装为vo,因为我只想要PageInfo的分页属性,请问有没有什么好的解决方案?我也在思考中,感谢!

@abel533
Copy link
Collaborator

abel533 commented Feb 27, 2017

直接写个自己的 PageInfo 就行了,提供的 PageInfo 就是个例子,用来参考实现的。

@noootime
Copy link
Author

好的,明天到公司试一试,我还是个初学者。

得到作者的回答万分荣幸!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants