瀏覽代碼

feat: 商品进销存

Joburgess 5 年之前
父節點
當前提交
23430d49ea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/GoodsProcurementMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/GoodsProcurementMapper.xml

@@ -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>
 	
 	<!-- 查询当前表的总记录数 -->