From b90d0e82bce66fce8e243de13a85fd4f7e1c2e47 Mon Sep 17 00:00:00 2001
From: Administrator <335182714>
Date: 星期日, 21 十二月 2025 08:49:13 +0800
Subject: [PATCH] 修复人工空托出库没有条码信息

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

diff --git a/src/main/resources/mapper/WrkDetlLogMapper.xml b/src/main/resources/mapper/WrkDetlLogMapper.xml
index d25aeb8..14db210 100644
--- a/src/main/resources/mapper/WrkDetlLogMapper.xml
+++ b/src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -67,6 +67,9 @@
         <if test="batch != null and batch != ''">
             and a.batch like concat('%',#{batch},'%')
         </if>
+        <if test="model != null and model != ''">
+            and a.model like concat('%',#{model},'%')
+        </if>
         <if test="matnr != null and matnr != ''">
             and a.matnr like concat('%',#{matnr},'%')
         </if>
@@ -76,6 +79,12 @@
         <if test="specs != null and specs != ''">
             and a.specs like concat('%',#{specs},'%')
         </if>
+        <if test="unit != null and unit != ''">
+            and a.unit like concat('%',#{unit},'%')
+        </if>
+        <if test="brand != null and brand != ''">
+            and a.brand like concat('%',#{brand},'%')
+        </if>
     </sql>
 
     <select id="selectWrkDetlLogs" resultMap="BaseResultMap">

--
Gitblit v1.9.1