From f906ca73bbfe33187936f1a4635dd3ec8edd50b0 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期二, 25 十一月 2025 19:07:32 +0800
Subject: [PATCH] *

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

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 8bcc878..55e863a 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -79,6 +79,11 @@
         select * from asr_wrk_mast where 1=1 and crn_no = #{crnNo}
     </select>
 
+    <select id="selectByCrnNoLog"  resultMap="BaseResultMap">
+        select * from asr_wrk_mast_log where 1=1 and crn_no = #{crnNo}
+        order by io_time desc
+    </select>
+
     <select id="selectToBeCompleteData" resultMap="BaseResultMap">
         select * from asr_wrk_mast where ((wrk_sts = 4 Or wrk_sts = 14 ) and io_type != 103 and io_type != 104 and io_type != 107 ) or (wrk_sts = 2 and io_type=6) order by upd_mk,io_time,wrk_no
     </select>

--
Gitblit v1.9.1