|
@@ -114,7 +114,7 @@
|
|
|
<select id="queryGoodsProcurements" resultMap="GoodsProcurement" parameterType="map">
|
|
|
SELECT * FROM goods_procurement
|
|
|
<include refid="queryCondition"></include>
|
|
|
- ORDER BY id_ <include refid="global.limit"/>
|
|
|
+ ORDER BY id_ DESC <include refid="global.limit"/>
|
|
|
</select>
|
|
|
|
|
|
<select id="countGoodsProcurements" resultType="int">
|
|
@@ -125,7 +125,7 @@
|
|
|
<!-- 分页查询 -->
|
|
|
<select id="queryPage" resultMap="GoodsProcurement" parameterType="map">
|
|
|
SELECT * FROM goods_procurement
|
|
|
- ORDER BY id_ <include refid="global.limit"/>
|
|
|
+ ORDER BY id_ DESC <include refid="global.limit"/>
|
|
|
</select>
|
|
|
|
|
|
<!-- 查询当前表的总记录数 -->
|