| | |
| | | @TableLogic |
| | | private Integer isDeleted; |
| | | |
| | | /** |
| | | * 空间坐标 |
| | | */ |
| | | @ApiModelProperty(value = "空间坐标") |
| | | private String geom; |
| | | |
| | | } |
| | |
| | | <!--自定义分页查询--> |
| | | <select id="selectEmergencySpacePage" resultType="org.springblade.modules.yw.vo.EmergencySpaceVO"> |
| | | select |
| | | yes.*, |
| | | 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, |
| | | yfi.name as firmName, |
| | | bdb.dict_value as emergencySpaceType |
| | | from yw_emergency_space yes |
| | |
| | | when type =5 then '水库' |
| | | when type =6 then '应急泵' |
| | | when type =7 then '消防沙' |
| | | when type =8 then '沟渠' |
| | | end as type, |
| | | count(*) as num |
| | | FROM |