From 7728d8f1900a984dde8721f1f06e00eecc5a67de Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Fri, 21 Feb 2025 09:18:13 +0800
Subject: [PATCH] 修改配置
---
src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml b/src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml
index 769adb9..3f8dd48 100644
--- a/src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml
+++ b/src/main/java/org/springblade/modules/yw/mapper/FacilityMapper.xml
@@ -44,16 +44,16 @@
<!--三道防线信息查询-->
<select id="getTreeFacilityList" resultType="org.springblade.modules.yw.vo.FacilityVO">
select
- yes.id,yes.name,yes.lng,yes.lat,yes.image_url,yes.capacity,yfi.id as firm_id,
+ yes.id,yes.name,yes.lng,yes.lat,yes.ele,yes.image_url,yes.capacity,yfi.id as firm_id,
yfi.name as firmName
from yw_emergency_space yes
left join yw_firm_info yfi on yfi.id = yes.firm_id and yfi.is_deleted = 0
where yes.is_deleted = 0
<if test="facility.facLevel==2">
- and yes.type in (2,10)
+ and yes.type = 3
</if>
<if test="facility.facLevel==3">
- and yes.type = 1
+ and yes.type in (1,2)
</if>
<if test="facility.firmId!=null">
and yes.firm_id = #{facility.firmId}
--
Gitblit v1.9.3