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