/*
Navicat Premium Data Transfer
Source Server : e-commerce-dev
Source Server Type : MySQL
Source Server Version : 50732
Source Host : rm-bp1201aq12i54yf552o.mysql.rds.aliyuncs.com:3306
Source Schema : box-dev
Target Server Type : MySQL
Target Server Version : 50732
File Encoding : 65001
Date: 10/02/2022 11:44:39
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for common_area
-- ----------------------------
DROP TABLE IF EXISTS `common_area`;
CREATE TABLE `common_area` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增列',
`code` varchar(16) CHARACTER SET utf8 NOT NULL COMMENT '区代码',
`city_code` varchar(16) CHARACTER SET utf8 DEFAULT NULL COMMENT '父级市代码',
`name` varchar(16) CHARACTER SET utf8 NOT NULL COMMENT '市名称',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`deleted` tinyint(1) DEFAULT '0' COMMENT '是否删除(0:否, 1:是)',
`creator` bigint(20) DEFAULT NULL COMMENT '创建人id',
`updater` bigint(20) DEFAULT NULL COMMENT '修改人id',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
KEY `idx_code` (`code`) USING BTREE,
KEY `idx_city_code` (`city_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=7437 DEFAULT CHARSET=utf8mb4 COMMENT='地区设置';
-- ----------------------------
-- Records of common_area
-- ----------------------------
BEGIN;
INSERT INTO `common_area` VALUES (4220, '110101', '110000', '东城区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4221, '110102', '110000', '西城区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4222, '110105', '110000', '朝阳区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4223, '110106', '110000', '丰台区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4224, '110107', '110000', '石景山区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4225, '110108', '110000', '海淀区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4226, '110109', '110000', '门头沟区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4227, '110111', '110000', '房山区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4228, '110112', '110000', '通州区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4229, '110113', '110000', '顺义区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4230, '110114', '110000', '昌平区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4231, '110115', '110000', '大兴区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4232, '110116', '110000', '怀柔区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4233, '110117', '110000', '平谷区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4234, '110118', '110000', '密云区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4235, '110119', '110000', '延庆区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:27');
INSERT INTO `common_area` VALUES (4237, '120101', '120000', '和平区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4238, '120102', '120000', '河东区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4239, '120103', '120000', '河西区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4240, '120104', '120000', '南开区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4241, '120105', '120000', '河北区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4242, '120106', '120000', '红桥区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4243, '120110', '120000', '东丽区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4244, '120111', '120000', '西青区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4245, '120112', '120000', '津南区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4246, '120113', '120000', '北辰区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4247, '120114', '120000', '武清区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4248, '120115', '120000', '宝坻区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4249, '120116', '120000', '滨海新区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4250, '120117', '120000', '宁河区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4251, '120118', '120000', '静海区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4252, '120119', '120000', '蓟州区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:50:45');
INSERT INTO `common_area` VALUES (4255, '130102', '130100', '长安区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4256, '130104', '130100', '桥西区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4257, '130105', '130100', '新华区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4258, '130107', '130100', '井陉矿区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4259, '130108', '130100', '裕华区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4260, '130109', '130100', '藁城区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4261, '130110', '130100', '鹿泉区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4262, '130111', '130100', '栾城区', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4263, '130121', '130100', '井陉县', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4264, '130123', '130100', '正定县', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4265, '130125', '130100', '行唐县', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4266, '130126', '130100', '灵寿县', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (4267, '130127', '130100', '高邑县', NULL, 0, NULL, NULL, '2021-12-21 19:52:49', '2021-12-22 12:48:44');
INSERT INTO `common_area` VALUES (
评论0