From 0bafa6aa253c9ef6f5cb24e9a24c5282860e4c59 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期一, 30 三月 2026 11:44:37 +0800
Subject: [PATCH] 新增线上配置

---
 tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml b/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml
index 6941f33..3a82fde 100644
--- a/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml
@@ -115,6 +115,7 @@
         <result property="seamlessNumber"    column="seamless_number"    />
         <result property="seamlessSupplierId"    column="seamless_supplier_id"    />
         <result property="seamlessSupplierName"    column="seamless_supplier_name"    />
+        <result property="notes"    column="notes"    />
 
     </resultMap>
 
@@ -594,6 +595,7 @@
             <if test="seamlessNumber != null">seamless_number = #{seamlessNumber},</if>
             <if test="seamlessSupplierId != null">seamless_supplier_id = #{seamlessSupplierId},</if>
             <if test="seamlessSupplierName != null">seamless_supplier_name = #{seamlessSupplierName},</if>
+            <if test="notes != null">notes = #{notes},</if>
         </trim>
         where id = #{id}
     </update>
@@ -745,7 +747,8 @@
         </if>
 
 
-        and  tdd.driver_id = #{driverId};
+        and  tdd.driver_id = #{driverId}
+        ORDER BY tdo.ok_time DESC
     </select>
     <select id="selectAssignedItineraryDetail" resultType="com.ruoyi.tms.domain.vo.DriverDispatchVo">
         SELECT tdo.dispatch_no, tdo.customer_name, tdo.license_plate,tdo.transport_line,tdo.status,tdo.latest_departure,

--
Gitblit v1.8.0