From d88ce8f933df6a533eddb06f0f2e340a2c697001 Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Fri, 30 Aug 2024 18:15:25 +0800
Subject: [PATCH] 修改生成环境数据库连接配置

---
 src/main/java/org/springblade/modules/hd/mapper/HdMapper.xml |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/hd/mapper/HdMapper.xml b/src/main/java/org/springblade/modules/hd/mapper/HdMapper.xml
index 448a203..86fd640 100644
--- a/src/main/java/org/springblade/modules/hd/mapper/HdMapper.xml
+++ b/src/main/java/org/springblade/modules/hd/mapper/HdMapper.xml
@@ -15,7 +15,26 @@
 
 
     <select id="selectHdPage" resultMap="hdResultMap">
-        select * from sys_hd where is_deleted = 0
+        select *
+        from sys_hd
     </select>
 
+    <select id="selectInList" resultType="java.util.HashMap">
+        select id, hdname
+        from sys_hd
+    </select>
+
+    <select id="selectInfo" resultType="java.lang.String">
+        SELECT mapUrl,mapname FROM sys_hdmap where hdid=#{id}
+    </select>
+    <select id="selectInfos" resultType="java.lang.String">
+        SELECT mapname FROM sys_hdmap where hdid=#{id}
+    </select>
+
+<!--    <select id="selectInfo" resultType="java.util.HashMap">-->
+<!--        SELECT h.*,hd.mapUrl as mapurl-->
+<!--        FROM sys_hd h-->
+<!--                 LEFT JOIN sys_hdmap hd ON h.id = hd.hdid where h.id=#{id}-->
+<!--    </select>-->
+
 </mapper>

--
Gitblit v1.9.3