From 2ca1013333bb1f80d104e54ac2e7171bd8dffc77 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期四, 18 九月 2025 18:02:00 +0800
Subject: [PATCH] 新增要求出发时间

---
 service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml b/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml
index b4ae8d7..6ce8e2d 100644
--- a/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/KeyCollectionInfoMapper.xml
@@ -108,7 +108,7 @@
         ts.REMARK as remark,
         ts.REQUIRED_DEPARTURE_TIME as requiredDepartureTime ,
         TIMESTAMPDIFF(HOUR, ord.ORDER_TIME, ord.CREATED_TIME) as schedulingTimeout,
-        TIMESTAMPDIFF(HOUR, ord.REQUIRED_DEPARTURE_TIME, NOW()) as keyTimeout
+        TIMESTAMPDIFF(HOUR, ts.REQUIRED_DEPARTURE_TIME, NOW()) as keyTimeout
 
         FROM
         tms_shipment ts

--
Gitblit v1.8.0