From 4cc37cd3debd02f0c3a4aa7a0d9bd44b83c28b33 Mon Sep 17 00:00:00 2001
From: lbq <1065079612@qq.com>
Date: 星期二, 27 一月 2026 13:44:06 +0800
Subject: [PATCH] 修复对接不传full报错bug

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

diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index 83845ae..3586409 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -105,6 +105,10 @@
         select top 1 * from man_mat where 1=1 and matnr = #{matnr}
     </select>
 
+    <select id="selectLatest" resultMap="BaseResultMap">
+        SELECT TOP 1 * FROM man_mat ORDER BY update_time DESC;
+    </select>
+
     <select id="selectByMatnrLink" resultMap="BaseResultMap">
         select * from man_mat
         where 1=1

--
Gitblit v1.9.1