From 36696cc01bfd0ade286a599a49e21b86cccc263e Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期一, 30 三月 2026 15:21:33 +0800
Subject: [PATCH] 新增线上配置

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

diff --git a/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml b/tms/src/main/resources/mapper/tms/TmsDispatchOrderMapper.xml
index 6941f33..db41db3 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 tdd.id 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,
@@ -834,4 +837,4 @@
     limit 50
     </select>
 
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.8.0