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 | 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