From afc12f9bbd372b55a4539c1fc40b17dbd5949cb1 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期二, 19 八月 2025 13:44:38 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/BasShuttleErrMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/BasShuttleErrMapper.xml b/src/main/resources/mapper/BasShuttleErrMapper.xml
index 192f37b..4958202 100644
--- a/src/main/resources/mapper/BasShuttleErrMapper.xml
+++ b/src/main/resources/mapper/BasShuttleErrMapper.xml
@@ -14,9 +14,10 @@
     </resultMap>
 
     <select id="queryByCode" resultMap="BaseResultMap">
-        select top 1 *
+        select *
         from asr_bas_shuttle_err
         where error_code = #{errorCode}
+        limit 0,1
     </select>
 
 </mapper>

--
Gitblit v1.9.1