From ebd793bbc910b095aaa15d9e733324bbeb8b94a9 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 12 一月 2026 08:13:08 +0800
Subject: [PATCH] 1

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

diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index 15a54c2..6e2e8fb 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -48,7 +48,7 @@
         <result column="store_min" property="storeMin" />
         <result column="store_max_date" property="storeMaxDate" />
         <result column="inout_everyday" property="inoutEveryday" />
-        <result column="man_type" property="manType" />
+        <result column="mat_type" property="matType" />
     </resultMap>
 
     <select id="listByPage" resultMap="BaseResultMap">
@@ -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