From e7d8e2c64facfa261e8b168b84e81ef6c835f57d Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 03 九月 2025 09:25:19 +0800
Subject: [PATCH] 许可证到期提醒,系统30分钟无操作下线账号

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

diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index b7157a6..3f4b0a4 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -96,6 +96,10 @@
         <if test="specs != null and specs != ''">
             and mm.specs like concat('%',#{specs},'%')
         </if>
+        <if test="model != null and model != ''">
+            and mm.model like concat('%',#{model},'%')
+        </if>
+
         ORDER BY mm.create_time DESC
     </select>
 
@@ -141,4 +145,10 @@
             and a.matnr = #{matnr}
         </if>
     </select>
+
+    <select id="getTagIdByMatnr" resultType="java.lang.Integer">
+        select tag_id
+        from man_mat
+        where matnr = #{matnr}
+    </select>
 </mapper>

--
Gitblit v1.9.1