From 1c18c333650df681b74d0ab6a93280675f43b42a Mon Sep 17 00:00:00 2001
From: bfwms <1>
Date: 星期二, 23 九月 2025 16:17:59 +0800
Subject: [PATCH] 日志文件没权限,部署到tomcat会启动失败

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