From 810afa05a932584a26cf9ea845f34a281401cdce Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期三, 22 十月 2025 11:54:13 +0800
Subject: [PATCH] 许可证2.0

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

diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index 09a8d0a..6cc8de5 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -111,6 +111,13 @@
         </if>
     </select>
 
+    <select id="selectNewUpdateTime" resultMap="BaseResultMap">
+        select top 1 * from man_mat
+        where 1=1
+        ORDER BY create_time ASC
+--         ORDER BY update_time DESC
+    </select>
+
     <select id="getMatTurnPage" resultMap="BaseResultMap">
         select * from
         (
@@ -134,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