From c41453da216df0e5c01a9d319544c88446e22b66 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 26 八月 2026 10:51:47 +0800
Subject: [PATCH] fix(approve): 修复审批模板更新时的引用检查逻辑

---
 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