MyBatis Paging Query 发表于 2019-08-26 | 分类于 Java , MyBatis Paging QueryExample123456789101112<select id="getUserArticles" parameterType="Your_params" resultMap="resultUserArticleList"> select user.id, user.userName, user.userAddress, article.id aid, article.title, article.content from user,article where user.id=article.userid and user.id=#{id} limit #{offset},#{pagesize}</select>