From 853f474b72aa0b6a65f7e8bcd0fb27c4bb85ec16 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 13 三月 2021 10:08:14 +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