From 0cc95376f2af6fa5dfbe63ff79cbaf94674531e0 Mon Sep 17 00:00:00 2001
From: zhongrj <123456>
Date: Mon, 24 Oct 2022 13:34:01 +0800
Subject: [PATCH] 新增接口替换二维码地址,数据新增时修改二维码(保存地址)

---
 src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml b/src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml
index ca1b5cf..dcafa8a 100644
--- a/src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml
+++ b/src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml
@@ -42,7 +42,7 @@
 
     <!--查询校内建筑列表-->
     <select id="selectList" resultType="java.util.HashMap">
-        SELECT id, mechanismName as mechanismname, tpUrl as tpurl
+        SELECT *
         FROM `sys_architecture`
         WHERE campus = #{campus}
           and type = #{type}
@@ -82,8 +82,9 @@
         WHERE panoramaurl IS NOT NULL
           AND panoramaurl!='' and is_deleted = 0
     </select>
-    <select id="selectArchALL" resultType="java.util.HashMap">
-        SELECT jd, wd, mechanismName AS mechanismname, tpUrl AS tpurl, codeUrl AS codeurl, introduce, panoramaurl,x
+
+    <select id="selectArchALL" resultType="org.springblade.modules.architecture.entity.Architecture">
+        SELECT id,jd, wd, mechanismName AS mechanismname, tpUrl AS tpurl, codeUrl AS codeurl, introduce, panoramaurl,x
         FROM sys_architecture
         WHERE is_deleted = 0
         --         UNION
@@ -147,6 +148,8 @@
                introduce,
                jd,
                wd,
+               x,
+               y,
                gd,
                tpUrl         as tpurl,
                codeUrl       as codeurl,
@@ -165,6 +168,8 @@
                introduce,
                jd,
                wd,
+               x,
+               y,
                gd,
                tpUrl         as tpurl,
                codeUrl       as codeurl,
@@ -183,6 +188,8 @@
                introduce,
                jd,
                wd,
+               x,
+               y,
                gd,
                tpUrl         as tpurl,
                codeUrl       as codeurl,

--
Gitblit v1.9.3