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 | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/tms/src/main/resources/mapper/tms/TmsTripMapper.xml b/tms/src/main/resources/mapper/tms/TmsTripMapper.xml
index 4b78f27..1a2262d 100644
--- a/tms/src/main/resources/mapper/tms/TmsTripMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsTripMapper.xml
@@ -72,6 +72,13 @@
</where>
order by thisTab.id desc
</select>
+ <select id="selectTmsTripByTripType" resultMap="TmsTripResult">
+ <include refid="selectTmsTripVo"/>
+ where trip_type = #{tripType}
+ and dispatch_order_id = #{dispatchOrderId}
+ order by thisTab.id desc
+ limit 1
+ </select>
<!-- 鏂板 -->
<insert id="insertTmsTrip" parameterType="com.ruoyi.tms.domain.TmsTrip" useGeneratedKeys="true" keyProperty="id">
--
Gitblit v1.8.0