From 25c4d88c377055a726d8f79c9e11e2484b3c3442 Mon Sep 17 00:00:00 2001
From: L <L@123>
Date: 星期二, 23 九月 2025 12:58:30 +0800
Subject: [PATCH] *

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

diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index 09a8d0a..9416387 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -25,7 +25,7 @@
         <result column="item_num" property="itemNum" />
         <result column="safe_qty" property="safeQty" />
         <result column="weight" property="weight" />
-        <result column="length" property="length" />
+        <result column="man_length" property="manLength" />
         <result column="volume" property="volume" />
         <result column="three_code" property="threeCode" />
         <result column="supp" property="supp" />
@@ -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,9 @@
             and a.matnr = #{matnr}
         </if>
     </select>
+    <select id="getOldMatnr" resultType="String">
+        select matnr
+        from man_mat
+        where id = #{id}
+    </select>
 </mapper>

--
Gitblit v1.9.1