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} ${v}
</if> </if>
</foreach> </foreach>
<!-- <if test="startRs!=null">-->
<!-- and id>#{startRs}-->
<!-- </if>-->
</where> </where>
order by id DESC
limit #{startRs},#{pageSize} limit #{startRs},#{pageSize}
</select> </select>

Loading…
Cancel
Save