From fa305af5d4ebfba47301fec3097296c14e32e1df Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 01 九月 2023 08:24:40 +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