select l.site_planning_id,st_x(macro.ant_geopoint) as lon,st_y(macro.ant_geopoint) as lat from npas.pl_macro_station macro inner join
npas.meta_localinfo l on macro.site_planning_id=l.site_planning_id
where l.subordinate_area is null
and macro.ant_geopoint is not null
union all
select l.site_planning_id,st_x(macro.ant_geopoint) as lon,st_y(macro.ant_geopoint) as lat from npas.pl_micro_station macro inner join
npas.meta_localinfo l on macro.site_planning_id=l.site_planning_id
where l.subordinate_area is null
and macro.ant_geopoint is not null
union all
select l.site_planning_id,st_x(macro.ant_geopoint) as lon,st_y(macro.ant_geopoint) as lat from npas.pl_indoor macro inner join
npas.meta_localinfo l on macro.site_planning_id=l.site_planning_id
where l.subordinate_area is null
and macro.ant_geopoint is not null
区域类型meta_localinfo数据更新.java
##############阁下如果是抄袭,爬取文章作恶或误导他人的开发者,请阅读中国现行法律的相关处罚条例再动手,转载之前最好先验证#############