Browse Source

默认id 倒序输出

master
xyiege 4 years ago
parent
commit
cfb187f8ce
  1. 4
      src/main/resources/mapper/szwh/ClassifyMapper.xml

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

@ -26,10 +26,8 @@
${v}
</if>
</foreach>
<!-- <if test="startRs!=null">-->
<!-- and id>#{startRs}-->
<!-- </if>-->
</where>
order by id DESC
limit #{startRs},#{pageSize}
</select>

Loading…
Cancel
Save