From ce3fdb298990ae8baef7ca595fe3b17e7929fca3 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期六, 08 十一月 2025 18:54:09 +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