From e9f4a368fd3845a38eb54d3d18d77e96e5767b61 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 05 九月 2023 10:47:22 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index f710d44..6e2e8fb 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -76,6 +76,9 @@
         <if test="specs != null and specs != ''">
             and mm.specs like concat('%',#{specs},'%')
         </if>
+        <if test="matType != null and matType != ''">
+            and mm.mat_type = #{matType}
+        </if>
         ORDER BY mm.inout_everyday desc, mm.create_time DESC
     </select>
 

--
Gitblit v1.9.1