From 47984fd335f27df7de169d1df3fe401f3f80f0d5 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Tue, 22 Mar 2022 16:51:19 +0800
Subject: [PATCH] 标签去除机构

---
 src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 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 8b9d722..d999c34 100644
--- a/src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml
+++ b/src/main/java/org/springblade/modules/architecture/mapper/ArchitectureMapper.xml
@@ -21,6 +21,7 @@
         <result column="pitch" property="pitch"/>
         <result column="roll" property="roll"/>
         <result column="panoramaurl" property="panoramaurl"/>
+        <result column="addressName" property="addressName"/>
     </resultMap>
 
 
@@ -66,7 +67,8 @@
                heading,
                pitch,
                roll,
-               panoramaurl
+               panoramaurl,
+               addressName
         FROM `sys_architecture`
         WHERE id = #{id}
           and is_deleted = 0
@@ -83,10 +85,10 @@
         SELECT jd, wd, mechanismName AS mechanismname, tpUrl AS tpurl, codeUrl AS codeurl, introduce, panoramaurl
         FROM sys_architecture
         WHERE is_deleted = 0
-        UNION
-        SELECT jd, wd, mechanismName AS mechanismname, tpUrl AS tpurl, codeUrl AS codeurl, introduce, panoramaurl
-        FROM sys_mechanism
-        WHERE is_deleted = 0
+--         UNION
+--         SELECT jd, wd, mechanismName AS mechanismname, tpUrl AS tpurl, codeUrl AS codeurl, introduce, panoramaurl
+--         FROM sys_mechanism
+--         WHERE is_deleted = 0
     </select>
 
     <select id="selectIns" resultType="java.lang.String">

--
Gitblit v1.9.3