springmvc框架下的国内地区级联效果(共享一下给学习的小伙伴)
Posted 廿二又
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了springmvc框架下的国内地区级联效果(共享一下给学习的小伙伴)相关的知识,希望对你有一定的参考价值。
前台页面html
<select name="area" id= "areaId" οnchange="areaChange();">
<option value="-1">--请选择地区--</option>
<#list configAreaList as configArea >
<option value="${configArea.id}">${configArea.extraAttr.cn}</option>
</#list>
</select>
<select name="city" id= "cityId" >
<option value="-1">--请选择城市--</option>
</select>
前台js
//点击省份级联要显示的城市
function areaChange(){
var initStr ="<option value='-1'>--请选择城市--</option>";
var areaId = $("#areaId").val();//省份Id
var cityId = $("#cityId").val();//城市Id
$.ajax({
url: "${huluUrl}/query-area-zone/"+areaId,
type: "get",
dataType: "json",
async: false,//同步
success: function(text){
var str ="";
for (var i = 0; i < text.length; i++) {
var array_element = text[i];
str += "<option value='"+array_element.id+"'>"+array_element.name+"</option>";
console.debug(str);
}
$("#cityId").html(initStr+str);
}
});
}
java代码//
//springMVC Controller 层
package com.rudong.outsource.hulu.front.ctl;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import com.rudong.outsource.hulu.db.dbsvc.front.AreaDbSvc;
import com.rudong.outsource.hulu.db.dbsvc.front.CityDbSvc;
import com.rudong.outsource.hulu.db.dbsvc.front.CountryDbSvc;
import com.rudong.outsource.hulu.util.dict.DataDictItem;
import com.rudong.outsource.hulu.util.dict.PubZoneVo;
/**
*
* 地区联动查询
*
*/
@Controller
public class ZoneController {
@Autowired
private CityDbSvc cityDbSvc;
@Autowired
private AreaDbSvc areaDbSvc;
@Autowired
private CountryDbSvc countryDbSvc;
/**
* 省份切换查找下级城市
*/
@ResponseBody
@RequestMapping(value = "/query-area-zone/{zoneId}", method = RequestMethod.GET)
public List<PubZoneVo> queryArea(@PathVariable("zoneId") Long zoneId) {
return getRegionByStateId(zoneId.intValue(),"city");
}
/**
* 抽取的方法:根据父ID获取子集
*/
private List<PubZoneVo> getRegionByStateId(Integer code,String dicttype) {
try {
List<DataDictItem> list = new ArrayList<DataDictItem>();
if(dicttype.equals("city")){//点击地区
list = cityDbSvc.queryAllCity();//所有城市
}
//国家
//List<DataDictItem> configCountryList= countryDbSvc.queryAllCountry();
//地区
//List<DataDictItem> configAreaList= areaDbSvc.queryAllArea();
//城市
//List<DataDictItem> configCityList= cityDbSvc.queryAllCity();
if(null != code && code > 0){
List<PubZoneVo> zoneVoList = new ArrayList<PubZoneVo>();
for (DataDictItem d : list) {
Integer parentVal = null;
if("city".equals(dicttype))
if(null != d.getExtraAttr().get("areaId")){
parentVal = Integer.valueOf(d.getExtraAttr().get("areaId").toString());
}
if(null != d.getParentValue()){
parentVal = Integer.valueOf(d.getParentValue());
}
if(null != parentVal && parentVal.intValue() == code.intValue()){
PubZoneVo vo = new PubZoneVo();
vo.setId(Long.parseLong(d.getValue()));
vo.setName(d.getExtraAttr().get("cn").toString());
zoneVoList.add(vo);
}
}
return zoneVoList;
}
} catch (Exception e) {
e.printStackTrace();
return null;
}
return null;
}
}
java 工具类 PubZoneVo
package com.rudong.outsource.hulu.util.dict;
public class PubZoneVo {
private Long id;
private String name;
private Long parentid;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Long getParentid() {
return parentid;
}
public void setParentid(Long parentid) {
this.parentid = parentid;
}
}
java 工具类 DataDictItem
package com.rudong.outsource.hulu.util.dict;
import java.util.HashMap;
import java.util.Map;
public class DataDictItem {
private Long id;
private String type;
private String parentValue;
private String value;
private Integer position;
private Integer status;
private String remark;
private String parent; //父级的数据
/** collection of extra attributes */
private Map<String, Object> extraAttr = new HashMap<>();
private String messageKey = null;
public void addAttribute(String key, Object value) {
extraAttr.put(key, value);
}
public String getMessageKey() {
if (null == messageKey) {
messageKey = type+"."+value;
}
return messageKey;
}
public String getParent() {
return parent;
}
public void setParent(String parent) {
this.parent = parent;
}
public void setMessageKey(String messageKey) {
this.messageKey = messageKey;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getParentValue() {
return parentValue;
}
public void setParentValue(String parentValue) {
this.parentValue = parentValue;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public Map<String, Object> getExtraAttr() {
return extraAttr;
}
public void setExtraAttr(Map<String, Object> extraAttr) {
this.extraAttr = extraAttr;
}
public Integer getPosition() {
return position;
}
public void setPosition(Integer position) {
this.position = position;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((type == null) ? 0 : type.hashCode());
result = prime * result + ((value == null) ? 0 : value.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
DataDictItem other = (DataDictItem) obj;
if (type == null) {
if (other.type != null)
return false;
} else if (!type.equals(other.type))
return false;
if (value == null) {
if (other.value != null)
return false;
} else if (!value.equals(other.value))
return false;
return true;
}
}
///service 层的方法 CityDbSvc.java
package com.rudong.outsource.hulu.db.dbsvc.front;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
/*
Initially generated file by codefather.
Modify this to implement more functions.
*/
import com.rudong.outsource.hulu.db.dbsvc.front.base.CityDbSvcBase;
import com.rudong.outsource.hulu.db.po.front.City;
import com.rudong.outsource.hulu.util.dict.DataDictItem;
@Service
public class CityDbSvc extends CityDbSvcBase {
/**
* 培训师服务的城市
* @return
*/
public List<City> queryCity(Long[] serviceCity){
try {
return repo.queryCity(serviceCity);
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
/**
* 所有城市
* 数据字典
*/
public List<DataDictItem> queryAllCity() {
List<City> configs = repo.queryAllCity();
List<DataDictItem> items = new ArrayList<>();
if (null != configs) {
for(City c: configs) {
DataDictItem d = new DataDictItem();
d.setId(c.getId().longValue());
d.setParentValue(c.getRegionId()+"");//本城市所属地区
d.addAttribute("areaId", c.getRegionId()); //本城市所属地区
d.addAttribute("cn", c.getCn());
d.addAttribute("zipcode", c.getZipCode());
d.setStatus(c.getStatus());;
d.setType("city");
d.setValue(c.getId()+"");
items.add(d);
}
}
return items;
}
}
省份service层
package com.rudong.outsource.hulu.db.dbsvc.front;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
/*
Initially generated file by codefather.
Modify this to implement more functions.
*/
import com.rudong.outsource.hulu.db.dbsvc.front.base.AreaDbSvcBase;
import com.rudong.outsource.hulu.db.po.front.Area;
import com.rudong.outsource.hulu.util.dict.DataDictItem;
@Service
public class AreaDbSvc extends AreaDbSvcBase {
/**
* 所有地区
* 数据字典
*/
public List<DataDictItem> queryAllArea() {
List<Area> configs = repo.queryAllArea();
List<DataDictItem> items = new ArrayList<>();
if (null != configs) {
for(Area c: configs) {
DataDictItem d = new DataDictItem();
d.setId(Long.parseLong(c.getId()+""));
d.setParentValue(c.getCountryId()+"");//本地区所属国家
d.addAttribute("countryId",c.getCountryId());//本地区所属国家
d.addAttribute("cn", c.getCn());
d.setStatus(c.getStatus());
d.setType("region");
d.setValue(c.getId()+"");
items.add(d);
}
}
return items;
}
}
///国家service 层
package com.rudong.outsource.hulu.db.dbsvc.front;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Service;
/*
Initially generated file by codefather.
Modify this to implement more functions.
*/
import com.rudong.outsource.hulu.db.dbsvc.front.base.CountryDbSvcBase;
import com.rudong.outsource.hulu.db.po.front.Country;
import com.rudong.outsource.hulu.util.dict.DataDictItem;
@Service
public class CountryDbSvc extends CountryDbSvcBase {
/**
* 所有国家
* 数据字典
*/
public List<DataDictItem> queryAllCountry() {
List<Country> countries = repo.queryAllCountry();
List<DataDictItem> items = new ArrayList<>();
if (null != countries) {
for(Country c: countries) {
DataDictItem d = new DataDictItem();
d.setId(c.getId().longValue());
d.addAttribute("codeTel", c.getCodeTel());
d.addAttribute("isoCode", c.getIsoCode());
d.addAttribute("continentId", c.getContinentId());//国外 use 所属州
d.addAttribute("cn", c.getCn());
d.setStatus(c.getStatus());
d.setType("country");//国家
d.setValue(c.getId()+"");
items.add(d);
}
}
return items;
}
}
实体类 城市,省份,国家 (没有的类可以自己引入一下)
package com.rudong.outsource.hulu.db.po.front.base;
/*
* This file is generated by code father, don't modify this file by manual.
*/
import javax.persistence.Column;
import javax.persistence.Id;
@Entity
@Table(name = "db_city")
public class City {
@Id
protected Long id;
public Long getId() {
return this.id;
}
public void setId(Long val) {
this.id = val;
}
@Column(name="regionId" ,nullable=false )
private Long regionId;
public void setRegionId( Long value) {
this.regionId = value;
}
public Long getRegionId() {
return this.regionId;
}
@Column(name="cn" ,nullable=false )
private String cn;
public void setCn( String value) {
this.cn = value;
}
public String getCn() {
return this.cn;
}
@Column(name="zipCode" )
private String zipCode;
public void setZipCode( String value) {
this.zipCode = value;
}
public String getZipCode() {
return this.zipCode;
}
@Column(name="status" )
private Integer status;
public void setStatus( Integer value) {
this.status = value;
}
public Integer getStatus() {
return this.status;
}
}
//省份
package com.rudong.outsource.hulu.db.po.front.base;
/*
* This file is generated by code father, don't modify this file by manual.
*/
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "db_area")
public class Area {
@Id
protected Long id;
public Long getId() {
return this.id;
}
public void setId(Long val) {
this.id = val;
}
@Column(name="countryId" ,nullable=false )
private Long countryId;
public void setCountryId( Long value) {
this.countryId = value;
}
public Long getCountryId() {
return this.countryId;
}
@Column(name="cn" )
private String cn;
public void setCn( String value) {
this.cn = value;
}
public String getCn() {
return this.cn;
}
@Column(name="status" )
private Integer status;
public void setStatus( Integer value) {
this.status = value;
}
public Integer getStatus() {
return this.status;
}
}
//国家
package com.rudong.outsource.hulu.db.po.front.base;
/*
* This file is generated by code father, don't modify this file by manual.
*/
import javax.persistence.Column;
import javax.persistence.Id;
@Entity
@Table(name = "db_country")
public class Country {
@Id
protected Long id;
public Long getId() {
return this.id;
}
public void setId(Long val) {
this.id = val;
}
@Column(name="codeTel" )
private String codeTel;
public void setCodeTel( String value) {
this.codeTel = value;
}
public String getCodeTel() {
return this.codeTel;
}
@Column(name="isoCode" )
private String isoCode;
public void setIsoCode( String value) {
this.isoCode = value;
}
public String getIsoCode() {
return this.isoCode;
}
@Column(name="continentId" )
private Long continentId;
public void setContinentId( Long value) {
this.continentId = value;
}
public Long getContinentId() {
return this.continentId;
}
@Column(name="cn" )
private String cn;
public void setCn( String value) {
this.cn = value;
}
public String getCn() {
return this.cn;
}
@Column(name="status" )
private Integer status;
public void setStatus( Integer value) {
this.status = value;
}
public Integer getStatus() {
return this.status;
}
}
DAO 层
城市,省份/国家
/**
* 国家
*/
@Query("select c from Country c ")
List<Country> queryAllCountry();
//省份
@Query("select a from Area a ")
List<Area> queryAllArea();
//城市
/**
* 所有城市
* 数据字典
*/
@Query("select c from City c ")
List<City> queryAllCity();
//表结构 值
-- ----------------------------
-- Table structure for `db_area`
-- ----------------------------
DROP TABLE IF EXISTS `db_area`;
CREATE TABLE `db_area` (
`id` bigint(11) NOT NULL,
`countryId` bigint(11) NOT NULL COMMENT '国家ID',
`cn` varchar(100) NOT NULL COMMENT '中文描述',
`status` smallint(6) NOT NULL default '1' COMMENT '状态',
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of db_area
-- ----------------------------
INSERT INTO `db_area` VALUES ('100202', '247', '北京 (Beijing)', '1');
INSERT INTO `db_area` VALUES ('100203', '247', '上海 (Shanghai)', '1');
INSERT INTO `db_area` VALUES ('100204', '247', '天津 (Tianjin)', '1');
INSERT INTO `db_area` VALUES ('100205', '247', '重庆 (Chongqing)', '1');
INSERT INTO `db_area` VALUES ('100206', '247', '河北 (Hebei)', '1');
INSERT INTO `db_area` VALUES ('100207', '247', '山西 (Shanxi)', '1');
INSERT INTO `db_area` VALUES ('100208', '247', '内蒙古 (Neimenggu)', '1');
INSERT INTO `db_area` VALUES ('100209', '247', '辽宁 (Liaoning)', '1');
INSERT INTO `db_area` VALUES ('100210', '247', '吉林 (Jilin)', '1');
INSERT INTO `db_area` VALUES ('100211', '247', '黑龙江 (Heilongjiang)', '1');
INSERT INTO `db_area` VALUES ('100212', '247', '山东 (Shandong)', '1');
INSERT INTO `db_area` VALUES ('100213', '247', '江苏 (Jiangsu)', '1');
INSERT INTO `db_area` VALUES ('100214', '247', '安徽 (Anhui)', '1');
INSERT INTO `db_area` VALUES ('100215', '247', '浙江 (Zhejiang)', '1');
INSERT INTO `db_area` VALUES ('100216', '247', '福建 (Fujian)', '1');
INSERT INTO `db_area` VALUES ('100217', '247', '江西 (Jiangxi)', '1');
INSERT INTO `db_area` VALUES ('100218', '247', '河南 (Henan)', '1');
INSERT INTO `db_area` VALUES ('100219', '247', '湖北 (Hubei)', '1');
INSERT INTO `db_area` VALUES ('100220', '247', '湖南 (Hunan)', '1');
INSERT INTO `db_area` VALUES ('100221', '247', '广东 (Guangdong)', '1');
INSERT INTO `db_area` VALUES ('100222', '247', '广西 (Guangxi)', '1');
INSERT INTO `db_area` VALUES ('100223', '247', '海南 (Hainan)', '1');
INSERT INTO `db_area` VALUES ('100224', '247', '四川 (Sichuan)', '1');
INSERT INTO `db_area` VALUES ('100225', '247', '贵州 (Guizhou)', '1');
INSERT INTO `db_area` VALUES ('100226', '247', '云南 (Yunnan)', '1');
INSERT INTO `db_area` VALUES ('100227', '247', '陕西 (Shaanxi)', '1');
INSERT INTO `db_area` VALUES ('100228', '247', '甘肃 (Gansu)', '1');
INSERT INTO `db_area` VALUES ('100229', '247', '宁夏 (Ningxia)', '1');
INSERT INTO `db_area` VALUES ('100230', '247', '青海 (Qinghai)', '1');
INSERT INTO `db_area` VALUES ('100232', '247', '西藏 (Xizang)', '1');
INSERT INTO `db_area` VALUES ('101195', '247', '香港 (Hong Kong)', '1');
INSERT INTO `db_area` VALUES ('101196', '247', '澳门 (Macao)', '1');
INSERT INTO `db_area` VALUES ('101198', '247', '台湾 (Taiwan)', '1');
INSERT INTO `db_area` VALUES ('102244', '247', '新疆 (Xinjiang)', '1');
-- ----------------------------
-- Table structure for `db_city`
-- ----------------------------
DROP TABLE IF EXISTS `db_city`;
CREATE TABLE `db_city` (
`id` bigint(11) NOT NULL,
`regionId` bigint(11) NOT NULL COMMENT '地区ID',
`cn` varchar(100) NOT NULL COMMENT '中文名',
`zipCode` varchar(10) NOT NULL COMMENT '邮编',
`status` smallint(6) NOT NULL default '1' COMMENT '状态',
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of db_city
-- ----------------------------
INSERT INTO `db_city` VALUES ('200001', '100202', '北京', '100000', '1');
INSERT INTO `db_city` VALUES ('200002', '100204', '天津', '100000', '1');
INSERT INTO `db_city` VALUES ('200003', '100206', '石家庄', '050000', '1');
INSERT INTO `db_city` VALUES ('200004', '100206', '唐山', '063000', '1');
INSERT INTO `db_city` VALUES ('200005', '100206', '秦皇岛', '066000', '1');
INSERT INTO `db_city` VALUES ('200006', '100206', '邯郸', '056000', '1');
INSERT INTO `db_city` VALUES ('200007', '100206', '邢台', '054000', '1');
INSERT INTO `db_city` VALUES ('200008', '100206', '保定', '071000', '1');
INSERT INTO `db_city` VALUES ('200009', '100206', '张家口', '075000', '1');
INSERT INTO `db_city` VALUES ('200010', '100206', '承德', '067000', '1');
INSERT INTO `db_city` VALUES ('200011', '100206', '沧州', '061000', '1');
INSERT INTO `db_city` VALUES ('200012', '100206', '廊坊', '065000', '1');
INSERT INTO `db_city` VALUES ('200013', '100206', '衡水', '053000', '1');
INSERT INTO `db_city` VALUES ('200014', '100207', '太原', '030000', '1');
INSERT INTO `db_city` VALUES ('200015', '100207', '大同', '037000', '1');
INSERT INTO `db_city` VALUES ('200016', '100207', '阳泉', '045000', '1');
INSERT INTO `db_city` VALUES ('200017', '100207', '长治', '046000', '1');
INSERT INTO `db_city` VALUES ('200018', '100207', '晋城', '048000', '1');
INSERT INTO `db_city` VALUES ('200019', '100207', '朔州', '036000', '1');
INSERT INTO `db_city` VALUES ('200020', '100207', '晋中', '030600', '1');
INSERT INTO `db_city` VALUES ('200021', '100207', '运城', '044000', '1');
INSERT INTO `db_city` VALUES ('200022', '100207', '忻州', '034000', '1');
INSERT INTO `db_city` VALUES ('200023', '100207', '临汾', '041000', '1');
INSERT INTO `db_city` VALUES ('200024', '100207', '吕梁', '030500', '1');
INSERT INTO `db_city` VALUES ('200025', '100208', '呼和浩特', '010000', '1');
INSERT INTO `db_city` VALUES ('200026', '100208', '包头', '014000', '1');
INSERT INTO `db_city` VALUES ('200027', '100208', '乌海', '016000', '1');
INSERT INTO `db_city` VALUES ('200028', '100208', '赤峰', '024000', '1');
INSERT INTO `db_city` VALUES ('200029', '100208', '通辽', '028000', '1');
INSERT INTO `db_city` VALUES ('200030', '100208', '鄂尔多斯', '010300', '1');
INSERT INTO `db_city` VALUES ('200031', '100208', '呼伦贝尔', '021000', '1');
INSERT INTO `db_city` VALUES ('200032', '100208', '巴彦淖尔', '014400', '1');
INSERT INTO `db_city` VALUES ('200033', '100208', '乌兰察布', '011800', '1');
INSERT INTO `db_city` VALUES ('200034', '100208', '兴安盟', '137500', '1');
INSERT INTO `db_city` VALUES ('200035', '100208', '锡林郭勒盟', '011100', '1');
INSERT INTO `db_city` VALUES ('200036', '100208', '阿拉善盟', '016000', '1');
INSERT INTO `db_city` VALUES ('200037', '100209', '沈阳', '110000', '1');
INSERT INTO `db_city` VALUES ('200038', '100209', '大连', '116000', '1');
INSERT INTO `db_city` VALUES ('200039', '100209', '鞍山', '114000', '1');
INSERT INTO `db_city` VALUES ('200040', '100209', '抚顺', '113000', '1');
INSERT INTO `db_city` VALUES ('200041', '100209', '本溪', '117000', '1');
INSERT INTO `db_city` VALUES ('200042', '100209', '丹东', '118000', '1');
INSERT INTO `db_city` VALUES ('200043', '100209', '锦州', '121000', '1');
INSERT INTO `db_city` VALUES ('200044', '100209', '营口', '115000', '1');
INSERT INTO `db_city` VALUES ('200045', '100209', '阜新', '123000', '1');
INSERT INTO `db_city` VALUES ('200046', '100209', '辽阳', '111000', '1');
INSERT INTO `db_city` VALUES ('200047', '100209', '盘锦', '124000', '1');
INSERT INTO `db_city` VALUES ('200048', '100209', '铁岭', '112000', '1');
INSERT INTO `db_city` VALUES ('200049', '100209', '朝阳', '122000', '1');
INSERT INTO `db_city` VALUES ('200050', '100209', '葫芦岛', '125000', '1');
INSERT INTO `db_city` VALUES ('200051', '100210', '长春', '130000', '1');
INSERT INTO `db_city` VALUES ('200052', '100210', '吉林', '132000', '1');
INSERT INTO `db_city` VALUES ('200053', '100210', '四平', '136000', '1');
INSERT INTO `db_city` VALUES ('200054', '100210', '辽源', '136200', '1');
INSERT INTO `db_city` VALUES ('200055', '100210', '通化', '134000', '1');
INSERT INTO `db_city` VALUES ('200056', '100210', '白山', '134300', '1');
INSERT INTO `db_city` VALUES ('200057', '100210', '松原', '131100', '1');
INSERT INTO `db_city` VALUES ('200058', '100210', '白城', '137000', '1');
INSERT INTO `db_city` VALUES ('200059', '100210', '延边', '133000', '1');
INSERT INTO `db_city` VALUES ('200060', '100211', '哈尔滨', '150000', '1');
INSERT INTO `db_city` VALUES ('200061', '100211', '齐齐哈尔', '161000', '1');
INSERT INTO `db_city` VALUES ('200062', '100211', '鸡西', '158100', '1');
INSERT INTO `db_city` VALUES ('200063', '100211', '鹤岗', '154100', '1');
INSERT INTO `db_city` VALUES ('200064', '100211', '双鸭山', '155100', '1');
INSERT INTO `db_city` VALUES ('200065', '100211', '大庆', '163000', '1');
INSERT INTO `db_city` VALUES ('200066', '100211', '伊春', '152300', '1');
INSERT INTO `db_city` VALUES ('200067', '100211', '佳木斯', '154000', '1');
INSERT INTO `db_city` VALUES ('200068', '100211', '七台河', '154600', '1');
INSERT INTO `db_city` VALUES ('200069', '100211', '牡丹江', '157000', '1');
INSERT INTO `db_city` VALUES ('200070', '100211', '黑河', '164300', '1');
INSERT INTO `db_city` VALUES ('200071', '100211', '绥化', '152000', '1');
INSERT INTO `db_city` VALUES ('200072', '100211', '大兴安岭', '165000', '1');
INSERT INTO `db_city` VALUES ('200073', '100203', '上海', '200000', '1');
INSERT INTO `db_city` VALUES ('200074', '100213', '南京', '210000', '1');
INSERT INTO `db_city` VALUES ('200075', '100213', '无锡', '214000', '1');
INSERT INTO `db_city` VALUES ('200076', '100213', '徐州', '221000', '1');
INSERT INTO `db_city` VALUES ('200077', '100213', '常州', '213000', '1');
INSERT INTO `db_city` VALUES ('200078', '100213', '苏州', '215000', '1');
INSERT INTO `db_city` VALUES ('200079', '100213', '南通', '226000', '1');
INSERT INTO `db_city` VALUES ('200080', '100213', '连云港', '222000', '1');
INSERT INTO `db_city` VALUES ('200081', '100213', '淮安', '223200', '1');
INSERT INTO `db_city` VALUES ('200082', '100213', '盐城', '224000', '1');
INSERT INTO `db_city` VALUES ('200083', '100213', '扬州', '225000', '1');
INSERT INTO `db_city` VALUES ('200084', '100213', '镇江', '212000', '1');
INSERT INTO `db_city` VALUES ('200085', '100213', '泰州', '225300', '1');
INSERT INTO `db_city` VALUES ('200086', '100213', '宿迁', '223800', '1');
INSERT INTO `db_city` VALUES ('200087', '100215', '杭州', '310000', '1');
INSERT INTO `db_city` VALUES ('200088', '100215', '宁波', '315000', '1');
INSERT INTO `db_city` VALUES ('200089', '100215', '温州', '325000', '1');
INSERT INTO `db_city` VALUES ('200090', '100215', '嘉兴', '314000', '1');
INSERT INTO `db_city` VALUES ('200091', '100215', '湖州', '313000', '1');
INSERT INTO `db_city` VALUES ('200092', '100215', '绍兴', '312000', '1');
INSERT INTO `db_city` VALUES ('200093', '100215', '金华', '321000', '1');
INSERT INTO `db_city` VALUES ('200094', '100215', '衢州', '324000', '1');
INSERT INTO `db_city` VALUES ('200095', '100215', '舟山', '316000', '1');
INSERT INTO `db_city` VALUES ('200096', '100215', '台州', '318000', '1');
INSERT INTO `db_city` VALUES ('200097', '100215', '丽水', '323000', '1');
INSERT INTO `db_city` VALUES ('200098', '100214', '合肥', '230000', '1');
INSERT INTO `db_city` VALUES ('200099', '100214', '芜湖', '241000', '1');
INSERT INTO `db_city` VALUES ('200100', '100214', '蚌埠', '233000', '1');
INSERT INTO `db_city` VALUES ('200101', '100214', '淮南', '232000', '1');
INSERT INTO `db_city` VALUES ('200102', '100214', '马鞍山', '243000', '1');
INSERT INTO `db_city` VALUES ('200103', '100214', '淮北', '235000', '1');
INSERT INTO `db_city` VALUES ('200104', '100214', '铜陵', '244000', '1');
INSERT INTO `db_city` VALUES ('200105', '100214', '安庆', '246000', '1');
INSERT INTO `db_city` VALUES ('200106', '100214', '黄山', '242700', '1');
INSERT INTO `db_city` VALUES ('200107', '100214', '滁州', '239000', '1');
INSERT INTO `db_city` VALUES ('200108', '100214', '阜阳', '236100', '1');
INSERT INTO `db_city` VALUES ('200109', '100214', '宿州', '234100', '1');
INSERT INTO `db_city` VALUES ('200110', '100214', '巢湖', '238000', '1');
INSERT INTO `db_city` VALUES ('200111', '100214', '六安', '237000', '1');
INSERT INTO `db_city` VALUES ('200112', '100214', '亳州', '236800', '1');
INSERT INTO `db_city` VALUES ('200113', '100214', '池州', '247100', '1');
INSERT INTO `db_city` VALUES ('200114', '100214', '宣城', '366000', '1');
INSERT INTO `db_city` VALUES ('200115', '100216', '福州', '350000', '1');
INSERT INTO `db_city` VALUES ('200116', '100216', '厦门', '361000', '1');
INSERT INTO `db_city` VALUES ('200117', '100216', '莆田', '351100', '1');
INSERT INTO `db_city` VALUES ('200118', '100216', '三明', '365000', '1');
INSERT INTO `db_city` VALUES ('200119', '100216', '泉州', '362000', '1');
INSERT INTO `db_city` VALUES ('200120', '100216', '漳州', '363000', '1');
INSERT INTO `db_city` VALUES ('200121', '100216', '南平', '353000', '1');
INSERT INTO `db_city` VALUES ('200122', '100216', '龙岩', '364000', '1');
INSERT INTO `db_city` VALUES ('200123', '100216', '宁德', '352100', '1');
INSERT INTO `db_city` VALUES ('200124', '100217', '南昌', '330000', '1');
INSERT INTO `db_city` VALUES ('200125', '100217', '景德镇', '333000', '1');
INSERT INTO `db_city` VALUES ('200126', '100217', '萍乡', '337000', '1');
INSERT INTO `db_city` VALUES ('200127', '100217', '九江', '332000', '1');
INSERT INTO `db_city` VALUES ('200128', '100217', '新余', '338000', '1');
INSERT INTO `db_city` VALUES ('200129', '100217', '鹰潭', '335000', '1');
INSERT INTO `db_city` VALUES ('200130', '100217', '赣州', '341000', '1');
INSERT INTO `db_city` VALUES ('200131', '100217', '吉安', '343000', '1');
INSERT INTO `db_city` VALUES ('200132', '100217', '宜春', '336000', '1');
INSERT INTO `db_city` VALUES ('200133', '100217', '抚州', '332900', '1');
INSERT INTO `db_city` VALUES ('200134', '100217', '上饶', '334000', '1');
INSERT INTO `db_city` VALUES ('200135', '100212', '济南', '250000', '1');
INSERT INTO `db_city` VALUES ('200136', '100212', '青岛', '266000', '1');
INSERT INTO `db_city` VALUES ('200137', '100212', '淄博', '255000', '1');
INSERT INTO `db_city` VALUES ('200138', '100212', '枣庄', '277100', '1');
INSERT INTO `db_city` VALUES ('200139', '100212', '东营', '257000', '1');
INSERT INTO `db_city` VALUES ('200140', '100212', '烟台', '264000', '1');
INSERT INTO `db_city` VALUES ('200141', '100212', '潍坊', '261000', '1');
INSERT INTO `db_city` VALUES ('200142', '100212', '济宁', '272100', '1');
INSERT INTO `db_city` VALUES ('200143', '100212', '泰安', '271000', '1');
INSERT INTO `db_city` VALUES ('200144', '100212', '威海', '265700', '1');
INSERT INTO `db_city` VALUES ('200145', '100212', '日照', '276800', '1');
INSERT INTO `db_city` VALUES ('200146', '100212', '莱芜', '271100', '1');
INSERT INTO `db_city` VALUES ('200147', '100212', '临沂', '276000', '1');
INSERT INTO `db_city` VALUES ('200148', '100212', '德州', '253000', '1');
INSERT INTO `db_city` VALUES ('200149', '100212', '聊城', '252000', '1');
INSERT INTO `db_city` VALUES ('200150', '100212', '滨州', '256600', '1');
INSERT INTO `db_city` VALUES ('200151', '100212', '荷泽', '255000', '1');
INSERT INTO `db_city` VALUES ('200152', '100218', '郑州', '450000', '1');
INSERT INTO `db_city` VALUES ('200153', '100218', '开封', '475000', '1');
INSERT INTO `db_city` VALUES ('200154', '100218', '洛阳', '471000', '1');
INSERT INTO `db_city` VALUES ('200155', '100218', '平顶山', '467000', '1');
INSERT INTO `db_city` VALUES ('200156', '100218', '安阳', '454900', '1');
INSERT INTO `db_city` VALUES ('200157', '100218', '鹤壁', '456600', '1');
INSERT INTO `db_city` VALUES ('200158', '100218', '新乡', '453000', '1');
INSERT INTO `db_city` VALUES ('200159', '100218', '焦作', '454100', '1');
INSERT INTO `db_city` VALUES ('200160', '100218', '濮阳', '457000', '1');
INSERT INTO `db_city` VALUES ('200161', '100218', '许昌', '461000', '1');
INSERT INTO `db_city` VALUES ('200162', '100218', '漯河', '462000', '1');
INSERT INTO `db_city` VALUES ('200163', '100218', '三门峡', '472000', '1');
INSERT INTO `db_city` VALUES ('200164', '100218', '南阳', '473000', '1');
INSERT INTO `db_city` VALUES ('200165', '100218', '商丘', '476000', '1');
INSERT INTO `db_city` VALUES ('200166', '100218', '信阳', '464000', '1');
INSERT INTO `db_city` VALUES ('200167', '100218', '周口', '466000', '1');
INSERT INTO `db_city` VALUES ('200168', '100218', '驻马店', '463000', '1');
INSERT INTO `db_city` VALUES ('200169', '100219', '武汉', '430000', '1');
INSERT INTO `db_city` VALUES ('200170', '100219', '黄石', '435000', '1');
INSERT INTO `db_city` VALUES ('200171', '100219', '十堰', '442000', '1');
INSERT INTO `db_city` VALUES ('200172', '100219', '宜昌', '443000', '1');
INSERT INTO `db_city` VALUES ('200173', '100219', '襄樊', '441000', '1');
INSERT INTO `db_city` VALUES ('200174', '100219', '鄂州', '436000', '1');
INSERT INTO `db_city` VALUES ('200175', '100219', '荆门', '448000', '1');
INSERT INTO `db_city` VALUES ('200176', '100219', '孝感', '432100', '1');
INSERT INTO `db_city` VALUES ('200177', '100219', '荆州', '434000', '1');
INSERT INTO `db_city` VALUES ('200178', '100219', '黄冈', '438000', '1');
INSERT INTO `db_city` VALUES ('200179', '100219', '咸宁', '437000', '1');
INSERT INTO `db_city` VALUES ('200180', '100219', '随州', '441300', '1');
INSERT INTO `db_city` VALUES ('200181', '100219', '恩施', '445000', '1');
INSERT INTO `db_city` VALUES ('200182', '100219', '神农架', '442400', '1');
INSERT INTO `db_city` VALUES ('200183', '100220', '长沙', '410000', '1');
INSERT INTO `db_city` VALUES ('200184', '100220', '株洲', '412000', '1');
INSERT INTO `db_city` VALUES ('200185', '100220', '湘潭', '411100', '1');
INSERT INTO `db_city` VALUES ('200186', '100220', '衡阳', '421000', '1');
INSERT INTO `db_city` VALUES ('200187', '100220', '邵阳', '422000', '1');
INSERT INTO `db_city` VALUES ('200188', '100220', '岳阳', '414000', '1');
INSERT INTO `db_city` VALUES ('200189', '100220', '常德', '415000', '1');
INSERT INTO `db_city` VALUES ('200190', '100220', '张家界', '427000', '1');
INSERT INTO `db_city` VALUES ('200191', '100220', '益阳', '413000', '1');
INSERT INTO `db_city` VALUES ('200192', '100220', '郴州', '423000', '1');
INSERT INTO `db_city` VALUES ('200193', '100220', '永州', '425000', '1');
INSERT INTO `db_city` VALUES ('200194', '100220', '怀化', '418000', '1');
INSERT INTO `db_city` VALUES ('200195', '100220', '娄底', '417000', '1');
INSERT INTO `db_city` VALUES ('200196', '100220', '湘西', '416000', '1');
INSERT INTO `db_city` VALUES ('200197', '100221', '广州', '510000', '1');
INSERT INTO `db_city` VALUES ('200198', '100221', '韶关', '521000', '1');
INSERT INTO `db_city` VALUES ('200199', '100221', '深圳', '518000', '1');
INSERT INTO `db_city` VALUES ('200200', '100221', '珠海', '519000', '1');
INSERT INTO `db_city` VALUES ('200201', '100221', '汕头', '515000', '1');
INSERT INTO `db_city` VALUES ('200202', '100221', '佛山', '528000', '1');
INSERT INTO `db_city` VALUES ('200203', '100221', '江门', '529000', '1');
INSERT INTO `db_city` VALUES ('200204', '100221', '湛江', '524000', '1');
INSERT INTO `db_city` VALUES ('200205', '100221', '茂名', '525000', '1');
INSERT INTO `db_city` VALUES ('200206', '100221', '肇庆', '526000', '1');
INSERT INTO `db_city` VALUES ('200207', '100221', '惠州', '516000', '1');
INSERT INTO `db_city` VALUES ('200208', '100221', '梅州', '514000', '1');
INSERT INTO `db_city` VALUES ('200209', '100221', '汕尾', '516600', '1');
INSERT INTO `db_city` VALUES ('200210', '100221', '河源', '517000', '1');
INSERT INTO `db_city` VALUES ('200211', '100221', '阳江', '529500', '1');
INSERT INTO `db_city` VALUES ('200212', '100221', '清远', '511500', '1');
INSERT INTO `db_city` VALUES ('200213', '100221', '东莞', '511700', '1');
INSERT INTO `db_city` VALUES ('200214', '100221', '中山', '528400', '1');
INSERT INTO `db_city` VALUES ('200215', '100221', '潮州', '515600', '1');
INSERT INTO `db_city` VALUES ('200216', '100221', '揭阳', '522000', '1');
INSERT INTO `db_city` VALUES ('200217', '100221', '云浮', '527300', '1');
INSERT INTO `db_city` VALUES ('200218', '100222', '南宁', '530000', '1');
INSERT INTO `db_city` VALUES ('200219', '100222', '柳州', '545000', '1');
INSERT INTO `db_city` VALUES ('200220', '100222', '桂林', '541000', '1');
INSERT INTO `db_city` VALUES ('200221', '100222', '梧州', '543000', '1');
INSERT INTO `db_city` VALUES ('200222', '100222', '北海', '536000', '1');
INSERT INTO `db_city` VALUES ('200223', '100222', '防城港', '538000', '1');
INSERT INTO `db_city` VALUES ('200224', '100222', '钦州', '535000', '1');
INSERT INTO `db_city` VALUES ('200225', '100222', '贵港', '537100', '1');
INSERT INTO `db_city` VALUES ('200226', '100222', '玉林', '537000', '1');
INSERT INTO `db_city` VALUES ('200227', '100222', '百色', '533000', '1');
INSERT INTO `db_city` VALUES ('200228', '100222', '贺州', '542800', '1');
INSERT INTO `db_city` VALUES ('200229', '100222', '河池', '547000', '1');
INSERT INTO `db_city` VALUES ('200230', '100222', '来宾', '546100', '1');
INSERT INTO `db_city` VALUES ('200231', '100222', '崇左', '532200', '1');
INSERT INTO `db_city` VALUES ('200232', '100223', '海口', '570000', '1');
INSERT INTO `db_city` VALUES ('200233', '100223', '三亚', '572000', '1');
INSERT INTO `db_city` VALUES ('200234', '100205', '重庆', '400000', '1');
INSERT INTO `db_city` VALUES ('200235', '100224', '成都', '610000', '1');
INSERT INTO `db_city` VALUES ('200236', '100224', '自贡', '643000', '1');
INSERT INTO `db_city` VALUES ('200237', '100224', '攀枝花', '617000', '1');
INSERT INTO `db_city` VALUES ('200238', '100224', '泸州', '646100', '1');
INSERT INTO `db_city` VALUES ('200239', '100224', '德阳', '618000', '1');
INSERT INTO `db_city` VALUES ('200240', '100224', '绵阳', '621000', '1');
INSERT INTO `db_city` VALUES ('200241', '100224', '广元', '628000', '1');
INSERT INTO `db_city` VALUES ('200242', '100224', '遂宁', '629000', '1');
INSERT INTO `db_city` VALUES ('200243', '100224', '内江', '641000', '1');
INSERT INTO `db_city` VALUES ('200244', '100224', '乐山', '614000', '1');
INSERT INTO `db_city` VALUES ('200245', '100224', '南充', '637000', '1');
INSERT INTO `db_city` VALUES ('200246', '100224', '眉山', '612100', '1');
INSERT INTO `db_city` VALUES ('200247', '100224', '宜宾', '644000', '1');
INSERT INTO `db_city` VALUES ('200248', '100224', '广安', '638000', '1');
INSERT INTO `db_city` VALUES ('200249', '100224', '达州', '635000', '1');
INSERT INTO `db_city` VALUES ('200250', '100224', '雅安', '625000', '1');
INSERT INTO `db_city` VALUES ('200251', '100224', '巴中', '635500', '1');
INSERT INTO `db_city` VALUES ('200252', '100224', '资阳', '641300', '1');
INSERT INTO `db_city` VALUES ('200253', '100224', '阿坝', '624600', '1');
INSERT INTO `db_city` VALUES ('200254', '100224', '甘孜', '626000', '1');
INSERT INTO `db_city` VALUES ('200255', '100224', '凉山', '615000', '1');
INSERT INTO `db_city` VALUES ('200256', '100225', '贵阳', '55000', '1');
INSERT INTO `db_city` VALUES ('200257', '100225', '六盘水', '553000', '1');
INSERT INTO `db_city` VALUES ('200258', '100225', '遵义', '563000', '1');
INSERT INTO `db_city` VALUES ('200259', '100225', '安顺', '561000', '1');
INSERT INTO `db_city` VALUES ('200260', '100225', '铜仁', '554300', '1');
INSERT INTO `db_city` VALUES ('200261', '100225', '黔西南', '551500', '1');
INSERT INTO `db_city` VALUES ('200262', '100225', '毕节', '551700', '1');
INSERT INTO `db_city` VALUES ('200263', '100225', '黔东南', '551500', '1');
INSERT INTO `db_city` VALUES ('200264', '100225', '黔南', '550100', '1');
INSERT INTO `db_city` VALUES ('200265', '100226', '昆明', '650000', '1');
INSERT INTO `db_city` VALUES ('200266', '100226', '曲靖', '655000', '1');
INSERT INTO `db_city` VALUES ('200267', '100226', '玉溪', '653100', '1');
INSERT INTO `db_city` VALUES ('200268', '100226', '保山', '678000', '1');
INSERT INTO `db_city` VALUES ('200269', '100226', '昭通', '657000', '1');
INSERT INTO `db_city` VALUES ('200270', '100226', '丽江', '674100', '1');
INSERT INTO `db_city` VALUES ('200271', '100226', '思茅', '665000', '1');
INSERT INTO `db_city` VALUES ('200272', '100226', '临沧', '677000', '1');
INSERT INTO `db_city` VALUES ('200273', '100226', '楚雄', '675000', '1');
INSERT INTO `db_city` VALUES ('200274', '100226', '红河', '654400', '1');
INSERT INTO `db_city` VALUES ('200275', '100226', '文山', '663000', '1');
INSERT INTO `db_city` VALUES ('200276', '100226', '西双版纳', '666200', '1');
INSERT INTO `db_city` VALUES ('200277', '100226', '大理', '671000', '1');
INSERT INTO `db_city` VALUES ('200278', '100226', '德宏', '678400', '1');
INSERT INTO `db_city` VALUES ('200279', '100226', '怒江', '671400', '1');
INSERT INTO `db_city` VALUES ('200280', '100226', '迪庆', '674400', '1');
INSERT INTO `db_city` VALUES ('200281', '100232', '拉萨', '850000', '1');
INSERT INTO `db_city` VALUES ('200282', '100232', '昌都', '854000', '1');
INSERT INTO `db_city` VALUES ('200283', '100232', '山南', '856000', '1');
INSERT INTO `db_city` VALUES ('200284', '100232', '日喀则', '857000', '1');
INSERT INTO `db_city` VALUES ('200285', '100232', '那曲', '852000', '1');
INSERT INTO `db_city` VALUES ('200286', '100232', '阿里', '859100', '1');
INSERT INTO `db_city` VALUES ('200287', '100232', '林芝', '860100', '1');
INSERT INTO `db_city` VALUES ('200288', '100227', '西安', '710000', '1');
INSERT INTO `db_city` VALUES ('200289', '100227', '铜川', '727000', '1');
INSERT INTO `db_city` VALUES ('200290', '100227', '宝鸡', '721000', '1');
INSERT INTO `db_city` VALUES ('200291', '100227', '咸阳', '712000', '1');
INSERT INTO `db_city` VALUES ('200292', '100227', '渭南', '714000', '1');
INSERT INTO `db_city` VALUES ('200293', '100227', '延安', '716000', '1');
INSERT INTO `db_city` VALUES ('200294', '100227', '汉中', '723000', '1');
INSERT INTO `db_city` VALUES ('200295', '100227', '榆林', '719000', '1');
INSERT INTO `db_city` VALUES ('200296', '100227', '安康', '725000', '1');
INSERT INTO `db_city` VALUES ('200297', '100227', '商洛', '711500', '1');
INSERT INTO `db_city` VALUES ('200298', '100228', '兰州', '730000', '1');
INSERT INTO `db_city` VALUES ('200299', '100228', '嘉峪关', '735100', '1');
INSERT INTO `db_city` VALUES ('200300', '100228', '金昌', '737100', '1');
INSERT INTO `db_city` VALUES ('200301', '100228', '白银', '730900', '1');
INSERT INTO `db_city` VALUES ('200302', '100228', '天水', '741000', '1');
INSERT INTO `db_city` VALUES ('200303', '100228', '武威', '733000', '1');
INSERT INTO `db_city` VALUES ('200304', '100228', '张掖', '734000', '1');
INSERT INTO `db_city` VALUES ('200305', '100228', '平凉', '744000', '1');
INSERT INTO `db_city` VALUES ('200306', '100228', '酒泉', '735000', '1');
INSERT INTO `db_city` VALUES ('200307', '100228', '庆阳', '744500', '1');
INSERT INTO `db_city` VALUES ('200308', '100228', '定西', '743000', '1');
INSERT INTO `db_city` VALUES ('200309', '100228', '陇南', '742100', '1');
INSERT INTO `db_city` VALUES ('200310', '100228', '临夏', '731100', '1');
INSERT INTO `db_city` VALUES ('200311', '100228', '甘南', '747000', '1');
INSERT INTO `db_city` VALUES ('200312', '100230', '西宁', '810000', '1');
INSERT INTO `db_city` VALUES ('200313', '100230', '海东', '810600', '1');
INSERT INTO `db_city` VALUES ('200314', '100230', '海北', '810300', '1');
INSERT INTO `db_city` VALUES ('200315', '100230', '黄南', '811300', '1');
INSERT INTO `db_city` VALUES ('200316', '100230', '海南', '813000', '1');
INSERT INTO `db_city` VALUES ('200317', '100230', '果洛', '814000', '1');
INSERT INTO `db_city` VALUES ('200318', '100230', '玉树', '815000', '1');
INSERT INTO `db_city` VALUES ('200319', '100230', '海西', '817000', '1');
INSERT INTO `db_city` VALUES ('200320', '100229', '银川', '750000', '1');
INSERT INTO `db_city` VALUES ('200321', '100229', '石嘴山', '753000', '1');
INSERT INTO `db_city` VALUES ('200322', '100229', '吴忠', '751100', '1');
INSERT INTO `db_city` VALUES ('200323', '100229', '固原', '756000', '1');
INSERT INTO `db_city` VALUES ('200324', '100229', '中卫', '751700', '1');
INSERT INTO `db_city` VALUES ('200325', '102244', '乌鲁木齐', '830000', '1');
INSERT INTO `db_city` VALUES ('200326', '102244', '克拉玛依', '834000', '1');
INSERT INTO `db_city` VALUES ('200327', '102244', '吐鲁番', '838000', '1');
INSERT INTO `db_city` VALUES ('200328', '102244', '哈密', '839000', '1');
INSERT INTO `db_city` VALUES ('200329', '102244', '昌吉', '831100', '1');
INSERT INTO `db_city` VALUES ('200330', '102244', '博尔塔拉', '833400', '1');
INSERT INTO `db_city` VALUES ('200331', '102244', '巴音郭楞', '841000', '1');
INSERT INTO `db_city` VALUES ('200332', '102244', '阿克苏', '843000', '1');
INSERT INTO `db_city` VALUES ('200333', '102244', '克孜勒苏', '835600', '1');
INSERT INTO `db_city` VALUES ('200334', '102244', '喀什', '844000', '1');
INSERT INTO `db_city` VALUES ('200335', '102244', '和田', '848000', '1');
INSERT INTO `db_city` VALUES ('200336', '102244', '伊犁', '833200', '1');
INSERT INTO `db_city` VALUES ('200337', '102244', '塔城', '834700', '1');
INSERT INTO `db_city` VALUES ('200338', '102244', '阿勒泰', '836500', '1');
INSERT INTO `db_city` VALUES ('200339', '102244', '石河子', '832000', '1');
INSERT INTO `db_city` VALUES ('200340', '102244', '阿拉尔', '843300', '1');
INSERT INTO `db_city` VALUES ('200341', '102244', '图木舒克', '843900', '1');
INSERT INTO `db_city` VALUES ('200342', '102244', '五家渠', '831300', '1');
INSERT INTO `db_city` VALUES ('200343', '101195', '香港', '000000', '1');
INSERT INTO `db_city` VALUES ('200344', '101196', 以上是关于springmvc框架下的国内地区级联效果(共享一下给学习的小伙伴)的主要内容,如果未能解决你的问题,请参考以下文章