From 253e9b3735533c4d8c69cf5e6983d5fa1e984ae9 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期五, 05 十二月 2025 12:34:41 +0800
Subject: [PATCH] #
---
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