From 2024bc5261dca42e18d0d244a50837c992c697d7 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期三, 15 七月 2026 13:29:11 +0800
Subject: [PATCH] fix: 修复采购订单新增修改,报错

---
 src/main/resources/mapper/measuringinstrumentledger/SparePartsRequisitionRecordMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/measuringinstrumentledger/SparePartsRequisitionRecordMapper.xml b/src/main/resources/mapper/measuringinstrumentledger/SparePartsRequisitionRecordMapper.xml
index 9851e59..0f18391 100644
--- a/src/main/resources/mapper/measuringinstrumentledger/SparePartsRequisitionRecordMapper.xml
+++ b/src/main/resources/mapper/measuringinstrumentledger/SparePartsRequisitionRecordMapper.xml
@@ -32,5 +32,6 @@
                 and sprr.source_type = #{params.sourceType}
             </if>
         </where>
+        order by sprr.create_time desc
     </select>
 </mapper>

--
Gitblit v1.9.3