手动加上

  1. <if test="limit != null">
  2. <if test="offset != null">
  3. limit ${offset} , ${limit}
  4. </if>
  5. <if test="offset == null">
  6. limit ${limit}
  7. </if>
  8. </if>

分页 - 图1