From bafb8b7e2f610e8f848b1c05da134760e9edfbbd Mon Sep 17 00:00:00 2001
From: rqdz <rqdz@163.com>
Date: 星期五, 14 十一月 2025 12:39:22 +0800
Subject: [PATCH] #1

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

diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index b7157a6..6cc8de5 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -141,4 +141,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