From f43b6eb89f0fb00c44ebafcc71ff2507db1d1c83 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 06 三月 2021 13:52:40 +0800
Subject: [PATCH] #
---
 src/main/resources/mapper/MatMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
index 6b93176..cc2280a 100644
--- a/src/main/resources/mapper/MatMapper.xml
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -48,6 +48,6 @@
     </select>
 
     <select id="selectByMatnr" resultMap="BaseResultMap">
-        select * from man_mat where 1=1 and matnr = #{matnr}
+        select top 1 * from man_mat where 1=1 and matnr = #{matnr}
     </select>
 </mapper>
--
Gitblit v1.9.1