zhongrj
2024-12-02 08609f7412d2ed23aa1e47afa604b44ac812277a
src/main/java/org/springblade/modules/yw/mapper/EmergencySpaceMapper.xml
@@ -6,7 +6,7 @@
    <select id="selectEmergencySpacePage" resultType="org.springblade.modules.yw.vo.EmergencySpaceVO">
        select
        yes.id,yes.name,yes.full_name,yes.type,yes.main_func,yes.lng,yes.lat,yes.pre_level,
        yes.capacity,yes.remark,yes.firm_id,yes.image_url,ST_AsGeoJSON(yes.geom) as geom,
        yes.capacity,yes.remark,yes.firm_id,yes.image_url,ST_AsGeoJSON(yes.geom) as geom,yes.ele,
        yfi.name as firmName,
        bdb.dict_value as emergencySpaceType
        from yw_emergency_space yes
@@ -36,14 +36,17 @@
            when type =4 then '污水提升泵站'
            when type =5 then '水库'
            when type =6 then '应急泵'
            when type =7 then '消防沙'
            when type =8 then '沟渠'
            when type =9 then '废水处理站'
            when type =10 then '排水口'
            when type =11 then '污水池'
            end as type,
            count(*) as num
        FROM
            yw_emergency_space
        WHERE
            is_deleted = 0
            and type != 7
            AND type IS NOT NULL
            GROUP BY type
    </select>