소스 검색

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