Browse Source

调整分页查询

master
xyiege 3 years ago
parent
commit
ae865031c5
  1. 8
      src/main/resources/mapper/szwh/ClassifyMapper.xml

8
src/main/resources/mapper/szwh/ClassifyMapper.xml

@ -26,11 +26,11 @@
${v}
</if>
</foreach>
<if test="startRs!=null">
and id>#{startRs}
</if>
<!-- <if test="startRs!=null">-->
<!-- and id>#{startRs}-->
<!-- </if>-->
</where>
limit #{pageSize}
limit #{startRs},#{pageSize}
</select>
<!--统计所有记录-->

Loading…
Cancel
Save