From ba87fd72f14c5ed0caf14e9d8ff116d254a8c113 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期四, 16 四月 2026 10:11:32 +0800
Subject: [PATCH] 新增线上配置

---
 tms/src/main/resources/mapper/tms/TmsTripMapper.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tms/src/main/resources/mapper/tms/TmsTripMapper.xml b/tms/src/main/resources/mapper/tms/TmsTripMapper.xml
index 2eda35c..1a2262d 100644
--- a/tms/src/main/resources/mapper/tms/TmsTripMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsTripMapper.xml
@@ -76,6 +76,8 @@
         <include refid="selectTmsTripVo"/>
         where trip_type = #{tripType}
         and  dispatch_order_id  = #{dispatchOrderId}
+        order by thisTab.id desc
+        limit 1
     </select>
 
     <!-- 鏂板 -->

--
Gitblit v1.8.0