From 6a6ceb0e57285d49c3f9c884e244710c9edf2b7a Mon Sep 17 00:00:00 2001
From: L <L@123>
Date: 星期三, 07 一月 2026 13:52:33 +0800
Subject: [PATCH] *

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

diff --git a/src/main/resources/mapper/WrkDetlLogMapper.xml b/src/main/resources/mapper/WrkDetlLogMapper.xml
index a304a2a..4ba2dbd 100644
--- a/src/main/resources/mapper/WrkDetlLogMapper.xml
+++ b/src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -106,4 +106,12 @@
         <include refid="batchSeq"></include>
     </select>
 
+    <select id="selectWrkDetlLogByOrderNoNotNull" resultMap="BaseResultMap">
+        select top 1 * from asr_wrk_detl_log
+        where batch = #{batch}
+        and order_no is not null
+        and order_no != ''
+        order by io_time desc
+    </select>
+
 </mapper>

--
Gitblit v1.9.1