From 94007dba372f5d9fe5c19d04f0c089ec0b3cc372 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期一, 29 十二月 2025 14:57:07 +0800
Subject: [PATCH] 上架派工单优化

---
 src/main/resources/mapper/OrderDetlPakoutMapper.xml |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/OrderDetlPakoutMapper.xml b/src/main/resources/mapper/OrderDetlPakoutMapper.xml
index 1300fc1..fcd4b25 100644
--- a/src/main/resources/mapper/OrderDetlPakoutMapper.xml
+++ b/src/main/resources/mapper/OrderDetlPakoutMapper.xml
@@ -50,16 +50,24 @@
         <result column="standby1" property="standby1" />
         <result column="standby2" property="standby2" />
         <result column="standby3" property="standby3" />
-
+        <result column="box_type1" property="boxType1" />
+        <result column="box_type2" property="boxType2" />
+        <result column="box_type3" property="boxType3" />
     </resultMap>
 
     <sql id="standbyAll">
         and batch = #{batch}
-        and line_number = #{lineNumber}
-        and specs = #{specs}
+        and brand = #{brand}
         and standby1 = #{standby1}
         and standby2 = #{standby2}
         and standby3 = #{standby3}
+        and box_type1 = #{boxType1}
+        and box_type2 = #{boxType2}
+        and box_type3 = #{boxType3}
+    </sql>
+    <sql id="standbyAllMemo">
+        --         and line_number = #{lineNumber}
+        --         and specs = #{specs}
     </sql>
 
     <select id="selectItem" resultMap="BaseResultMap">
@@ -92,6 +100,9 @@
         <if test="matnr!=null and matnr!='' ">
             and mod.matnr like '%' + #{matnr} + '%'
         </if>
+        <if test="doc_type!=null and doc_type!='' ">
+            and mo.doc_type like '%' + #{doc_type} + '%'
+        </if>
         <if test="maktx!=null and maktx!='' ">
             and mod.maktx like '%' + #{maktx} + '%'
         </if>

--
Gitblit v1.9.1