From ea92b2e7bb48c55f7ec2cf52dfdb2497f30b49ce Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期日, 21 十二月 2025 09:44:46 +0800
Subject: [PATCH] 1

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

diff --git a/src/main/resources/mapper/WrkDetlLogMapper.xml b/src/main/resources/mapper/WrkDetlLogMapper.xml
index a304a2a..14db210 100644
--- a/src/main/resources/mapper/WrkDetlLogMapper.xml
+++ b/src/main/resources/mapper/WrkDetlLogMapper.xml
@@ -79,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