From 3d7a3f51d1f01c62a03ddbe5cab6e395e30e607b Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期二, 25 十一月 2025 16:46:55 +0800
Subject: [PATCH] #1

---
 src/main/java/com/zy/asrs/mapper/InOutMapper.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/InOutMapper.java b/src/main/java/com/zy/asrs/mapper/InOutMapper.java
index 7cf926b..bf23440 100644
--- a/src/main/java/com/zy/asrs/mapper/InOutMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/InOutMapper.java
@@ -10,6 +10,6 @@
 @Mapper
 @Repository
 public interface InOutMapper extends BaseMapper<InOut> {
-    @Select("select top * from man_mat_inout where matnr = #{matnr}")
+    @Select("select top 1 * from man_mat_inout where matnr = #{matnr}")
     InOut selectByMatnr(String matnr);
 }

--
Gitblit v1.9.1