10.23第13天(上午请假半天)

1.navicat导出的sql文件不能正常运行的问题

2.
4**的添加二级#
264应该是291:太平镇 3 13(滨海新区)
277应该是293:古林街 3 13 (滨海新区)
401:
402:
403:
404:

901应改为253 海滨街道
2000001应改为106012000 和苑街道(红桥区)
铁路护路网格street_id 改为400000001


select distinct community_name,community_id,street_name,
street_id from to_stat_info where community_name in
('大寺镇社区','河西区社区','南开区社区','宁河县社区');

南开区社区 10006 滨海新区街道 115
宁河县社区 10000 南开区街道 106
河西区社区 10009 河西区街道 109
大寺镇社区 10075 大寺镇 175

select distinct community_name,street_name.street_id
where community_name in ('大寺镇社区','河西区社区','南开区社区','宁河县社区');

3.workbench 显示database could not be fetched。
5.7.8的mysql与8.0的workbench不匹配。升级mysql至最新版本即可。

4.验证字典的准确性
字典中共有数据825条:其中街道条数据246条,社区数据578条。
社区578条数据:75条来自tc_region+112条改编自base_region+392条3开头的9位数(社区名为空是id为404404404)

37852
2690+34670
非空匹配应35162

select distinct to_stat_temp.community_name,to_stat_temp.street_name
from to_stat_temp left JOIN info_dictionary
on to_stat_temp.community_name=info_dictionary.region_name
and to_stat_temp.street_id=info_dictionary.senior_id
where info_dictionary.region_name is null;
问题社区
社区名 街道名
东风里社区居委会 寨上街
高新区华苑环 高新区
高新区未来科技城南 高新区
光明里社区居委会 胡家园街
华阳里社区居委会 寨上街
惠阳里社区居委会 寨上街
联盟村委会 海滨街
留园里社区居委会 茶淀街
米兰社区居委会 杭州道
荣华里社区居委会 大港街
沙井子二村委会 海滨街
沙井子三村委会 海滨街
曙光里社区居委会 大港街
四化里社区居委会 大港街
新建里社区居委会 新河街
幸福社区居委会 海滨街
远景三村委会 海滨街
远景一村委会 海滨街

猜你喜欢

转载自www.cnblogs.com/StarZhai/p/11730140.html