From c82acdcd2caca0e9b78bf2af798c3a27e131c2c9 Mon Sep 17 00:00:00 2001
From: zhongrj <123456>
Date: Tue, 22 Nov 2022 15:15:24 +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