From a897c6650036f9f0e2a033bca554864c9b24e34f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 12 三月 2021 16:51:34 +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