From b7b4510ab85d9c3a31645f56e3d799ad817d9762 Mon Sep 17 00:00:00 2001
From: bfwms <1>
Date: 星期二, 30 九月 2025 08:36:43 +0800
Subject: [PATCH] 订单不转历史

---
 src/main/resources/mapper/WrkChargeMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/WrkChargeMapper.xml b/src/main/resources/mapper/WrkChargeMapper.xml
index 5499e2a..6fe8ce7 100644
--- a/src/main/resources/mapper/WrkChargeMapper.xml
+++ b/src/main/resources/mapper/WrkChargeMapper.xml
@@ -29,4 +29,11 @@
 
     </resultMap>
 
+    <select id="findTimeoutData" resultMap="BaseResultMap">
+        select * from asr_wrk_charge
+        where 1=1
+        and dateadd(mi,30,modi_time) &lt;= getdate()
+        and wrk_sts not in (30, 47)
+    </select>
+
 </mapper>

--
Gitblit v1.9.1