Skip to content

Commit

Permalink
fix the error suffix for neimenggu&&liaoning
Browse files Browse the repository at this point in the history
  • Loading branch information
yong.teng committed Sep 15, 2014
1 parent 9f06988 commit ba42510
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 9 deletions.
13 changes: 12 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
Changes 5.1
15 Sep 2014
*) 修正错误的内蒙古行政区级别为:自治区
*) 修正错误的辽宁行政区级别为:省

更新脚本:
UPDATE `district` SET `suffix` = '自治区' WHERE `id` = '7';
UPDATE `district` SET `suffix` = '省' WHERE `id` = '8';

感谢:wwb-dev(https://github.com/wwb-dev "wwb-dev") 对错误数据的纠正

Changes 5.0
11 Sep 2014

*) 更新三亚市下级行政区排序
*) 删除更新脚本中 SQL 中的库名
*) STANDARD 版和 SIMPLE 版保留行政代码
Expand All @@ -10,7 +22,6 @@ Changes 5.0
UPDATE `district` SET `order` = '3' WHERE `id` = '3580';
UPDATE `district` SET `order` = '4' WHERE `id` = '3581';


Changes 4.0
09 Sep 2014

Expand Down
4 changes: 2 additions & 2 deletions district-full.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
4 重庆 0 z zq zhongqing 市 500000 023 4
5 河北 0 h hb hebei 省 130000 5
6 山西 0 s sx shanxi 省 140000 6
7 内蒙古 0 n nmg neimenggu 150000 7
8 辽宁 0 l ln liaoning 自治区 210000 8
7 内蒙古 0 n nmg neimenggu 自治区 150000 7
8 辽宁 0 l ln liaoning 210000 8
9 吉林 0 j jl jilin 省 220000 9
10 黑龙江 0 h hlj heilongjiang 省 230000 10
11 江苏 0 j js jiangsu 省 320000 11
Expand Down
4 changes: 2 additions & 2 deletions district-full.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('4','重庆','0','z','zq','zhongqing','','市','500000','023','4');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('5','河北','0','h','hb','hebei','','省','130000','','5');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('6','山西','0','s','sx','shanxi','','省','140000','','6');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('7','内蒙古','0','n','nmg','neimenggu','','','150000','','7');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('8','辽宁','0','l','ln','liaoning','','自治区','210000','','8');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('7','内蒙古','0','n','nmg','neimenggu','','自治区','150000','','7');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('8','辽宁','0','l','ln','liaoning','','','210000','','8');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('9','吉林','0','j','jl','jilin','','省','220000','','9');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('10','黑龙江','0','h','hlj','heilongjiang','','省','230000','','10');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `extra`, `suffix`, `code`, `area_code`, `order`) values('11','江苏','0','j','js','jiangsu','','省','320000','','11');
Expand Down
4 changes: 2 additions & 2 deletions district-standard.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
4 重庆 0 z zq zhongqing 市 500000 4
5 河北 0 h hb hebei 省 130000 5
6 山西 0 s sx shanxi 省 140000 6
7 内蒙古 0 n nmg neimenggu 150000 7
8 辽宁 0 l ln liaoning 自治区 210000 8
7 内蒙古 0 n nmg neimenggu 自治区 150000 7
8 辽宁 0 l ln liaoning 210000 8
9 吉林 0 j jl jilin 省 220000 9
10 黑龙江 0 h hlj heilongjiang 省 230000 10
11 江苏 0 j js jiangsu 省 320000 11
Expand Down
4 changes: 2 additions & 2 deletions district-standard.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('4','重庆','0','z','zq','zhongqing','市','500000','4');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('5','河北','0','h','hb','hebei','省','130000','5');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('6','山西','0','s','sx','shanxi','省','140000','6');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('7','内蒙古','0','n','nmg','neimenggu','','150000','7');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('8','辽宁','0','l','ln','liaoning','自治区','210000','8');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('7','内蒙古','0','n','nmg','neimenggu','自治区','150000','7');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('8','辽宁','0','l','ln','liaoning','','210000','8');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('9','吉林','0','j','jl','jilin','省','220000','9');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('10','黑龙江','0','h','hlj','heilongjiang','省','230000','10');
insert into `district` (`id`, `name`, `parentid`, `initial`, `initials`, `pinyin`, `suffix`, `code`, `order`) values('11','江苏','0','j','js','jiangsu','省','320000','11');
Expand Down

0 comments on commit ba42510

Please sign in to comment.