Browse Source

调整分页查询

master
xyiege 4 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} ${v}
</if> </if>
</foreach> </foreach>
<if test="startRs!=null"> <!-- <if test="startRs!=null">-->
and id>#{startRs} <!-- and id>#{startRs}-->
</if> <!-- </if>-->
</where> </where>
limit #{pageSize} limit #{startRs},#{pageSize}
</select> </select>
<!--统计所有记录--> <!--统计所有记录-->

Loading…
Cancel
Save