From 78df6cc0014e1b9ef290a8ae86c39b63c8fc36e1 Mon Sep 17 00:00:00 2001
From: skyouc <creaycat@gmail.com>
Date: 星期三, 21 一月 2026 18:31:56 +0800
Subject: [PATCH] no message
---
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