From 902ddfc53e6f002c9a5a87eba6f340f5a62efe25 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期二, 04 十一月 2025 09:05:59 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/ConfigMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/ConfigMapper.xml b/src/main/resources/mapper/ConfigMapper.xml
index 8673fe5..f5f269f 100644
--- a/src/main/resources/mapper/ConfigMapper.xml
+++ b/src/main/resources/mapper/ConfigMapper.xml
@@ -13,4 +13,10 @@
 
     </resultMap>
 
+    <select id="selectConfigByCode" resultMap="BaseResultMap">
+        select top 1 * from sys_config
+        where 1=1
+        and code=#{code}
+    </select>
+
 </mapper>

--
Gitblit v1.9.1