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 |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/src/main/resources/mapper/WrkDetlMapper.xml b/src/main/resources/mapper/WrkDetlMapper.xml
index a7ca8f0..55e9157 100644
--- a/src/main/resources/mapper/WrkDetlMapper.xml
+++ b/src/main/resources/mapper/WrkDetlMapper.xml
@@ -8,14 +8,15 @@
         <result column="io_time" property="ioTime" />
         <result column="matnr" property="matnr" />
         <result column="maktx" property="maktx" />
-        <result column="lgnum" property="lgnum" />
-        <result column="type" property="type" />
+        <result column="specs" property="specs" />
+        <result column="size" property="size" />
         <result column="color" property="color" />
-        <result column="supplier" property="supplier" />
-        <result column="warehouse" property="warehouse" />
+        <result column="weight" property="weight" />
+        <result column="bill_no" property="billNo" />
+        <result column="seq_no" property="seqNo" />
         <result column="brand" property="brand" />
         <result column="anfme" property="anfme" />
-        <result column="altme" property="altme" />
+        <result column="unit" property="unit" />
         <result column="zpallet" property="zpallet" />
         <result column="bname" property="bname" />
         <result column="memo" property="memo" />
@@ -26,7 +27,17 @@
     </resultMap>
 
     <select id="findByWorkNo" resultMap="BaseResultMap">
-        select wrk_no, matnr, maktx, anfme from asr_wrk_detl where 1=1 and wrk_no = #{workNo}
+        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
+        set io_time = #{ioTime}
+        where 1=1
+        and wrk_no = #{workNo}
+    </update>
 
 </mapper>

--
Gitblit v1.9.1