mybatis manual page mode, do not use pagehelper page, in the final stitching the limit

MySQL server version for the right syntax to use near 'LIMIT 10' at line 10

When you have pageHelper pom-dependent

There may be paged when you last appeared in sql in the case of splicing a limit, in fact, very simple, the arguments passed out to change what you can

pageIndex and pageSize these two parameters can be another name 

pageHelper determines there is no reference into these two parameters, there is limit to add

Published 66 original articles · won praise 85 · Views 140,000 +

Guess you like

Origin blog.csdn.net/qq_38380025/article/details/98869049