From eb38fe84d65d30d5e832a4b7dd89a3fc960c1ea4 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 11 三月 2021 11:08:36 +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