去掉西安境内限制
This commit is contained in:
@@ -52,8 +52,6 @@
|
||||
SELECT id, lon, lat FROM xian_dangerous_source
|
||||
<where>
|
||||
is_delete = 0
|
||||
<!-- 确定落在西安境内 -->
|
||||
AND ST_Within(point, (SELECT geom FROM xian_district WHERE id = 1))
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
SELECT id, lon, lat FROM xian_emergency_shelter
|
||||
<where>
|
||||
is_delete = 0
|
||||
<!-- 确定落在西安境内 -->
|
||||
AND ST_Within(point, (SELECT geom FROM xian_district WHERE id = 1))
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
@@ -68,8 +68,6 @@
|
||||
SELECT id, lon, lat FROM xian_firefighter
|
||||
<where>
|
||||
is_delete = 0
|
||||
<!-- 确定落在西安境内 -->
|
||||
AND ST_Within(point, (SELECT geom FROM xian_district WHERE id = 1))
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
@@ -38,8 +38,6 @@
|
||||
</otherwise>
|
||||
</choose>
|
||||
AND is_delete = 0
|
||||
<!-- 确定落在西安境内 -->
|
||||
AND ST_Within(geom, (SELECT geom FROM xian_district WHERE id = 1))
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
@@ -75,8 +75,6 @@
|
||||
SELECT id, lon, lat FROM xian_hospitals
|
||||
<where>
|
||||
is_delete = 0
|
||||
<!-- 确定落在西安境内 -->
|
||||
AND ST_Within(point, (SELECT geom FROM xian_district WHERE id = 1))
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
@@ -34,8 +34,6 @@
|
||||
SELECT id, lon, lat FROM xian_risk_spots
|
||||
<where>
|
||||
is_delete = 0
|
||||
<!-- 确定落在西安境内 -->
|
||||
AND ST_Within(geom, (SELECT geom FROM xian_district WHERE id = 1))
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
@@ -62,8 +62,6 @@
|
||||
SELECT id, lon, lat FROM xian_store_points
|
||||
<where>
|
||||
is_delete = 0
|
||||
<!-- 确定落在西安境内 -->
|
||||
AND ST_Within(point, (SELECT geom FROM xian_district WHERE id = 1))
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user