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

多角色时,分页查询返回结果不正确 #11

Open
anniversary opened this issue Apr 28, 2019 · 1 comment
Open

多角色时,分页查询返回结果不正确 #11

anniversary opened this issue Apr 28, 2019 · 1 comment

Comments

@anniversary
Copy link

当用户分配多个角色时,由于sql查询直接会将用户和角色联合查询出结果,比直接查询用户的时候数据要多

@fengfengChina
Copy link

这个应该是要先查出List 然后再分页。不然这样的话。 会有limit 导致查出来的数据不正确。

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