From f0429051895816ebadc50bbc409021e23e4d1a3a Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期一, 08 十二月 2025 16:43:06 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/WrkDetlMapper.xml b/src/main/resources/mapper/WrkDetlMapper.xml
index 6bd7ea2..55e9157 100644
--- a/src/main/resources/mapper/WrkDetlMapper.xml
+++ b/src/main/resources/mapper/WrkDetlMapper.xml
@@ -29,6 +29,9 @@
     <select id="findByWorkNo" resultMap="BaseResultMap">
         select * from asr_wrk_detl where 1=1 and wrk_no = #{workNo}
     </select>
+    <select id="findByBarcode" resultMap="BaseResultMap">
+        select * from asr_wrk_detl where 1=1 and zpallet = #{barcode} and wrk_no != 9996
+    </select>
 
     <update id="updateIoTime">
         update asr_wrk_detl

--
Gitblit v1.9.1