From 78e24c8bfc0292401fb46c8680120c79139844a3 Mon Sep 17 00:00:00 2001 From: cpf Date: Fri, 29 Jul 2022 14:27:35 +0800 Subject: [PATCH] =?UTF-8?q?git=E5=9C=B0=E5=9D=80=E8=BF=81=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 33 + LICENSE | 661 ++++ README.md | 1 + online-taxi-public/.idea/.gitignore | 8 + online-taxi-public/.idea/compiler.xml | 35 + online-taxi-public/.idea/encodings.xml | 14 + online-taxi-public/.idea/jarRepositories.xml | 20 + online-taxi-public/.idea/misc.xml | 15 + online-taxi-public/.idea/uiDesigner.xml | 124 + online-taxi-public/.idea/vcs.xml | 6 + online-taxi-public/api-boss/pom.xml | 36 + .../mashibing/apiBoss/ApiBossApplication.java | 14 + .../controller/DriverUserController.java | 37 + .../apiBoss/controller/TestController.java | 13 + .../remote/ServiceDriverUserClient.java | 19 + .../apiBoss/service/DriverUserService.java | 22 + .../src/main/resources/application.yml | 9 + online-taxi-public/api-driver/pom.xml | 36 + .../apiDriver/ApiDriverApplicaiton.java | 23 + .../apiDriver/controller/UserController.java | 21 + .../remote/ServiceDriverUserClient.java | 15 + .../apiDriver/service/UserService.java | 18 + .../src/main/resources/application.yml | 9 + .../api-driver/target/classes/application.yml | 9 + .../apiDriver/ApiDriverApplicaiton.class | Bin 0 -> 1182 bytes .../apiDriver/controller/UserController.class | Bin 0 -> 1121 bytes .../remote/ServiceDriverUserClient.class | Bin 0 -> 724 bytes .../apiDriver/service/UserService.class | Bin 0 -> 929 bytes online-taxi-public/api-passenger/pom.xml | 49 + .../apipassenger/ApiPassengerApplication.java | 16 + .../controller/ForecastPriceController.java | 31 + .../controller/TestController.java | 33 + .../controller/TokenController.java | 26 + .../controller/UserController.java | 26 + .../VerificationCodeController.java | 37 + .../interceptor/InterceptorConfig.java | 28 + .../interceptor/JwtInterceptor.java | 63 + .../remote/ServicePassengerUserClient.java | 17 + .../remote/ServicePriceClient.java | 16 + .../remote/ServiceVefificationcodeClient.java | 15 + .../service/ForecastPriceService.java | 47 + .../apipassenger/service/TokenService.java | 55 + .../apipassenger/service/UserService.java | 32 + .../service/VerificationCodeService.java | 104 + .../src/main/resources/application.yml | 13 + online-taxi-public/internal-common/pom.xml | 14 + .../constant/AmapConfigConstants.java | 36 + .../constant/CommonStatusEnum.java | 54 + .../constant/IdentityConstants.java | 9 + .../constant/TokenConstants.java | 11 + .../com/mashibing/internalcommon/dto/Car.java | 181 + .../internalcommon/dto/DicDistrict.java | 15 + .../internalcommon/dto/DriverUser.java | 42 + .../internalcommon/dto/PassengerUser.java | 25 + .../internalcommon/dto/PriceRule.java | 19 + .../internalcommon/dto/ResponseResult.java | 69 + .../internalcommon/dto/TokenResult.java | 11 + .../request/ForecastPriceDTO.java | 15 + .../request/VerificationCodeDTO.java | 13 + .../responese/DirectionResponse.java | 11 + .../responese/ForecastPriceResponse.java | 8 + .../responese/NumberCodeResponse.java | 9 + .../responese/TokenResponse.java | 11 + .../internalcommon/util/BigDecimalUtils.java | 59 + .../internalcommon/util/JwtUtils.java | 97 + .../internalcommon/util/RedisPrefixUtils.java | 29 + online-taxi-public/pom.xml | 86 + online-taxi-public/serice-map/pom.xml | 36 + .../servicemap/ServiceMapApplication.java | 22 + .../controller/DicDistrictController.java | 20 + .../controller/DriectionController.java | 26 + .../servicemap/controller/TestController.java | 34 + .../servicemap/mapper/DicDistrictMapper.java | 9 + .../remote/MapDicDistrictClient.java | 37 + .../servicemap/remote/MapDirectionClient.java | 82 + .../service/DicDistrictService.java | 116 + .../servicemap/service/DirectionService.java | 30 + .../src/main/resources/application.yml | 21 + .../service-driver-user/pom.xml | 53 + .../ServiceDriverUserApplication.java | 19 + .../controller/CarController.java | 20 + .../controller/TestController.java | 30 + .../controller/UserController.java | 32 + .../generator/MysqlGenerator.java | 31 + .../serviceDriverUser/mapper/CarMapper.java | 17 + .../serviceDriverUser/mapper/CarMapper.xml | 5 + .../mapper/DriverUserMapper.java | 9 + .../serviceDriverUser/service/CarService.java | 7 + .../service/DriverUserService.java | 43 + .../src/main/resources/application.yml | 16 + .../service-passenger-user/pom.xml | 39 + .../ServicePassengerUserApplication.java | 15 + .../controller/TestController.java | 13 + .../controller/UserController.java | 29 + .../mapper/PassengerUserMapper.java | 9 + .../service/UserService.java | 69 + .../src/main/resources/application.yml | 16 + .../target/classes/application.yml | 16 + .../ServicePassengerUserApplication.class | Bin 0 -> 1024 bytes .../controller/TestController.class | Bin 0 -> 642 bytes .../controller/UserController.class | Bin 0 -> 2112 bytes .../mapper/PassengerUserMapper.class | Bin 0 -> 442 bytes .../service/UserService.class | Bin 0 -> 3239 bytes online-taxi-public/service-price/pom.xml | 54 + .../serviceprice/ServicePriceApplication.java | 17 + .../controller/ForecastPriceController.java | 27 + .../serviceprice/mapper/PriceRuleMapper.java | 11 + .../serviceprice/remote/ServiceMapClient.java | 17 + .../service/ForecastPriceService.java | 124 + .../src/main/resources/application.yml | 16 + .../service-verificationcode/.gitignore | 33 + .../.mvn/wrapper/maven-wrapper.jar | Bin 0 -> 58727 bytes .../.mvn/wrapper/maven-wrapper.properties | 2 + .../service-verificationcode/mvnw | 316 ++ .../service-verificationcode/mvnw.cmd | 188 + .../service-verificationcode/pom.xml | 50 + .../ServiceVerificationcodeApplication.java | 15 + .../controller/NumberCodeController.java | 31 + .../controller/TestController.java | 13 + .../src/main/resources/application.yml | 10 + ...rviceVerificationcodeApplicationTests.java | 13 + online-taxi-public/端口管理.md | 12 + sql/dic-common.sql | 88 + sql/service-driver-user.sql | 101 + sql/service-map.sql | 3276 +++++++++++++++++ sql/service-passenger-user.sql | 37 + sql/service-price.sql | 35 + 127 files changed, 8037 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 online-taxi-public/.idea/.gitignore create mode 100644 online-taxi-public/.idea/compiler.xml create mode 100644 online-taxi-public/.idea/encodings.xml create mode 100644 online-taxi-public/.idea/jarRepositories.xml create mode 100644 online-taxi-public/.idea/misc.xml create mode 100644 online-taxi-public/.idea/uiDesigner.xml create mode 100644 online-taxi-public/.idea/vcs.xml create mode 100644 online-taxi-public/api-boss/pom.xml create mode 100644 online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/ApiBossApplication.java create mode 100644 online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/DriverUserController.java create mode 100644 online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/TestController.java create mode 100644 online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/remote/ServiceDriverUserClient.java create mode 100644 online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/service/DriverUserService.java create mode 100644 online-taxi-public/api-boss/src/main/resources/application.yml create mode 100644 online-taxi-public/api-driver/pom.xml create mode 100644 online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/ApiDriverApplicaiton.java create mode 100644 online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/controller/UserController.java create mode 100644 online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/remote/ServiceDriverUserClient.java create mode 100644 online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/service/UserService.java create mode 100644 online-taxi-public/api-driver/src/main/resources/application.yml create mode 100644 online-taxi-public/api-driver/target/classes/application.yml create mode 100644 online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/ApiDriverApplicaiton.class create mode 100644 online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/controller/UserController.class create mode 100644 online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/remote/ServiceDriverUserClient.class create mode 100644 online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/service/UserService.class create mode 100644 online-taxi-public/api-passenger/pom.xml create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/ApiPassengerApplication.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/ForecastPriceController.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TestController.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/UserController.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/VerificationCodeController.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePassengerUserClient.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePriceClient.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServiceVefificationcodeClient.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/ForecastPriceService.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/UserService.java create mode 100644 online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java create mode 100644 online-taxi-public/api-passenger/src/main/resources/application.yml create mode 100644 online-taxi-public/internal-common/pom.xml create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/AmapConfigConstants.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/CommonStatusEnum.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/IdentityConstants.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/TokenConstants.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/Car.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DicDistrict.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DriverUser.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PassengerUser.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PriceRule.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/ResponseResult.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/TokenResult.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/ForecastPriceDTO.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/VerificationCodeDTO.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/DirectionResponse.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/ForecastPriceResponse.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/NumberCodeResponse.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/TokenResponse.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/BigDecimalUtils.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/JwtUtils.java create mode 100644 online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/RedisPrefixUtils.java create mode 100644 online-taxi-public/pom.xml create mode 100644 online-taxi-public/serice-map/pom.xml create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DicDistrictController.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DriectionController.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/TestController.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/mapper/DicDistrictMapper.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDicDistrictClient.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDirectionClient.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/service/DicDistrictService.java create mode 100644 online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/service/DirectionService.java create mode 100644 online-taxi-public/serice-map/src/main/resources/application.yml create mode 100644 online-taxi-public/service-driver-user/pom.xml create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/ServiceDriverUserApplication.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/CarController.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/TestController.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/UserController.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/generator/MysqlGenerator.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.xml create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/DriverUserMapper.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/CarService.java create mode 100644 online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/DriverUserService.java create mode 100644 online-taxi-public/service-driver-user/src/main/resources/application.yml create mode 100644 online-taxi-public/service-passenger-user/pom.xml create mode 100644 online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java create mode 100644 online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java create mode 100644 online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/UserController.java create mode 100644 online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/mapper/PassengerUserMapper.java create mode 100644 online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/service/UserService.java create mode 100644 online-taxi-public/service-passenger-user/src/main/resources/application.yml create mode 100644 online-taxi-public/service-passenger-user/target/classes/application.yml create mode 100644 online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.class create mode 100644 online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/controller/TestController.class create mode 100644 online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/controller/UserController.class create mode 100644 online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/mapper/PassengerUserMapper.class create mode 100644 online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/service/UserService.class create mode 100644 online-taxi-public/service-price/pom.xml create mode 100644 online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/ServicePriceApplication.java create mode 100644 online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/controller/ForecastPriceController.java create mode 100644 online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/mapper/PriceRuleMapper.java create mode 100644 online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/remote/ServiceMapClient.java create mode 100644 online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/service/ForecastPriceService.java create mode 100644 online-taxi-public/service-price/src/main/resources/application.yml create mode 100644 online-taxi-public/service-verificationcode/.gitignore create mode 100644 online-taxi-public/service-verificationcode/.mvn/wrapper/maven-wrapper.jar create mode 100644 online-taxi-public/service-verificationcode/.mvn/wrapper/maven-wrapper.properties create mode 100644 online-taxi-public/service-verificationcode/mvnw create mode 100644 online-taxi-public/service-verificationcode/mvnw.cmd create mode 100644 online-taxi-public/service-verificationcode/pom.xml create mode 100644 online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplication.java create mode 100644 online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/NumberCodeController.java create mode 100644 online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/TestController.java create mode 100644 online-taxi-public/service-verificationcode/src/main/resources/application.yml create mode 100644 online-taxi-public/service-verificationcode/src/test/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplicationTests.java create mode 100644 online-taxi-public/端口管理.md create mode 100644 sql/dic-common.sql create mode 100644 sql/service-driver-user.sql create mode 100644 sql/service-map.sql create mode 100644 sql/service-passenger-user.sql create mode 100644 sql/service-price.sql diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9065afb --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk +online-taxi-public/api-passenger/target/classes/com/mashibing/apipassenger/controller/VerificationCodeController.class +online-taxi-public/api-passenger/target/classes/com/mashibing/apipassenger/request/VerificationCodeDTO.class +online-taxi-public/api-passenger/target/classes/com/mashibing/apipassenger/service/VerificationCodeService.class +online-taxi-public/service-price/target/ +online-taxi-public/internal-common/target/ +online-taxi-public/api-passenger/target/ +online-taxi-public/serice-map/target/ +online-taxi-public/service-driver-user/target/ +online-taxi-public/api-boss/target/ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dbbe355 --- /dev/null +++ b/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/README.md b/README.md new file mode 100644 index 0000000..7c55513 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +飞滴出行网约车项目2022版 \ No newline at end of file diff --git a/online-taxi-public/.idea/.gitignore b/online-taxi-public/.idea/.gitignore new file mode 100644 index 0000000..73f69e0 --- /dev/null +++ b/online-taxi-public/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/online-taxi-public/.idea/compiler.xml b/online-taxi-public/.idea/compiler.xml new file mode 100644 index 0000000..b62330b --- /dev/null +++ b/online-taxi-public/.idea/compiler.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/online-taxi-public/.idea/encodings.xml b/online-taxi-public/.idea/encodings.xml new file mode 100644 index 0000000..e250eb7 --- /dev/null +++ b/online-taxi-public/.idea/encodings.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/online-taxi-public/.idea/jarRepositories.xml b/online-taxi-public/.idea/jarRepositories.xml new file mode 100644 index 0000000..abb532a --- /dev/null +++ b/online-taxi-public/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/online-taxi-public/.idea/misc.xml b/online-taxi-public/.idea/misc.xml new file mode 100644 index 0000000..44a5b1f --- /dev/null +++ b/online-taxi-public/.idea/misc.xml @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/online-taxi-public/.idea/uiDesigner.xml b/online-taxi-public/.idea/uiDesigner.xml new file mode 100644 index 0000000..e96534f --- /dev/null +++ b/online-taxi-public/.idea/uiDesigner.xml @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/online-taxi-public/.idea/vcs.xml b/online-taxi-public/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/online-taxi-public/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/online-taxi-public/api-boss/pom.xml b/online-taxi-public/api-boss/pom.xml new file mode 100644 index 0000000..4411706 --- /dev/null +++ b/online-taxi-public/api-boss/pom.xml @@ -0,0 +1,36 @@ + + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + api-boss + + + + org.springframework.boot + spring-boot-starter-web + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + + + + \ No newline at end of file diff --git a/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/ApiBossApplication.java b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/ApiBossApplication.java new file mode 100644 index 0000000..fb35937 --- /dev/null +++ b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/ApiBossApplication.java @@ -0,0 +1,14 @@ +package com.mashibing.apiBoss; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.openfeign.EnableFeignClients; +import org.springframework.web.bind.annotation.RestController; + +@SpringBootApplication +@EnableFeignClients +public class ApiBossApplication { + public static void main(String[] args) { + SpringApplication.run(ApiBossApplication.class); + } +} diff --git a/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/DriverUserController.java b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/DriverUserController.java new file mode 100644 index 0000000..fab5c63 --- /dev/null +++ b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/DriverUserController.java @@ -0,0 +1,37 @@ +package com.mashibing.apiBoss.controller; + +import com.mashibing.apiBoss.service.DriverUserService; +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class DriverUserController { + + @Autowired + private DriverUserService driverUserService; + + /** + * 添加司机 + * @param driverUser + * @return + */ + @PostMapping("/driver-user") + public ResponseResult addDriverUser(@RequestBody DriverUser driverUser){ + return driverUserService.addDriverUser(driverUser); + } + + /** + * 修改司机 + * @param driverUser + * @return + */ + @PutMapping("/driver-user") + public ResponseResult updateDriverUser(@RequestBody DriverUser driverUser){ + return driverUserService.updateDriverUser(driverUser); + } +} diff --git a/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/TestController.java b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/TestController.java new file mode 100644 index 0000000..37f8c52 --- /dev/null +++ b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/controller/TestController.java @@ -0,0 +1,13 @@ +package com.mashibing.apiBoss.controller; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + + @GetMapping("/test") + public String test(){ + return "api-boss"; + } +} diff --git a/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/remote/ServiceDriverUserClient.java b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/remote/ServiceDriverUserClient.java new file mode 100644 index 0000000..32536b7 --- /dev/null +++ b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/remote/ServiceDriverUserClient.java @@ -0,0 +1,19 @@ +package com.mashibing.apiBoss.remote; + +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.stereotype.Service; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +@FeignClient("service-driver-user") +public interface ServiceDriverUserClient { + + @RequestMapping(method = RequestMethod.POST, value = "/user") + public ResponseResult addDriverUser(@RequestBody DriverUser driverUser); + + @RequestMapping(method = RequestMethod.PUT, value = "/user") + public ResponseResult updateDriverUser(@RequestBody DriverUser driverUser); +} diff --git a/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/service/DriverUserService.java b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/service/DriverUserService.java new file mode 100644 index 0000000..9211de5 --- /dev/null +++ b/online-taxi-public/api-boss/src/main/java/com/mashibing/apiBoss/service/DriverUserService.java @@ -0,0 +1,22 @@ +package com.mashibing.apiBoss.service; + +import com.mashibing.apiBoss.remote.ServiceDriverUserClient; +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +public class DriverUserService { + + @Autowired + private ServiceDriverUserClient serviceDriverUserClient; + + public ResponseResult addDriverUser(DriverUser driverUser){ + return serviceDriverUserClient.addDriverUser(driverUser); + } + + public ResponseResult updateDriverUser(DriverUser driverUser){ + return serviceDriverUserClient.updateDriverUser(driverUser); + } +} diff --git a/online-taxi-public/api-boss/src/main/resources/application.yml b/online-taxi-public/api-boss/src/main/resources/application.yml new file mode 100644 index 0000000..a31b8e5 --- /dev/null +++ b/online-taxi-public/api-boss/src/main/resources/application.yml @@ -0,0 +1,9 @@ +server: + port: 8087 +spring: + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + application: + name: api-boss diff --git a/online-taxi-public/api-driver/pom.xml b/online-taxi-public/api-driver/pom.xml new file mode 100644 index 0000000..b3b7b31 --- /dev/null +++ b/online-taxi-public/api-driver/pom.xml @@ -0,0 +1,36 @@ + + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + api-driver + + + + org.springframework.boot + spring-boot-starter-web + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + + + \ No newline at end of file diff --git a/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/ApiDriverApplicaiton.java b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/ApiDriverApplicaiton.java new file mode 100644 index 0000000..bdfb9b4 --- /dev/null +++ b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/ApiDriverApplicaiton.java @@ -0,0 +1,23 @@ +package com.mashibing.apiDriver; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.cloud.openfeign.EnableFeignClients; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@SpringBootApplication +@RestController +@EnableDiscoveryClient +@EnableFeignClients +public class ApiDriverApplicaiton { + public static void main(String[] args) { + SpringApplication.run(ApiDriverApplicaiton.class); + } + + @GetMapping("/test") + public String test(){ + return "api-driver"; + } +} diff --git a/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/controller/UserController.java b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/controller/UserController.java new file mode 100644 index 0000000..6e0f5cf --- /dev/null +++ b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/controller/UserController.java @@ -0,0 +1,21 @@ +package com.mashibing.apiDriver.controller; + +import com.mashibing.apiDriver.service.UserService; +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class UserController { + + @Autowired + private UserService userService; + + @PutMapping("/user") + public ResponseResult updateUser(@RequestBody DriverUser driverUser){ + return userService.updateUser(driverUser); + } +} diff --git a/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/remote/ServiceDriverUserClient.java b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/remote/ServiceDriverUserClient.java new file mode 100644 index 0000000..b22105e --- /dev/null +++ b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/remote/ServiceDriverUserClient.java @@ -0,0 +1,15 @@ +package com.mashibing.apiDriver.remote; + +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +@FeignClient("service-driver-user") +public interface ServiceDriverUserClient { + + @RequestMapping(method = RequestMethod.PUT, value = "/user") + public ResponseResult updateUser(@RequestBody DriverUser driverUser); +} diff --git a/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/service/UserService.java b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/service/UserService.java new file mode 100644 index 0000000..57f6807 --- /dev/null +++ b/online-taxi-public/api-driver/src/main/java/com/mashibing/apiDriver/service/UserService.java @@ -0,0 +1,18 @@ +package com.mashibing.apiDriver.service; + +import com.mashibing.apiDriver.remote.ServiceDriverUserClient; +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +public class UserService { + + @Autowired + private ServiceDriverUserClient serviceDriverUserClient; + + public ResponseResult updateUser(DriverUser driverUser){ + return serviceDriverUserClient.updateUser(driverUser); + } +} diff --git a/online-taxi-public/api-driver/src/main/resources/application.yml b/online-taxi-public/api-driver/src/main/resources/application.yml new file mode 100644 index 0000000..e1c151a --- /dev/null +++ b/online-taxi-public/api-driver/src/main/resources/application.yml @@ -0,0 +1,9 @@ +server: + port: 8088 +spring: + cloud: + nacos: + discovery: + server-addr: 127.0.0.1 + application: + name: api-driver \ No newline at end of file diff --git a/online-taxi-public/api-driver/target/classes/application.yml b/online-taxi-public/api-driver/target/classes/application.yml new file mode 100644 index 0000000..e1c151a --- /dev/null +++ b/online-taxi-public/api-driver/target/classes/application.yml @@ -0,0 +1,9 @@ +server: + port: 8088 +spring: + cloud: + nacos: + discovery: + server-addr: 127.0.0.1 + application: + name: api-driver \ No newline at end of file diff --git a/online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/ApiDriverApplicaiton.class b/online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/ApiDriverApplicaiton.class new file mode 100644 index 0000000000000000000000000000000000000000..611f6982e26537801d21d4980686b1e365af4708 GIT binary patch literal 1182 zcmb7DO;Zy=5bYrefe`tKfZ{iPCX_H24qCCOf*@XkT43RU)9hxF3~pw&W@kbFm7cV$ z(jVZDvV5}%8g)ImRkJ-a-S2hp>)vnQKYt~nO=?tVl5UpiR+&~Sberx>(cLoLV>J0h zY2~&U73z&6M#YxtNJevQrRDQ<5J>w<1QBj(Z4-*)|-F6&DDiq2Y-9(mwP@2(l{kVN1P6dwyP>0R}+{~&Fwg=veIc`St z`_lDI=cTY>Af2=bEIOGuMvL{v-+YW#4pQyZKpv??q4sU9jT2584diCq*d9+}pStS_ z&y0P;&t$;yB^@q)#`0&k_6hW}7TTeiQXlG3nNek#sE;Nix+TmfOq;|Zc zlF*=W@Ay;g`@DO8Ze{*|<{y%nSn94+Jv~D2`TY=?G^WnHFv-M6kXTQb02u@^(X;{naY^L;3+c8}+{Wirw2KBM|X+5`|2C0kS-^b_s{{dI@W;{Oh;bb!&seCH u-ouO+voyw17!|XGm{|apu`V4GOXxB%D;e?%d2fx1bQSg*)^)5KL_Yu^Gd|$} literal 0 HcmV?d00001 diff --git a/online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/controller/UserController.class b/online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/controller/UserController.class new file mode 100644 index 0000000000000000000000000000000000000000..d8480b4362bb0c70eed2373ce549ee469f2559eb GIT binary patch literal 1121 zcma)5U2oGc6us`6m3CztD-6ch*Z^rC0t+!Dqyo|y;;DnFgTC;BlX$B~5(md=wSNT? z0*MEH06z+GoK7vPR^XvNx$g13_nd40{Pq0@5pB`k8hLcHN@ZHE(Jfl3&}xNlGn&aW zY4)Y*sX#Ki*9vsZW07^0uaZM9QuV^9o-`aRN8xWr^d_UFcAi)j%Z|#FAIa?`(N@!AFYwI0G zgl--E1VkeqyMhe zmLGGO+2=YucAEEfZUXsIxe+#;^w9|JABmorba&2@0VnO~c(YD5nyJ$?RVs9+P8Vo_ z(Su2Mdg4WZwXP2y3A};V{*eqUqs>WaAYlAy&AMgumAu6 literal 0 HcmV?d00001 diff --git a/online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/remote/ServiceDriverUserClient.class b/online-taxi-public/api-driver/target/classes/com/mashibing/apiDriver/remote/ServiceDriverUserClient.class new file mode 100644 index 0000000000000000000000000000000000000000..e8ee74807ddef0826edfc862a17f058715ca2bd5 GIT binary patch literal 724 zcmb7CO-}+b5S=O?3aBV*H1Xs~57?Oam2mPSoFEbqFJ3IW0~B}Lwe2qPuX*qX_@j)o zkYGqOhQoB)=FNL=I{o~5{{Vn9*v-Rs9(EWM;>Z^cyA}`@kTZh#*GFJf1w+;k@5jUvtLK7ZttH{u@aaIyyEU)@4A72OTtt^zdf@ zw}C|EPDUaT3{HR5@B$tCTt}$-C&GL^HZZ$PR1`npIv1X$jrpi-Oc}3?^7{kTZpmDe9%j05ApA?7t0B>Uy~o$^qmU6@?^Yk z)Ba<($H!`<1Uhq{qu^$;{&YBdWmh=1CIwhQn==uXW0KJPf-z!jZhb|x{T)jYK64u3oT5FZSeukhDYyaGaGj}c SaCKF15}MY=aeX%IP2e}6NBoZf literal 0 HcmV?d00001 diff --git a/online-taxi-public/api-passenger/pom.xml b/online-taxi-public/api-passenger/pom.xml new file mode 100644 index 0000000..732aeed --- /dev/null +++ b/online-taxi-public/api-passenger/pom.xml @@ -0,0 +1,49 @@ + + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + api-passenger + + + 8 + 8 + + + + + org.springframework.boot + spring-boot-starter-web + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + + + org.springframework.boot + spring-boot-starter-data-redis + + + + + + \ No newline at end of file diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/ApiPassengerApplication.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/ApiPassengerApplication.java new file mode 100644 index 0000000..f8db484 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/ApiPassengerApplication.java @@ -0,0 +1,16 @@ +package com.mashibing.apipassenger; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.cloud.openfeign.EnableFeignClients; + +@SpringBootApplication +@EnableDiscoveryClient +@EnableFeignClients +public class ApiPassengerApplication { + + public static void main(String[] args) { + SpringApplication.run(ApiPassengerApplication.class); + } +} \ No newline at end of file diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/ForecastPriceController.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/ForecastPriceController.java new file mode 100644 index 0000000..9bbc4b6 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/ForecastPriceController.java @@ -0,0 +1,31 @@ +package com.mashibing.apipassenger.controller; + +import com.mashibing.apipassenger.service.ForecastPriceService; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.ForecastPriceDTO; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.ResponseBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@Slf4j +public class ForecastPriceController { + + @Autowired + ForecastPriceService forecastPriceService; + + @PostMapping("/forecast-price") + public ResponseResult forecastPrice(@RequestBody ForecastPriceDTO forecastPriceDTO){ + + String depLongitude = forecastPriceDTO.getDepLongitude(); + String depLatitude = forecastPriceDTO.getDepLatitude(); + String destLongitude = forecastPriceDTO.getDestLongitude(); + String destLatitude = forecastPriceDTO.getDestLatitude(); + + + return forecastPriceService.forecastPrice(depLongitude,depLatitude,destLongitude,destLatitude); + } +} \ No newline at end of file diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TestController.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TestController.java new file mode 100644 index 0000000..cb4185c --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TestController.java @@ -0,0 +1,33 @@ +package com.mashibing.apipassenger.controller; + +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + + @GetMapping("/test") + public String test(){ + + return "test api passenger"; + } + + /** + * 需要有token + * @return + */ + @GetMapping("/authTest") + public ResponseResult authTest(){ + return ResponseResult.success("auth test"); + } + + /** + * 没有token也能正常返回 + * @return + */ + @GetMapping("/noauthTest") + public ResponseResult noauthTest(){ + return ResponseResult.success("noauth test"); + } +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java new file mode 100644 index 0000000..1673222 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/TokenController.java @@ -0,0 +1,26 @@ +package com.mashibing.apipassenger.controller; + +import com.mashibing.apipassenger.service.TokenService; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.responese.TokenResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TokenController { + + @Autowired + private TokenService tokenService; + + @PostMapping("/token-refresh") + public ResponseResult refreshToken(@RequestBody TokenResponse tokenResponse){ + + String refreshTokenSrc = tokenResponse.getRefreshToken(); + System.out.println("原来的 refreshToken:"+refreshTokenSrc); + + return tokenService.refreshToken(refreshTokenSrc); + + } +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/UserController.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/UserController.java new file mode 100644 index 0000000..86b0d5f --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/UserController.java @@ -0,0 +1,26 @@ +package com.mashibing.apipassenger.controller; + +import com.mashibing.apipassenger.service.UserService; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +import javax.servlet.http.HttpServletRequest; + +@RestController +public class UserController { + + @Autowired + private UserService userService; + + @GetMapping("/users") + public ResponseResult getUser(HttpServletRequest request){ + + // 从http请求中获取 accessToken + String accessToken = request.getHeader("Authorization"); + + return userService.getUserByAccessToken(accessToken); + + } +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/VerificationCodeController.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/VerificationCodeController.java new file mode 100644 index 0000000..540a80c --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/controller/VerificationCodeController.java @@ -0,0 +1,37 @@ +package com.mashibing.apipassenger.controller; + +import com.mashibing.apipassenger.service.VerificationCodeService; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.VerificationCodeDTO; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class VerificationCodeController { + + @Autowired + private VerificationCodeService verificationCodeService; + + @GetMapping("/verification-code") + public ResponseResult verificationCode(@RequestBody VerificationCodeDTO verificationCodeDTO){ + + String passengerPhone = verificationCodeDTO.getPassengerPhone(); + return verificationCodeService.generatorCode(passengerPhone); + + } + + @PostMapping("/verification-code-check") + public ResponseResult checkVerificationCode(@RequestBody VerificationCodeDTO verificationCodeDTO){ + + String passengerPhone = verificationCodeDTO.getPassengerPhone(); + String verificationCode = verificationCodeDTO.getVerificationCode(); + + System.out.println("手机号"+passengerPhone+",验证码:"+verificationCode); + + return verificationCodeService.checkCode(passengerPhone,verificationCode); + } + +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java new file mode 100644 index 0000000..847a26d --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/InterceptorConfig.java @@ -0,0 +1,28 @@ +package com.mashibing.apipassenger.interceptor; + +import org.springframework.beans.factory.annotation.Configurable; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.config.annotation.InterceptorRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; + +@Configuration +public class InterceptorConfig implements WebMvcConfigurer { + + @Bean + public JwtInterceptor jwtInterceptor(){ + return new JwtInterceptor(); + } + + @Override + public void addInterceptors(InterceptorRegistry registry) { + registry.addInterceptor(jwtInterceptor()) + // 拦截的路径 + .addPathPatterns("/**") + // 不拦截的路径 + .excludePathPatterns("/noauthTest") + .excludePathPatterns("/verification-code") + .excludePathPatterns("/verification-code-check") + .excludePathPatterns("/token-refresh"); + } +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java new file mode 100644 index 0000000..da2da51 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/interceptor/JwtInterceptor.java @@ -0,0 +1,63 @@ +package com.mashibing.apipassenger.interceptor; + +import com.auth0.jwt.exceptions.AlgorithmMismatchException; +import com.auth0.jwt.exceptions.SignatureVerificationException; +import com.auth0.jwt.exceptions.TokenExpiredException; +import com.mashibing.internalcommon.constant.TokenConstants; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.dto.TokenResult; +import com.mashibing.internalcommon.util.JwtUtils; +import com.mashibing.internalcommon.util.RedisPrefixUtils; +import net.sf.json.JSONObject; +import org.apache.commons.lang.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.web.servlet.HandlerInterceptor; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.PrintWriter; + + +public class JwtInterceptor implements HandlerInterceptor { + + @Autowired + private StringRedisTemplate stringRedisTemplate; + + @Override + public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { + + boolean result = true; + String resutltString = ""; + + String token = request.getHeader("Authorization"); + // 解析token + TokenResult tokenResult = JwtUtils.checkToken(token); + + if (tokenResult == null){ + resutltString = "access token invalid"; + result = false; + }else{ + // 拼接key + String phone = tokenResult.getPhone(); + String identity = tokenResult.getIdentity(); + + String tokenKey = RedisPrefixUtils.generatorTokenKey(phone,identity, TokenConstants.ACCESS_TOKEN_TYPE); + // 从redis中取出token + String tokenRedis = stringRedisTemplate.opsForValue().get(tokenKey); + if ((StringUtils.isBlank(tokenRedis)) || (!token.trim().equals(tokenRedis.trim()))){ + resutltString = "access token invalid"; + result = false; + } + } + + if (!result){ + PrintWriter out = response.getWriter(); + out.print(JSONObject.fromObject(ResponseResult.fail(resutltString)).toString()); + } + + + + return result; + } +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePassengerUserClient.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePassengerUserClient.java new file mode 100644 index 0000000..ff6f2c6 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePassengerUserClient.java @@ -0,0 +1,17 @@ +package com.mashibing.apipassenger.remote; + +import com.mashibing.internalcommon.dto.PassengerUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.VerificationCodeDTO; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.*; + +@FeignClient("service-passenger-user") +public interface ServicePassengerUserClient { + + @RequestMapping(method = RequestMethod.POST, value = "/user") + public ResponseResult loginOrRegister(@RequestBody VerificationCodeDTO verificationCodeDTO); + + @RequestMapping(method = RequestMethod.GET, value = "/user/{phone}") + public ResponseResult getUserByPhone(@PathVariable("phone") String phone); +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePriceClient.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePriceClient.java new file mode 100644 index 0000000..18bb467 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServicePriceClient.java @@ -0,0 +1,16 @@ +package com.mashibing.apipassenger.remote; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.ForecastPriceDTO; +import com.mashibing.internalcommon.responese.ForecastPriceResponse; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +@FeignClient("service-price") +public interface ServicePriceClient { + + @RequestMapping(method = RequestMethod.POST, value = "/forecast-price") + public ResponseResult forecast(@RequestBody ForecastPriceDTO forecastPriceDTO); +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServiceVefificationcodeClient.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServiceVefificationcodeClient.java new file mode 100644 index 0000000..6cfa0fe --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/remote/ServiceVefificationcodeClient.java @@ -0,0 +1,15 @@ +package com.mashibing.apipassenger.remote; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.responese.NumberCodeResponse; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +@FeignClient("service-verificationcode") +public interface ServiceVefificationcodeClient { + + @RequestMapping(method = RequestMethod.GET,value = "/numberCode/{size}") + ResponseResult getNumberCode(@PathVariable("size") int size); +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/ForecastPriceService.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/ForecastPriceService.java new file mode 100644 index 0000000..e221b77 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/ForecastPriceService.java @@ -0,0 +1,47 @@ +package com.mashibing.apipassenger.service; + +import com.google.common.annotations.VisibleForTesting; +import com.mashibing.apipassenger.remote.ServicePriceClient; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.ForecastPriceDTO; +import com.mashibing.internalcommon.responese.ForecastPriceResponse; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +@Slf4j +public class ForecastPriceService { + + @Autowired + ServicePriceClient servicePriceClient; + + /** + * 根据 出发地和目的地经纬度 计算预估价格 + * @param depLongitude + * @param depLatitude + * @param destLongitude + * @param destLatitude + * @return + */ + public ResponseResult forecastPrice(String depLongitude, String depLatitude, String destLongitude, String destLatitude){ + + log.info("出发地经度:"+depLongitude); + log.info("出发地纬度:"+depLatitude); + log.info("目的地经度:"+destLongitude); + log.info("目的地纬度:"+destLatitude); + + log.info("调用计价服务,计算价格"); + ForecastPriceDTO forecastPriceDTO = new ForecastPriceDTO(); + forecastPriceDTO.setDepLongitude(depLongitude); + forecastPriceDTO.setDepLatitude(depLatitude); + forecastPriceDTO.setDestLongitude(destLongitude); + forecastPriceDTO.setDestLatitude(destLatitude); + ResponseResult forecast = servicePriceClient.forecast(forecastPriceDTO); + double price = forecast.getData().getPrice(); + + ForecastPriceResponse forecastPriceResponse = new ForecastPriceResponse(); + forecastPriceResponse.setPrice(price); + return ResponseResult.success(forecastPriceResponse); + } +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java new file mode 100644 index 0000000..56b04d6 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/TokenService.java @@ -0,0 +1,55 @@ +package com.mashibing.apipassenger.service; + +import com.mashibing.internalcommon.constant.CommonStatusEnum; +import com.mashibing.internalcommon.constant.TokenConstants; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.dto.TokenResult; +import com.mashibing.internalcommon.responese.TokenResponse; +import com.mashibing.internalcommon.util.JwtUtils; +import com.mashibing.internalcommon.util.RedisPrefixUtils; +import org.apache.commons.lang.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.stereotype.Service; + +import java.util.concurrent.TimeUnit; + +@Service +public class TokenService { + @Autowired + private StringRedisTemplate stringRedisTemplate; + + public ResponseResult refreshToken(String refreshTokenSrc){ + // 解析 refreshToken + TokenResult tokenResult = JwtUtils.checkToken(refreshTokenSrc); + if (tokenResult == null){ + return ResponseResult.fail(CommonStatusEnum.TOKEN_ERROR.getCode(),CommonStatusEnum.TOKEN_ERROR.getValue()); + } + String phone = tokenResult.getPhone(); + String identity = tokenResult.getIdentity(); + + // 去读取redis中 的refreshToken + String refreshTokenKey = RedisPrefixUtils.generatorTokenKey(phone,identity, TokenConstants.REFRESH_TOKEN_TYPE); + String refreshTokenRedis = stringRedisTemplate.opsForValue().get(refreshTokenKey); + + // 校验refreshToken + if ((StringUtils.isBlank(refreshTokenRedis)) || (!refreshTokenSrc.trim().equals(refreshTokenRedis.trim()))){ + return ResponseResult.fail(CommonStatusEnum.TOKEN_ERROR.getCode(),CommonStatusEnum.TOKEN_ERROR.getValue()); + } + + // 生成双token + String refreshToken = JwtUtils.generatorToken(phone,identity,TokenConstants.REFRESH_TOKEN_TYPE); + String accessToken = JwtUtils.generatorToken(phone,identity,TokenConstants.ACCESS_TOKEN_TYPE); + + String accessTokenKey = RedisPrefixUtils.generatorTokenKey(phone,identity,TokenConstants.ACCESS_TOKEN_TYPE); + + stringRedisTemplate.opsForValue().set(accessTokenKey , accessToken , 30, TimeUnit.DAYS); + stringRedisTemplate.opsForValue().set(refreshTokenKey , refreshToken , 31, TimeUnit.DAYS); + + TokenResponse tokenResponse = new TokenResponse(); + tokenResponse.setRefreshToken(refreshToken); + tokenResponse.setAccessToken(accessToken); + + return ResponseResult.success(tokenResponse); + } +} diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/UserService.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/UserService.java new file mode 100644 index 0000000..9277c74 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/UserService.java @@ -0,0 +1,32 @@ +package com.mashibing.apipassenger.service; + +import com.mashibing.apipassenger.remote.ServicePassengerUserClient; +import com.mashibing.internalcommon.dto.PassengerUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.dto.TokenResult; +import com.mashibing.internalcommon.request.VerificationCodeDTO; +import com.mashibing.internalcommon.util.JwtUtils; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +@Slf4j +public class UserService { + + @Autowired + ServicePassengerUserClient servicePassengerUserClient; + + public ResponseResult getUserByAccessToken(String accessToken) { + log.info("accessToken:" + accessToken); + // 解析accessToken,拿到手机号 + TokenResult tokenResult = JwtUtils.checkToken(accessToken); + String phone = tokenResult.getPhone(); + log.info("手机号:" + phone); + + // 根据手机号查询用户信息 + ResponseResult userByPhone = servicePassengerUserClient.getUserByPhone(phone); + + return ResponseResult.success(userByPhone.getData()); + } +} \ No newline at end of file diff --git a/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java new file mode 100644 index 0000000..c9ac9e2 --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/java/com/mashibing/apipassenger/service/VerificationCodeService.java @@ -0,0 +1,104 @@ +package com.mashibing.apipassenger.service; + +import com.mashibing.apipassenger.remote.ServicePassengerUserClient; +import com.mashibing.apipassenger.remote.ServiceVefificationcodeClient; +import com.mashibing.internalcommon.constant.CommonStatusEnum; +import com.mashibing.internalcommon.constant.IdentityConstants; +import com.mashibing.internalcommon.constant.TokenConstants; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.VerificationCodeDTO; +import com.mashibing.internalcommon.responese.NumberCodeResponse; +import com.mashibing.internalcommon.responese.TokenResponse; +import com.mashibing.internalcommon.util.JwtUtils; +import com.mashibing.internalcommon.util.RedisPrefixUtils; +import org.apache.commons.lang.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.StringRedisTemplate; +import org.springframework.stereotype.Service; + +import java.util.concurrent.TimeUnit; + +@Service +public class VerificationCodeService { + + @Autowired + private ServiceVefificationcodeClient serviceVefificationcodeClient; + + + + @Autowired + private StringRedisTemplate stringRedisTemplate; + + /** + * 生成验证码 + * @param passengerPhone 手机号 + * @return + */ + public ResponseResult generatorCode(String passengerPhone){ + // 调用验证码服务,获取验证码 + ResponseResult numberCodeResponse = serviceVefificationcodeClient.getNumberCode(6); + int numberCode = numberCodeResponse.getData().getNumberCode(); + + // 存入redis + // key,value,过期时间 + String key = RedisPrefixUtils.generatorKeyByPhone(passengerPhone) ; + // 存入redis + stringRedisTemplate.opsForValue().set(key,numberCode+"",2, TimeUnit.MINUTES); + + // 通过短信服务商,将对应的验证码发送到手机上。阿里短信服务,腾讯短信通,华信,容联 + return ResponseResult.success(""); + + } + + + + @Autowired + private ServicePassengerUserClient servicePassengerUserClient; + + /** + * 校验验证码 + * @param passengerPhone 手机号 + * @param verificationCode 验证码 + * @return + */ + public ResponseResult checkCode(String passengerPhone , String verificationCode){ + // 根据手机号,去redis读取验证码 + // 生成key + String key = RedisPrefixUtils.generatorKeyByPhone(passengerPhone) ; + // 根据key获取value + String codeRedis = stringRedisTemplate.opsForValue().get(key); + System.out.println("redis中的value:"+codeRedis); + + // 校验验证码 + if (StringUtils.isBlank(codeRedis)){ + return ResponseResult.fail(CommonStatusEnum.VERIFICATION_CODE_ERROR.getCode(),CommonStatusEnum.VERIFICATION_CODE_ERROR.getValue()); + } + if (!verificationCode.trim().equals(codeRedis.trim())){ + return ResponseResult.fail(CommonStatusEnum.VERIFICATION_CODE_ERROR.getCode(),CommonStatusEnum.VERIFICATION_CODE_ERROR.getValue()); + } + + // 判断原来是否有用户,并进行对应的处理 + VerificationCodeDTO verificationCodeDTO = new VerificationCodeDTO(); + verificationCodeDTO.setPassengerPhone(passengerPhone); + servicePassengerUserClient.loginOrRegister(verificationCodeDTO); + + // 颁发令牌,不应该用魔法值,用常量 + String accessToken = JwtUtils.generatorToken(passengerPhone, IdentityConstants.PASSENGER_IDENTITY, TokenConstants.ACCESS_TOKEN_TYPE); + String refreshToken = JwtUtils.generatorToken(passengerPhone, IdentityConstants.PASSENGER_IDENTITY ,TokenConstants.REFRESH_TOKEN_TYPE); + + // 将token存到redis当中 + String accessTokenKey = RedisPrefixUtils.generatorTokenKey(passengerPhone , IdentityConstants.PASSENGER_IDENTITY , TokenConstants.ACCESS_TOKEN_TYPE); + stringRedisTemplate.opsForValue().set(accessTokenKey , accessToken , 30, TimeUnit.DAYS); + + String refreshTokenKey = RedisPrefixUtils.generatorTokenKey(passengerPhone , IdentityConstants.PASSENGER_IDENTITY , TokenConstants.REFRESH_TOKEN_TYPE); + stringRedisTemplate.opsForValue().set(refreshTokenKey , refreshToken , 31, TimeUnit.DAYS); + + // 响应 + TokenResponse tokenResponse = new TokenResponse(); + tokenResponse.setAccessToken(accessToken); + tokenResponse.setRefreshToken(refreshToken); + return ResponseResult.success(tokenResponse); + } + + +} \ No newline at end of file diff --git a/online-taxi-public/api-passenger/src/main/resources/application.yml b/online-taxi-public/api-passenger/src/main/resources/application.yml new file mode 100644 index 0000000..584f00c --- /dev/null +++ b/online-taxi-public/api-passenger/src/main/resources/application.yml @@ -0,0 +1,13 @@ +server: + port: 8081 +spring: + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + application: + name: api-passenger + redis: + host: 127.0.0.1 + port: 6379 + database: 0 \ No newline at end of file diff --git a/online-taxi-public/internal-common/pom.xml b/online-taxi-public/internal-common/pom.xml new file mode 100644 index 0000000..2828e87 --- /dev/null +++ b/online-taxi-public/internal-common/pom.xml @@ -0,0 +1,14 @@ + + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + internal-common + + \ No newline at end of file diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/AmapConfigConstants.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/AmapConfigConstants.java new file mode 100644 index 0000000..439f1a8 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/AmapConfigConstants.java @@ -0,0 +1,36 @@ +package com.mashibing.internalcommon.constant; + +public class AmapConfigConstants { + /** + * 路径规划地址 + */ + public static final String DIRECTION_URL = "https://restapi.amap.com/v3/direction/driving"; + + /** + * 行政区域查询 + */ + public static final String DISTRICT_URL = "https://restapi.amap.com/v3/config/district"; + + /** + * 路径规划 json key值 + */ + public static final String STATUS = "status"; + + public static final String ROUTE = "route"; + + public static final String PATHS = "paths"; + + public static final String DISTANCE = "distance"; + + public static final String DURATION = "duration"; + + public static final String DISTRICTS = "districts"; + + public static final String ADCODE = "adcode"; + + public static final String NAME = "name"; + + public static final String LEVEL = "level"; + + public static final String STREET = "street"; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/CommonStatusEnum.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/CommonStatusEnum.java new file mode 100644 index 0000000..4865823 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/CommonStatusEnum.java @@ -0,0 +1,54 @@ +package com.mashibing.internalcommon.constant; + +import lombok.Data; +import lombok.Getter; + + +public enum CommonStatusEnum { + + /** + * 验证码错误提示:1000-1099 + */ + VERIFICATION_CODE_ERROR(1099,"验证码不正确"), + + /** + * Token类提示:1100-1199 + */ + TOKEN_ERROR(1199,"token错误"), + + /** + * 用户提示:1200-1299 + */ + USER_NOT_EXISTS(1200,"当前用户不存在"), + + /** + * 计价规则:1300-1399 + */ + PRICE_RULE_EMPTY(1300,"计价规则不存在"), + + /** + * 地图信息:1400-1499 + */ + MAP_DISTRICT_ERROR(1400,"请求地图错误"), + + + /** + * 成功 + */ + SUCCESS(1,"success"), + /** + * 失败 + */ + FAIL(0,"fail") + + ; + @Getter + private int code; + @Getter + private String value; + + CommonStatusEnum(int code, String value) { + this.code = code; + this.value = value; + } +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/IdentityConstants.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/IdentityConstants.java new file mode 100644 index 0000000..a05026e --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/IdentityConstants.java @@ -0,0 +1,9 @@ +package com.mashibing.internalcommon.constant; + +public class IdentityConstants { + // 乘客身份 + public static final String PASSENGER_IDENTITY = "1"; + + // 司机身份 + public static final String DRIVER_IDENTITY = "2"; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/TokenConstants.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/TokenConstants.java new file mode 100644 index 0000000..dd5d3ae --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/constant/TokenConstants.java @@ -0,0 +1,11 @@ +package com.mashibing.internalcommon.constant; + +/** + * token常量类 + */ +public class TokenConstants { + + public static final String ACCESS_TOKEN_TYPE = "accessToken"; + + public static final String REFRESH_TOKEN_TYPE = "refreshToken"; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/Car.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/Car.java new file mode 100644 index 0000000..ac65849 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/Car.java @@ -0,0 +1,181 @@ +package com.mashibing.internalcommon.dto; + +import lombok.Data; + +import java.io.Serializable; +import java.time.LocalDate; +import java.time.LocalDateTime; + +/** + *

+ * + *

+ * + * @author 晁鹏飞 + * @since 2022-07-28 + */ +@Data +public class Car implements Serializable { + + private static final long serialVersionUID = 1L; + + private Long id; + + /** + * 车辆所在城市 + */ + private String address; + + /** + * 车辆号牌 + */ + private String vehicleNo; + + /** + * 车牌颜色(1:蓝色,2:黄色,3:黑色,4:白色,5:绿色,9:其他) + */ + private String plateColor; + + /** + * 核定载客位 + */ + private Integer seats; + + /** + * 车辆厂牌 + */ + private String brand; + + /** + * 车辆型号 + */ + private String model; + + /** + * 车辆类型 + */ + private String vehicleType; + + /** + * 车辆所有人 + */ + private String ownerName; + + /** + * 车辆颜色(1:白色,2:黑色) + */ + private String vehicleColor; + + /** + * 发动机号 + */ + private String engineId; + + private String vin; + + /** + * 车辆注册日期 + */ + private LocalDate certifyDateA; + + /** + * 燃料类型(1:汽油,2:柴油,3:天然气,4:液化气,5:电动,9:其他) + */ + private String fueType; + + /** + * 发动机排量(毫升) + */ + private String engineDisplace; + + /** + * 车辆运输证发证机构 + */ + private String transAgency; + + /** + * 车辆经验区域 + */ + private String transArea; + + /** + * 车辆运输证有效期起 + */ + private LocalDate transDateStart; + + /** + * 车辆运输证有效期止 + */ + private LocalDate transDateEnd; + + /** + * 车辆初次登记日期 + */ + private LocalDate certifyDateB; + + /** + * 车辆的检修状态(0:未检修,1:已检修,2:未知) + */ + private String fixState; + + /** + * 下次年检时间 + */ + private LocalDate nextFixDate; + + /** + * 年度审验状态(0:未年审,1:年审合格,2:年审不合格) + */ + private String checkState; + + /** + * 发票打印设备序列号 + */ + private String feePrintId; + + /** + * 卫星定位装置品牌 + */ + private String gpsBrand; + + /** + * 卫星型号 + */ + private String gpsModel; + + /** + * 卫星定位设备安装日期 + */ + private LocalDate gpsInstallDate; + + /** + * 报备日期 + */ + private LocalDate registerDate; + + /** + * 服务类型:1:网络预约出租车,2:巡游出租车,3:私人小客车合乘 + */ + private Integer commercialType; + + /** + * 运价编码 关联计价规则 + */ + private String fareType; + + /** + * 状态:0:有效,1:失效 + */ + private Boolean state; + + /** + * 创建时间 + */ + private LocalDateTime gmtCreate; + + /** + * 修改时间 + */ + private LocalDateTime gmtModified; + +} \ No newline at end of file diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DicDistrict.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DicDistrict.java new file mode 100644 index 0000000..1abe0e8 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DicDistrict.java @@ -0,0 +1,15 @@ +package com.mashibing.internalcommon.dto; + +import lombok.Data; + +@Data +public class DicDistrict { + + private String addressCode; + + private String addressName; + + private String parentAddressCode; + + private Integer level; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DriverUser.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DriverUser.java new file mode 100644 index 0000000..9b88ada --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/DriverUser.java @@ -0,0 +1,42 @@ +package com.mashibing.internalcommon.dto; + +import lombok.Data; + +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.util.Date; + +@Data +public class DriverUser { + + private Long id; + private String address; + private String driverName; + private String driverPhone; + private Integer driverGender; + private LocalDate driverBirthday; + private String driverNation; + private String driverContactAddress; + private String licenseId; + + private LocalDate getDriverLicenseDate; + private LocalDate driverLicenseOn; + private LocalDate driverLicenseOff; + private Integer taxiDriver; + private String certificateNo; + private String networkCarIssueOrganization; + private LocalDate networkCarIssueDate; + private LocalDate getNetworkCarProofDate; + private LocalDate networkCarProofOn; + private LocalDate networkCarProofOff; + private LocalDate registerDate; + private Integer commercialType; + private String contractCompany; + private LocalDate contractOn; + private LocalDate contractOff; + private Integer state; + + + private LocalDateTime gmtCreate; + private LocalDateTime gmtModified; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PassengerUser.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PassengerUser.java new file mode 100644 index 0000000..ab9982e --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PassengerUser.java @@ -0,0 +1,25 @@ +package com.mashibing.internalcommon.dto; + +import lombok.Data; + +import java.time.LocalDateTime; + +@Data +public class PassengerUser { + + private Long id; + + private LocalDateTime gmtCreate; + + private LocalDateTime gmtModified; + + private String passengerPhone; + + private String passengerName; + + private byte passengerGender; + + private byte state; + + private String profilePhoto; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PriceRule.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PriceRule.java new file mode 100644 index 0000000..67a445c --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/PriceRule.java @@ -0,0 +1,19 @@ +package com.mashibing.internalcommon.dto; + +import lombok.Data; + +@Data +public class PriceRule { + + private String cityCode; + + private String vehicleType; + + private Double startFare; + + private Integer startMile; + + private Double unitPricePerMile; + + private Double unitPricePerMinute; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/ResponseResult.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/ResponseResult.java new file mode 100644 index 0000000..e441f6e --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/ResponseResult.java @@ -0,0 +1,69 @@ +package com.mashibing.internalcommon.dto; + + +import com.mashibing.internalcommon.constant.CommonStatusEnum; +import com.sun.javafx.logging.PulseLogger; +import lombok.Data; +import lombok.experimental.Accessors; + +import java.awt.print.PrinterAbortException; + +@Data +@Accessors(chain = true) +public class ResponseResult { + + private int code; + private String message; + private T data; + + /** + * 成功响应的方法 + * @param + * @return + */ + public static ResponseResult success(){ + return new ResponseResult().setCode(CommonStatusEnum.SUCCESS.getCode()).setMessage(CommonStatusEnum.SUCCESS.getValue()); + } + + /** + * 成功响应的方法 + * @param data + * @param + * @return + */ + public static ResponseResult success(T data){ + return new ResponseResult().setCode(CommonStatusEnum.SUCCESS.getCode()).setMessage(CommonStatusEnum.SUCCESS.getValue()).setData(data); + } + + /** + * 失败:统一的失败 + * @param data + * @param + * @return + */ + public static ResponseResult fail(T data){ + return new ResponseResult().setData(data); + } + + /** + * 失败:自定义失败 错误码和提示信息 + * @param code + * @param message + * @return + */ + public static ResponseResult fail(int code,String message){ + return new ResponseResult().setCode(code).setMessage(message); + } + + /** + * 失败:自定义失败 错误码、提示信息、具体错误 + * @param code + * @param message + * @param data + * @return + */ + public static ResponseResult fail(int code,String message,String data){ + return new ResponseResult().setCode(code).setMessage(message).setData(data); + } + +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/TokenResult.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/TokenResult.java new file mode 100644 index 0000000..746900c --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/dto/TokenResult.java @@ -0,0 +1,11 @@ +package com.mashibing.internalcommon.dto; + +import lombok.Data; + +@Data +public class TokenResult { + + private String phone; + + private String identity; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/ForecastPriceDTO.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/ForecastPriceDTO.java new file mode 100644 index 0000000..e2ecaf7 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/ForecastPriceDTO.java @@ -0,0 +1,15 @@ +package com.mashibing.internalcommon.request; + +import lombok.Data; + +@Data +public class ForecastPriceDTO { + + private String depLongitude; + + private String depLatitude; + + private String destLongitude; + + private String destLatitude; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/VerificationCodeDTO.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/VerificationCodeDTO.java new file mode 100644 index 0000000..24a6f04 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/request/VerificationCodeDTO.java @@ -0,0 +1,13 @@ +package com.mashibing.internalcommon.request; + +import lombok.Data; + +@Data +public class VerificationCodeDTO { + + private String passengerPhone; + + private String verificationCode; + + +} \ No newline at end of file diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/DirectionResponse.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/DirectionResponse.java new file mode 100644 index 0000000..ca83498 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/DirectionResponse.java @@ -0,0 +1,11 @@ +package com.mashibing.internalcommon.responese; + +import lombok.Data; + +@Data +public class DirectionResponse { + + private Integer distance; + + private Integer duration; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/ForecastPriceResponse.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/ForecastPriceResponse.java new file mode 100644 index 0000000..65620f7 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/ForecastPriceResponse.java @@ -0,0 +1,8 @@ +package com.mashibing.internalcommon.responese; + +import lombok.Data; + +@Data +public class ForecastPriceResponse { + private double price; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/NumberCodeResponse.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/NumberCodeResponse.java new file mode 100644 index 0000000..e5a1a90 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/NumberCodeResponse.java @@ -0,0 +1,9 @@ +package com.mashibing.internalcommon.responese; + +import lombok.Data; + +@Data +public class NumberCodeResponse { + + private int numberCode; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/TokenResponse.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/TokenResponse.java new file mode 100644 index 0000000..b1c6968 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/responese/TokenResponse.java @@ -0,0 +1,11 @@ +package com.mashibing.internalcommon.responese; + +import lombok.Data; + +@Data +public class TokenResponse { + + private String accessToken; + + private String refreshToken; +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/BigDecimalUtils.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/BigDecimalUtils.java new file mode 100644 index 0000000..982a8f7 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/BigDecimalUtils.java @@ -0,0 +1,59 @@ +package com.mashibing.internalcommon.util; + +import java.math.BigDecimal; + +public class BigDecimalUtils { + + /** + * 加法 + * @param v1 + * @param v2 + * @return + */ + public static double add(double v1 , double v2){ + BigDecimal b1 = BigDecimal.valueOf(v1); + BigDecimal b2 = BigDecimal.valueOf(v2); + + return b1.add(b2).doubleValue(); + } + + /** + * 减法 + * @param v1 + * @param v2 + * @return + */ + public static double substract(double v1,double v2){ + BigDecimal b1 = BigDecimal.valueOf(v1); + BigDecimal b2 = BigDecimal.valueOf(v2); + return b1.subtract(b2).doubleValue(); + } + + /** + * 乘法 + * @param v1 + * @param v2 + * @return + */ + public static double multiply(double v1,double v2){ + BigDecimal b1 = BigDecimal.valueOf(v1); + BigDecimal b2 = BigDecimal.valueOf(v2); + return b1.multiply(b2).doubleValue(); + + } + /** + * 除法 + * @param v1 + * @param v2 + * @return + */ + public static double divide(int v1, int v2){ + if (v2 <= 0){ + throw new IllegalArgumentException("除数非法"); + } + + BigDecimal b1 = BigDecimal.valueOf(v1); + BigDecimal b2 = BigDecimal.valueOf(v2); + return b1.divide(b2,2,BigDecimal.ROUND_HALF_UP).doubleValue(); + } +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/JwtUtils.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/JwtUtils.java new file mode 100644 index 0000000..5d06a87 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/JwtUtils.java @@ -0,0 +1,97 @@ +package com.mashibing.internalcommon.util; + + +import com.auth0.jwt.JWT; +import com.auth0.jwt.JWTCreator; +import com.auth0.jwt.algorithms.Algorithm; +import com.auth0.jwt.exceptions.AlgorithmMismatchException; +import com.auth0.jwt.exceptions.SignatureVerificationException; +import com.auth0.jwt.exceptions.TokenExpiredException; +import com.auth0.jwt.interfaces.Claim; +import com.auth0.jwt.interfaces.DecodedJWT; +import com.mashibing.internalcommon.dto.TokenResult; + +import java.util.Calendar; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; + +public class JwtUtils { + + // 盐 + private static final String SIGN = "CPFmsb!@#$$"; + + private static final String JWT_KEY_PHONE = "phone"; + + // 乘客是1,司机是2 + private static final String JWT_KEY_IDENTITY = "identity"; + + // token类型 + private static final String JWT_TOKEN_TYPE = "tokenType"; + + private static final String JWT_TOKEN_TIME = "tokenTime"; + + // 生成token + public static String generatorToken(String passengerPhone , String identity , String tokenType) { + Map map = new HashMap<>(); + map.put(JWT_KEY_PHONE,passengerPhone); + map.put(JWT_KEY_IDENTITY, identity); + map.put(JWT_TOKEN_TYPE, tokenType); + // 防止每次生成的token一样。 + map.put(JWT_TOKEN_TIME, Calendar.getInstance().getTime().toString()); + + JWTCreator.Builder builder = JWT.create(); + // 整合map + map.forEach( + (k,v) -> { + builder.withClaim(k,v); + } + ); + // 整合过期时间 +// builder.withExpiresAt(date); + + // 生成 token + String sign = builder.sign(Algorithm.HMAC256(SIGN)); + + return sign; + } + + + // 解析token + public static TokenResult parseToken(String token){ + DecodedJWT verify = JWT.require(Algorithm.HMAC256(SIGN)).build().verify(token); + String phone = verify.getClaim(JWT_KEY_PHONE).asString(); + String identity = verify.getClaim(JWT_KEY_IDENTITY).asString(); + + TokenResult tokenResult = new TokenResult(); + tokenResult.setPhone(phone); + tokenResult.setIdentity(identity); + return tokenResult; + + } + + /** + * 校验token,主要判断token是否异常 + * @param token + * @return + */ + public static TokenResult checkToken(String token){ + TokenResult tokenResult = null; + try { + tokenResult = JwtUtils.parseToken(token); + }catch (Exception e){ + + } + return tokenResult; + } + + public static void main(String[] args) { + + String s = generatorToken("13910733521" , "1" , "accessToken"); + System.out.println("生成的token:"+s); + System.out.println("解析-----------------"); + TokenResult tokenResult = parseToken(s); + System.out.println("手机号:"+tokenResult.getPhone()); + System.out.println("身份:"+tokenResult.getIdentity()); + } +} diff --git a/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/RedisPrefixUtils.java b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/RedisPrefixUtils.java new file mode 100644 index 0000000..7970c48 --- /dev/null +++ b/online-taxi-public/internal-common/src/main/java/com/mashibing/internalcommon/util/RedisPrefixUtils.java @@ -0,0 +1,29 @@ +package com.mashibing.internalcommon.util; + +public class RedisPrefixUtils { + + // 乘客验证码的前缀 + public static String verificationCodePrefix = "passenger-verification-code-"; + + // token存储的前缀 + public static String tokenPrefix = "token-"; + + /** + * 根据手机号,生成key + * @param passengerPhone + * @return + */ + public static String generatorKeyByPhone(String passengerPhone){ + return verificationCodePrefix + passengerPhone; + } + + /** + * 根据手机号和身份标识,生成token + * @param phone + * @param identity + * @return + */ + public static String generatorTokenKey(String phone , String identity , String tokenType){ + return tokenPrefix + phone + "-" + identity + "-" + tokenType; + } +} diff --git a/online-taxi-public/pom.xml b/online-taxi-public/pom.xml new file mode 100644 index 0000000..249ecc4 --- /dev/null +++ b/online-taxi-public/pom.xml @@ -0,0 +1,86 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 2.4.13 + + + + com.mashibing + online-taxi-public + 1.0-SNAPSHOT + + + api-passenger + internal-common + service-passenger-user + service-price + serice-map + service-driver-user + api-boss + api-driver + + + pom + + + 8 + 8 + + + + + net.sf.json-lib + json-lib + 2.4 + jdk15 + + + + + org.projectlombok + lombok + 1.18.24 + + + + com.mashibing + internal-common + 1.0-SNAPSHOT + + + + com.auth0 + java-jwt + 3.14.0 + + + + + + + + com.alibaba.cloud + spring-cloud-alibaba-dependencies + 2021.1 + pom + import + + + + org.springframework.cloud + spring-cloud-dependencies + 2020.0.1 + pom + import + + + + + + \ No newline at end of file diff --git a/online-taxi-public/serice-map/pom.xml b/online-taxi-public/serice-map/pom.xml new file mode 100644 index 0000000..6dc0325 --- /dev/null +++ b/online-taxi-public/serice-map/pom.xml @@ -0,0 +1,36 @@ + + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + serice-map + + + + org.springframework.boot + spring-boot-starter-web + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + com.baomidou + mybatis-plus-boot-starter + 3.4.3.1 + + + + mysql + mysql-connector-java + + + \ No newline at end of file diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java new file mode 100644 index 0000000..2d221f7 --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/ServiceMapApplication.java @@ -0,0 +1,22 @@ +package com.mashibing.servicemap; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.context.annotation.Bean; +import org.springframework.web.client.RestTemplate; + +@SpringBootApplication +@EnableDiscoveryClient +@MapperScan("com.mashibing.servicemap.mapper") +public class ServiceMapApplication { + public static void main(String[] args) { + SpringApplication.run(ServiceMapApplication.class); + } + + @Bean + public RestTemplate restTemplate(){ + return new RestTemplate(); + } +} diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DicDistrictController.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DicDistrictController.java new file mode 100644 index 0000000..03cf7f7 --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DicDistrictController.java @@ -0,0 +1,20 @@ +package com.mashibing.servicemap.controller; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.servicemap.service.DicDistrictService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class DicDistrictController { + + @Autowired + private DicDistrictService dicDistrictService; + + @GetMapping("/dic-district") + public ResponseResult initDicDistrict(String keywords){ + + return dicDistrictService.initDicDistrict(keywords); + } +} diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DriectionController.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DriectionController.java new file mode 100644 index 0000000..f7ea9e8 --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/DriectionController.java @@ -0,0 +1,26 @@ +package com.mashibing.servicemap.controller; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.ForecastPriceDTO; +import com.mashibing.servicemap.service.DirectionService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +@RequestMapping("/direction") +public class DriectionController { + + @Autowired + private DirectionService directionService; + + @GetMapping("/driving") + public ResponseResult driving(@RequestBody ForecastPriceDTO forecastPriceDTO){ + + String depLongitude = forecastPriceDTO.getDepLongitude(); + String depLatitude = forecastPriceDTO.getDepLatitude(); + String destLongitude = forecastPriceDTO.getDestLongitude(); + String destLatitude = forecastPriceDTO.getDestLatitude(); + + return directionService.driving(depLongitude,depLatitude,destLongitude,destLatitude); + } +} diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/TestController.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/TestController.java new file mode 100644 index 0000000..0b0b1a7 --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/controller/TestController.java @@ -0,0 +1,34 @@ +package com.mashibing.servicemap.controller; + +import com.mashibing.internalcommon.dto.DicDistrict; +import com.mashibing.servicemap.mapper.DicDistrictMapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@RestController +public class TestController { + @GetMapping("/test") + public String test(){ + return "service map"; + } + + @Autowired + DicDistrictMapper mapper; + + @GetMapping("/test-map") + public String testMap(){ + Map map = new HashMap<>(); + map.put("address_code","110000"); + List dicDistricts = mapper.selectByMap(map); + + + System.out.println(dicDistricts); + + return "test-map"; + } +} diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/mapper/DicDistrictMapper.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/mapper/DicDistrictMapper.java new file mode 100644 index 0000000..2146878 --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/mapper/DicDistrictMapper.java @@ -0,0 +1,9 @@ +package com.mashibing.servicemap.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.mashibing.internalcommon.dto.DicDistrict; +import org.springframework.stereotype.Repository; + +@Repository +public interface DicDistrictMapper extends BaseMapper { +} diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDicDistrictClient.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDicDistrictClient.java new file mode 100644 index 0000000..3a54b44 --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDicDistrictClient.java @@ -0,0 +1,37 @@ +package com.mashibing.servicemap.remote; + +import com.mashibing.internalcommon.constant.AmapConfigConstants; +import com.mashibing.internalcommon.dto.ResponseResult; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.http.ResponseEntity; +import org.springframework.stereotype.Service; +import org.springframework.web.client.RestTemplate; + +@Service +public class MapDicDistrictClient { + + @Value("${amap.key}") + private String amapKey; + + @Autowired + private RestTemplate restTemplate; + + public String dicDistrict(String keywords){ + + // &key=<用户的key> + // 拼装请求的url + StringBuilder url = new StringBuilder(); + url.append(AmapConfigConstants.DISTRICT_URL); + url.append("?"); + url.append("keywords="+keywords); + url.append("&"); + url.append("subdistrict=3"); + url.append("&"); + url.append("key="+amapKey); + + ResponseEntity forEntity = restTemplate.getForEntity(url.toString(), String.class); + + return forEntity.getBody(); + } +} diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDirectionClient.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDirectionClient.java new file mode 100644 index 0000000..87a744f --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/remote/MapDirectionClient.java @@ -0,0 +1,82 @@ +package com.mashibing.servicemap.remote; + +import com.mashibing.internalcommon.constant.AmapConfigConstants; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.responese.DirectionResponse; +import lombok.extern.slf4j.Slf4j; +import net.sf.json.JSONArray; +import net.sf.json.JSONObject; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.http.ResponseEntity; +import org.springframework.stereotype.Service; +import org.springframework.web.client.RestTemplate; + +@Service +@Slf4j +public class MapDirectionClient { + + @Value("${amap.key}") + private String amapKey; + + @Autowired + private RestTemplate restTemplate; + + public DirectionResponse direction(String depLongitude, String depLatitude, String destLongitude, String destLatitude){ + // 组装请求调用url + StringBuilder urlBuild = new StringBuilder(); + urlBuild.append(AmapConfigConstants.DIRECTION_URL); + urlBuild.append("?"); + urlBuild.append("origin="+depLongitude+","+depLatitude); + urlBuild.append("&"); + urlBuild.append("destination="+destLongitude+","+destLatitude); + urlBuild.append("&"); + urlBuild.append("extensions=base"); + urlBuild.append("&"); + urlBuild.append("output=json"); + urlBuild.append("&"); + urlBuild.append("key="+amapKey); + log.info(urlBuild.toString()); + // 调用高德接口 + ResponseEntity directionEntity = restTemplate.getForEntity(urlBuild.toString(), String.class); + String directionString = directionEntity.getBody(); + log.info("高德地图:路径规划,返回信息:"+directionString); + // 解析接口 + DirectionResponse directionResponse = parseDirectionEntity(directionString); + + + return directionResponse; + } + + private DirectionResponse parseDirectionEntity(String directionString){ + DirectionResponse directionResponse = null; + try { + // 最外层 + JSONObject result = JSONObject.fromObject(directionString); + if(result.has(AmapConfigConstants.STATUS)) { + int status = result.getInt(AmapConfigConstants.STATUS); + if (status == 1){ + if (result.has(AmapConfigConstants.ROUTE)){ + JSONObject routeObject = result.getJSONObject(AmapConfigConstants.ROUTE); + JSONArray pathsArray = routeObject.getJSONArray(AmapConfigConstants.PATHS); + JSONObject pathObject = pathsArray.getJSONObject(0); + directionResponse = new DirectionResponse(); + + if (pathObject.has(AmapConfigConstants.DISTANCE)){ + int distance = pathObject.getInt(AmapConfigConstants.DISTANCE); + directionResponse.setDistance(distance); + } + if (pathObject.has(AmapConfigConstants.DURATION)){ + int duration = pathObject.getInt(AmapConfigConstants.DURATION); + directionResponse.setDuration(duration); + } + } + } + } + + }catch (Exception e){ + + } + return directionResponse; + } +} diff --git a/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/service/DicDistrictService.java b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/service/DicDistrictService.java new file mode 100644 index 0000000..c9e3b94 --- /dev/null +++ b/online-taxi-public/serice-map/src/main/java/com/mashibing/servicemap/service/DicDistrictService.java @@ -0,0 +1,116 @@ +package com.mashibing.servicemap.service; + +import com.mashibing.internalcommon.constant.AmapConfigConstants; +import com.mashibing.internalcommon.constant.CommonStatusEnum; +import com.mashibing.internalcommon.dto.DicDistrict; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.servicemap.mapper.DicDistrictMapper; +import com.mashibing.servicemap.remote.MapDicDistrictClient; +import net.sf.json.JSONArray; +import net.sf.json.JSONObject; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.stereotype.Service; + +@Service +public class DicDistrictService { + + @Autowired + private MapDicDistrictClient mapDicDistrictClient; + + @Autowired + private DicDistrictMapper dicDistrictMapper; + + public ResponseResult initDicDistrict(String keywords){ + + // 请求地图 + String dicDistrictResult = mapDicDistrictClient.dicDistrict(keywords); + System.out.println(dicDistrictResult); + // 解析结果 + JSONObject dicDistrictJsonObject = JSONObject.fromObject(dicDistrictResult); + int status = dicDistrictJsonObject.getInt(AmapConfigConstants.STATUS); + if (status != 1){ + return ResponseResult.fail(CommonStatusEnum.MAP_DISTRICT_ERROR.getCode(),CommonStatusEnum.MAP_DISTRICT_ERROR.getValue()); + } + JSONArray countryJsonArray = dicDistrictJsonObject.getJSONArray(AmapConfigConstants.DISTRICTS); + for (int country=0;country + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + service-driver-user + + + + org.springframework.boot + spring-boot-starter-web + + + + com.baomidou + mybatis-plus-boot-starter + 3.4.3.1 + + + + mysql + mysql-connector-java + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.baomidou + mybatis-plus-generator + 3.5.1 + + + + org.freemarker + freemarker + 2.3.28 + + + + + + + \ No newline at end of file diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/ServiceDriverUserApplication.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/ServiceDriverUserApplication.java new file mode 100644 index 0000000..ba454eb --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/ServiceDriverUserApplication.java @@ -0,0 +1,19 @@ +package com.mashibing.serviceDriverUser; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.web.client.RestTemplate; + +@SpringBootApplication +@EnableDiscoveryClient +@MapperScan("com.mashibing.serviceDriverUser.mapper") +public class ServiceDriverUserApplication { + public static void main(String[] args) { + SpringApplication.run(ServiceDriverUserApplication.class); + } + +} + + diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/CarController.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/CarController.java new file mode 100644 index 0000000..d647f35 --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/CarController.java @@ -0,0 +1,20 @@ +package com.mashibing.serviceDriverUser.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.stereotype.Controller; + +/** + *

+ * 前端控制器 + *

+ * + * @author 晁鹏飞 + * @since 2022-07-28 + */ +@Controller +@RequestMapping("/car") +public class CarController { + +} diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/TestController.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/TestController.java new file mode 100644 index 0000000..f96d642 --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/TestController.java @@ -0,0 +1,30 @@ +package com.mashibing.serviceDriverUser.controller; + +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.serviceDriverUser.mapper.DriverUserMapper; +import com.mashibing.serviceDriverUser.service.DriverUserService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + + @Autowired + private DriverUserService driverUserService; + + @GetMapping("/test") + public String test(){ + return "service-driver-user"; + } + + @GetMapping("/test-db") + public ResponseResult testDb(){ + return driverUserService.testGetDriverUser(); + } + + +} diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/UserController.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/UserController.java new file mode 100644 index 0000000..172267b --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/controller/UserController.java @@ -0,0 +1,32 @@ +package com.mashibing.serviceDriverUser.controller; + +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.serviceDriverUser.service.DriverUserService; +import lombok.extern.slf4j.Slf4j; +import net.sf.json.JSONObject; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +@Slf4j +public class UserController { + + @Autowired + private DriverUserService driverUserService; + + @PostMapping("/user") + public ResponseResult addUser(@RequestBody DriverUser driverUser){ + log.info(JSONObject.fromObject(driverUser).toString()); + return driverUserService.addDriverUser(driverUser); + } + + @PutMapping("/user") + public ResponseResult updateUser(@RequestBody DriverUser driverUser){ + log.info(JSONObject.fromObject(driverUser).toString()); + return driverUserService.updateDriverUser(driverUser); + } +} diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/generator/MysqlGenerator.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/generator/MysqlGenerator.java new file mode 100644 index 0000000..6e48aa2 --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/generator/MysqlGenerator.java @@ -0,0 +1,31 @@ +package com.mashibing.serviceDriverUser.generator; + +import com.baomidou.mybatisplus.generator.FastAutoGenerator; +import com.baomidou.mybatisplus.generator.config.OutputFile; +import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine; + +import java.util.Collections; + +/** + * 自动生成代码工具类 + */ +public class MysqlGenerator { + public static void main(String[] args) { + + FastAutoGenerator.create("jdbc:mysql://localhost:3306/service-driver-user?characterEncoding=utf-8&serverTimezone=GMT%2B8", + "root","root") + .globalConfig(builder -> { + builder.author("晁鹏飞").fileOverride().outputDir("D:\\00-项目\\gitee\\online-taxi-2022-public\\online-taxi-public\\service-driver-user\\src\\main\\java"); + }) + .packageConfig(builder -> { + builder.parent("com.mashibing.serviceDriverUser").pathInfo(Collections.singletonMap(OutputFile.mapperXml, + "D:\\00-项目\\gitee\\online-taxi-2022-public\\online-taxi-public\\service-driver-user\\src\\main\\java\\com\\mashibing\\serviceDriverUser\\mapper")); + }) + .strategyConfig(builder -> { + builder.addInclude("car"); + + }) + .templateEngine(new FreemarkerTemplateEngine()) + .execute(); + } +} diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.java new file mode 100644 index 0000000..5681840 --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.java @@ -0,0 +1,17 @@ +package com.mashibing.serviceDriverUser.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.springframework.stereotype.Repository; + +/** + *

+ * Mapper 接口 + *

+ * + * @author 晁鹏飞 + * @since 2022-07-28 + */ +@Repository +public interface CarMapper extends BaseMapper { + +} diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.xml b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.xml new file mode 100644 index 0000000..e40d63c --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/CarMapper.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/DriverUserMapper.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/DriverUserMapper.java new file mode 100644 index 0000000..c54751e --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/mapper/DriverUserMapper.java @@ -0,0 +1,9 @@ +package com.mashibing.serviceDriverUser.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.mashibing.internalcommon.dto.DriverUser; +import org.springframework.stereotype.Repository; + +@Repository +public interface DriverUserMapper extends BaseMapper { +} diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/CarService.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/CarService.java new file mode 100644 index 0000000..5b72fd4 --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/CarService.java @@ -0,0 +1,7 @@ +package com.mashibing.serviceDriverUser.service; + +import org.springframework.stereotype.Service; + +@Service +public class CarService { +} diff --git a/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/DriverUserService.java b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/DriverUserService.java new file mode 100644 index 0000000..016518a --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/java/com/mashibing/serviceDriverUser/service/DriverUserService.java @@ -0,0 +1,43 @@ +package com.mashibing.serviceDriverUser.service; + +import com.mashibing.internalcommon.dto.DriverUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.serviceDriverUser.mapper.DriverUserMapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.time.LocalDate; +import java.time.LocalDateTime; + +@Service +public class DriverUserService { + + @Autowired + private DriverUserMapper driverUserMapper; + + public ResponseResult testGetDriverUser(){ + + DriverUser driverUser = driverUserMapper.selectById(1); + return ResponseResult.success(driverUser); + + } + + public ResponseResult addDriverUser(DriverUser driverUser){ + LocalDateTime now = LocalDateTime.now(); + driverUser.setGmtCreate(now); + driverUser.setGmtModified(now); + + + driverUserMapper.insert(driverUser); + + return ResponseResult.success(""); + } + + public ResponseResult updateDriverUser(DriverUser driverUser){ + LocalDateTime now = LocalDateTime.now(); + driverUser.setGmtModified(now); + driverUserMapper.updateById(driverUser); + return ResponseResult.success(""); + } + +} \ No newline at end of file diff --git a/online-taxi-public/service-driver-user/src/main/resources/application.yml b/online-taxi-public/service-driver-user/src/main/resources/application.yml new file mode 100644 index 0000000..ab21034 --- /dev/null +++ b/online-taxi-public/service-driver-user/src/main/resources/application.yml @@ -0,0 +1,16 @@ +server: + port: 8086 + +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/service-driver-user?characterEncoding=utf-8&serverTimezone=GMT%2B8 + username: root + password: root + application: + name: service-driver-user + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + diff --git a/online-taxi-public/service-passenger-user/pom.xml b/online-taxi-public/service-passenger-user/pom.xml new file mode 100644 index 0000000..9e8ba6d --- /dev/null +++ b/online-taxi-public/service-passenger-user/pom.xml @@ -0,0 +1,39 @@ + + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + service-passenger-user + + + + org.springframework.boot + spring-boot-starter-web + + + + + com.baomidou + mybatis-plus-boot-starter + 3.4.3.1 + + + + mysql + mysql-connector-java + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + \ No newline at end of file diff --git a/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java new file mode 100644 index 0000000..9174276 --- /dev/null +++ b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.java @@ -0,0 +1,15 @@ +package com.mashibing.servicepassengeruser; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; + +@SpringBootApplication +@EnableDiscoveryClient +@MapperScan("com.mashibing.servicepassengeruser.mapper") +public class ServicePassengerUserApplication { + public static void main(String[] args) { + SpringApplication.run(ServicePassengerUserApplication.class); + } +} \ No newline at end of file diff --git a/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java new file mode 100644 index 0000000..4df33da --- /dev/null +++ b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/TestController.java @@ -0,0 +1,13 @@ +package com.mashibing.servicepassengeruser.controller; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + + @GetMapping + public String test(){ + return "service-passenger-user"; + } +} diff --git a/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/UserController.java b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/UserController.java new file mode 100644 index 0000000..7eae578 --- /dev/null +++ b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/controller/UserController.java @@ -0,0 +1,29 @@ +package com.mashibing.servicepassengeruser.controller; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.VerificationCodeDTO; +import com.mashibing.servicepassengeruser.service.UserService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +@RestController +public class UserController { + + @Autowired + private UserService userService; + + @PostMapping("/user") + public ResponseResult loginOrRegister(@RequestBody VerificationCodeDTO verificationCodeDTO){ + + String passengerPhone = verificationCodeDTO.getPassengerPhone(); + System.out.println("手机号:"+passengerPhone); + return userService.loginOrRegister(passengerPhone); + + } + + @GetMapping("/user/{phone}") + public ResponseResult getUser(@PathVariable("phone") String passengerPhone){ + System.out.println("service-passenger-user: phone:"+passengerPhone); + return userService.getUserByPhone(passengerPhone); + } +} \ No newline at end of file diff --git a/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/mapper/PassengerUserMapper.java b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/mapper/PassengerUserMapper.java new file mode 100644 index 0000000..90c5a13 --- /dev/null +++ b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/mapper/PassengerUserMapper.java @@ -0,0 +1,9 @@ +package com.mashibing.servicepassengeruser.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.mashibing.internalcommon.dto.PassengerUser; +import org.springframework.stereotype.Repository; + +@Repository +public interface PassengerUserMapper extends BaseMapper { +} diff --git a/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/service/UserService.java b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/service/UserService.java new file mode 100644 index 0000000..e33d299 --- /dev/null +++ b/online-taxi-public/service-passenger-user/src/main/java/com/mashibing/servicepassengeruser/service/UserService.java @@ -0,0 +1,69 @@ +package com.mashibing.servicepassengeruser.service; + + +import com.mashibing.internalcommon.constant.CommonStatusEnum; +import com.mashibing.internalcommon.dto.PassengerUser; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.servicepassengeruser.mapper.PassengerUserMapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.time.LocalDateTime; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Service +public class UserService { + + @Autowired + private PassengerUserMapper passengerUserMapper; + + public ResponseResult loginOrRegister(String passengerPhone){ + System.out.println("user service被调用,手机号:"+passengerPhone); + + // 根据手机号查询用户信息 + Map map = new HashMap<>(); + map.put("passenger_phone",passengerPhone); + List passengerUsers = passengerUserMapper.selectByMap(map); + + // 判断用户信息是否存在 + if (passengerUsers.size() == 0){ + // 如果不存在,插入用户信息 + PassengerUser passengerUser = new PassengerUser(); + passengerUser.setPassengerName("张三"); + passengerUser.setPassengerGender((byte) 0); + passengerUser.setPassengerPhone(passengerPhone); + passengerUser.setState((byte) 0); + + LocalDateTime now = LocalDateTime.now(); + passengerUser.setGmtCreate(now); + passengerUser.setGmtModified(now); + + passengerUserMapper.insert(passengerUser); + } + + + + return ResponseResult.success(); + } + + /** + * 根据手机号查询用户信息 + * @param passengerPhone + * @return + */ + public ResponseResult getUserByPhone(String passengerPhone){ + // 根据手机号查询用户信息 + Map map = new HashMap<>(); + map.put("passenger_phone",passengerPhone); + List passengerUsers = passengerUserMapper.selectByMap(map); + if (passengerUsers.size() == 0){ + return ResponseResult.fail(CommonStatusEnum.USER_NOT_EXISTS.getCode(),CommonStatusEnum.USER_NOT_EXISTS.getValue()); + } else { + PassengerUser passengerUser = passengerUsers.get(0); + return ResponseResult.success(passengerUser); + + } + } +} \ No newline at end of file diff --git a/online-taxi-public/service-passenger-user/src/main/resources/application.yml b/online-taxi-public/service-passenger-user/src/main/resources/application.yml new file mode 100644 index 0000000..f094ebc --- /dev/null +++ b/online-taxi-public/service-passenger-user/src/main/resources/application.yml @@ -0,0 +1,16 @@ +server: + port: 8083 + +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/service-passenger-user?characterEncoding=utf-8&serverTimezone=GMT%2B8 + username: root + password: root + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + + application: + name: service-passenger-user \ No newline at end of file diff --git a/online-taxi-public/service-passenger-user/target/classes/application.yml b/online-taxi-public/service-passenger-user/target/classes/application.yml new file mode 100644 index 0000000..f094ebc --- /dev/null +++ b/online-taxi-public/service-passenger-user/target/classes/application.yml @@ -0,0 +1,16 @@ +server: + port: 8083 + +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/service-passenger-user?characterEncoding=utf-8&serverTimezone=GMT%2B8 + username: root + password: root + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + + application: + name: service-passenger-user \ No newline at end of file diff --git a/online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.class b/online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/ServicePassengerUserApplication.class new file mode 100644 index 0000000000000000000000000000000000000000..bc5ca67101ab99722b999431b2c7793b76d4c478 GIT binary patch literal 1024 zcmbtTOK%e~5dJo=rJF!Y3Wf519g-g63l|hrsY&6KLPa1w^yJ;RiOa4XdA))DEKVRK z_yPPV#CVgoDFks~rS;e|<8NlZ8UOhC^*ey4cpRXNTRv|4xD((m?)kXyq4HcRX}3KT z8_j`-QdbX!ht-}`;#HP}!o1~SOqzO6M?4;IBi(tfEZMP4J?!=(ov?(bV;M>{VyQ4w z8Hou`Q=vw}WTasInR5SB`Hqx3lSwQiZlzXjik)z&JZv-$d&hjrSukuPSPEs?P^OWd z3Uk6A9QRiKVR^BsmEwt#qCZ<7auYJwBNT(~r2Lv^?c;M%6c|L9Md}wTSvZ z8boGyv4#qK51s$-DD~v`Hu`u_!$Ul}V0s-Mi^x)8e`R;Z=K_~BttO*U2^$NO(v4}f z+DnF`xtw;btoUeIciuL~_Cg3!J9C@TEzrAhUjg)7;M01EPK=~Svb^;f-lyEWLTe>g zRuRy?HgiCgcEAcQ;|hVe%g=H!pjs~!zoGaArGs;bfQ%sLfZWevs#wJu>95jXrWZ=0 ZfO@{J;~L2g6mdP5zzvFg^AKK&&0o^LCCLB) literal 0 HcmV?d00001 diff --git a/online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/controller/TestController.class b/online-taxi-public/service-passenger-user/target/classes/com/mashibing/servicepassengeruser/controller/TestController.class new file mode 100644 index 0000000000000000000000000000000000000000..fc6fdc10d6e7a6c5a3e739073d38dbb4272fafd1 GIT binary patch literal 642 zcmbtRO-}+b5S_Ao2`C7N@#qaquon&{5)wnAmsJxW+`CJK;%>X?cHwX7$;5*{z#nCt z0)pI3>|v&F=FOYw^z-Ze0{}X3T7Wdv@=(vgNe&tWvRxsC=@D?6tucXgUrjiHvMVHi zNJ5Y65%U6!R9)q>V9d0zcoR&UnTQGWTwjGWWbsURLQZMS^+NbOVsXsnlzFU5TS{76#mLK4MnAiM4%5}PjVJ1wdDIdCbpWE7N@4fcvf1W@78^AP5d5qv@ z9`EA4A-s?29B$>&kDG&-vGxP|x}C>|m>t3}=JJ@wM}t_f_TwBr$zf68L?f2bx{S6} zMGD+5R&?M7Uc9BsDy+F&vkP@Ej%8Srk==YS>3(^5a!%mFS|cjtEwdh`AYgf!xv2w{BT_VeD>t6{DkF*J~Yc7aKrXT|>sk-H?&mRFxzVminECt8){_AFUeg zuF1I0%t_jYZ^&S5`zVmW?D0s)kq{VeRkgIG!z6`|ylv0*Jr;i5*jmx?sTFCqbhYH! zvN1%a^H$et?#QxB%~ab9S<=#WnD&eqbDFX`$o zdFN`<*g6W_EfkN$^?yn*-E-LYWn0uIlW5)V>o&tHbD@`uj@us zk@u99{aB|~Z`ep*)^FV^M1h$$sXI7>vpFm|SjL?k?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jO!>lHR8`)a=oItE z(HOK`GFEy8Xjp0=o7-WF>spdERV=2T8JAF3Z~`p2;0*;ozkFEYSRP5jikjM-s`sY{ zXL9CozC{VLn3qn%q)UY?avBCx!r^_nT)&fYtoW2%!#+vE{s%xjdC#dYq0H73Y}}Tq z491&%N3tWtx0$*7^CDy$r`TDX=AF!etvlHQ>tR!Jj^~mN6K~NXp_&#k{Ht<#e!rHG z#%6c;)N8S&b5O$CdDxdSnIDBJ4kw*f=2@s&=SNXMRya}aNq1XuW7N=D4#ft?dRi1t zfjo#P)qIc(G+F+~ftk16SWLG$pLWyphkVY67B$i$i!pwO9L;pp*39Qgpy%3crppef z7>u^{5BKyA47VNaj1EM_r~AI<@2QJk$egX-=emTaAuZt&-O#9JBqX%gbmo+(-w6LF z)F4$0=sOG6cizW3+X(lKsKCb>oB0QA3;*9q2#7h#{c+xkxj(@@$epvE>o(q0?h^N+ zZPy_E%tHX%xe8&R3Ol$eo&f5wlQ$L!c2SCtr8X)nChhE11a2UB>>5JVMKdVg&fg5= z8I;^WDXHP^9o1#q=b!{}WZN%Twqp+E0rb?(p+drC9J+x@N>$Z|BBAQ)87z;4f-_hV z2~p3=%z4!;R@WCrLJ?|z#M>f5Q6w~nH31x%#o8*mUY+gWU17zy0M+yC`MkCf^KTD*E{vV|M z<_rQN+7_bVAwVy(ad-G}mr&Y^dp(iMkK5ykxIJE8+ + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + 4.0.0 + + service-price + + + + org.springframework.boot + spring-boot-starter-web + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + + + io.github.openfeign + feign-httpclient + + + + com.baomidou + mybatis-plus-boot-starter + 3.4.3.1 + + + + mysql + mysql-connector-java + + + + + + \ No newline at end of file diff --git a/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/ServicePriceApplication.java b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/ServicePriceApplication.java new file mode 100644 index 0000000..faed864 --- /dev/null +++ b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/ServicePriceApplication.java @@ -0,0 +1,17 @@ +package com.mashibing.serviceprice; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.cloud.openfeign.EnableFeignClients; + +@SpringBootApplication +@EnableDiscoveryClient +@EnableFeignClients +@MapperScan("com.mashibing.serviceprice.mapper") +public class ServicePriceApplication { + public static void main(String[] args) { + SpringApplication.run(ServicePriceApplication.class); + } +} diff --git a/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/controller/ForecastPriceController.java b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/controller/ForecastPriceController.java new file mode 100644 index 0000000..b03a079 --- /dev/null +++ b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/controller/ForecastPriceController.java @@ -0,0 +1,27 @@ +package com.mashibing.serviceprice.controller; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.ForecastPriceDTO; +import com.mashibing.serviceprice.service.ForecastPriceService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class ForecastPriceController { + + @Autowired + private ForecastPriceService forecastPriceService; + + @PostMapping("/forecast-price") + public ResponseResult forecastPrice(@RequestBody ForecastPriceDTO forecastPriceDTO){ + + String depLongitude = forecastPriceDTO.getDepLongitude(); + String depLatitude = forecastPriceDTO.getDepLatitude(); + String destLongitude = forecastPriceDTO.getDestLongitude(); + String destLatitude = forecastPriceDTO.getDestLatitude(); + + return forecastPriceService.forecastPrice(depLongitude,depLatitude,destLongitude,destLatitude); + } +} diff --git a/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/mapper/PriceRuleMapper.java b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/mapper/PriceRuleMapper.java new file mode 100644 index 0000000..acec356 --- /dev/null +++ b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/mapper/PriceRuleMapper.java @@ -0,0 +1,11 @@ +package com.mashibing.serviceprice.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.mashibing.internalcommon.dto.PriceRule; +import org.springframework.stereotype.Repository; + +@Repository +public interface PriceRuleMapper extends BaseMapper { + + +} diff --git a/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/remote/ServiceMapClient.java b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/remote/ServiceMapClient.java new file mode 100644 index 0000000..0dfd489 --- /dev/null +++ b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/remote/ServiceMapClient.java @@ -0,0 +1,17 @@ +package com.mashibing.serviceprice.remote; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.ForecastPriceDTO; +import com.mashibing.internalcommon.responese.DirectionResponse; +import com.sun.javafx.scene.traversal.Direction; +import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; + +@FeignClient("service-map") +public interface ServiceMapClient { + + @RequestMapping(method = RequestMethod.GET,value = "/direction/driving") + public ResponseResult direction(@RequestBody ForecastPriceDTO forecastPriceDTO); +} diff --git a/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/service/ForecastPriceService.java b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/service/ForecastPriceService.java new file mode 100644 index 0000000..28fa7ae --- /dev/null +++ b/online-taxi-public/service-price/src/main/java/com/mashibing/serviceprice/service/ForecastPriceService.java @@ -0,0 +1,124 @@ +package com.mashibing.serviceprice.service; + +import com.mashibing.internalcommon.constant.CommonStatusEnum; +import com.mashibing.internalcommon.dto.PriceRule; +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.request.ForecastPriceDTO; +import com.mashibing.internalcommon.responese.DirectionResponse; +import com.mashibing.internalcommon.responese.ForecastPriceResponse; +import com.mashibing.internalcommon.util.BigDecimalUtils; +import com.mashibing.serviceprice.mapper.PriceRuleMapper; +import com.mashibing.serviceprice.remote.ServiceMapClient; +import jdk.nashorn.internal.runtime.regexp.joni.ast.StringNode; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.math.BigDecimal; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Service +@Slf4j +public class ForecastPriceService { + + @Autowired + private ServiceMapClient serviceMapClient; + + @Autowired + private PriceRuleMapper priceRuleMapper; + + public ResponseResult forecastPrice(String depLongitude, String depLatitude, String destLongitude, String destLatitude){ + + log.info("出发地经度:"+depLongitude); + log.info("出发地纬度:"+depLatitude); + log.info("目的地经度:"+destLongitude); + log.info("目的地纬度:"+destLatitude); + + log.info("调用地图服务,查询距离和时长"); + ForecastPriceDTO forecastPriceDTO = new ForecastPriceDTO(); + forecastPriceDTO.setDepLongitude(depLongitude); + forecastPriceDTO.setDepLatitude(depLatitude); + forecastPriceDTO.setDestLongitude(destLongitude); + forecastPriceDTO.setDestLatitude(destLatitude); + ResponseResult direction = serviceMapClient.direction(forecastPriceDTO); + Integer distance = direction.getData().getDistance(); + Integer duration = direction.getData().getDuration(); + log.info(("距离:"+distance+",时长:"+duration)); + + log.info("读取计价规则"); + Map queryMap = new HashMap<>(); + queryMap.put("city_code","110000"); + queryMap.put("vehicle_type","1"); + List priceRules = priceRuleMapper.selectByMap(queryMap); + if (priceRules.size() == 0){ + return ResponseResult.fail(CommonStatusEnum.PRICE_RULE_EMPTY.getCode(),CommonStatusEnum.VERIFICATION_CODE_ERROR.getValue()); + } + + PriceRule priceRule = priceRules.get(0); + + log.info("根据距离、时长和计价规则,计算价格"); + + double price = getPrice(distance, duration, priceRule); + + + ForecastPriceResponse forecastPriceResponse = new ForecastPriceResponse(); + forecastPriceResponse.setPrice(price); + return ResponseResult.success(forecastPriceResponse); + } + + /** + * 根据距离、时长 和计价规则,计算最终价格 + * @param distance 距离 + * @param duration 时长 + * @param priceRule 计价规则 + * @return + */ + private double getPrice(Integer distance , Integer duration,PriceRule priceRule){ + double price = 0; + + // 起步价 + double startFare = priceRule.getStartFare(); + price = BigDecimalUtils.add(price,startFare); + + // 里程费 + // 总里程 m + double distanceMile = BigDecimalUtils.divide(distance,1000); + // 起步里程 + double startMile = (double)priceRule.getStartMile(); + double distanceSubtract = BigDecimalUtils.substract(distanceMile,startMile); + // 最终收费的里程数 km + double mile = distanceSubtract<0?0:distanceSubtract; + // 计程单价 元/km + double unitPricePerMile = priceRule.getUnitPricePerMile(); + // 里程价格 + double mileFare = BigDecimalUtils.multiply(mile,unitPricePerMile); + price = BigDecimalUtils.add(price,mileFare); + + // 时长费 + // 时长的分钟数 + double timeMinute = BigDecimalUtils.divide(duration,60); + // 计时单价 + double unitPricePerMinute = priceRule.getUnitPricePerMinute(); + + // 时长费用 + double timeFare = BigDecimalUtils.multiply(timeMinute,unitPricePerMinute); + price = BigDecimalUtils.add(price,timeFare); + + BigDecimal priceBigDecimal = new BigDecimal(price); + priceBigDecimal = priceBigDecimal.setScale(2,BigDecimal.ROUND_HALF_UP); + + return priceBigDecimal.doubleValue(); + } + +// public static void main(String[] args) { +// PriceRule priceRule = new PriceRule(); +// priceRule.setUnitPricePerMile(1.8); +// priceRule.setUnitPricePerMinute(0.5); +// priceRule.setStartFare(10.0); +// priceRule.setStartMile(3); +// +// System.out.println(getPrice(6500,1800,priceRule)); +// } +} diff --git a/online-taxi-public/service-price/src/main/resources/application.yml b/online-taxi-public/service-price/src/main/resources/application.yml new file mode 100644 index 0000000..35e2a27 --- /dev/null +++ b/online-taxi-public/service-price/src/main/resources/application.yml @@ -0,0 +1,16 @@ +server: + port: 8084 + +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/service-price?characterEncoding=utf-8&serverTimezone=GMT%2B8 + username: root + password: root + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + application: + name: service-price + diff --git a/online-taxi-public/service-verificationcode/.gitignore b/online-taxi-public/service-verificationcode/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/online-taxi-public/service-verificationcode/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/online-taxi-public/service-verificationcode/.mvn/wrapper/maven-wrapper.jar b/online-taxi-public/service-verificationcode/.mvn/wrapper/maven-wrapper.jar new file mode 100644 index 0000000000000000000000000000000000000000..c1dd12f17644411d6e840bd5a10c6ecda0175f18 GIT binary patch literal 58727 zcmb5W18`>1vNjyPv28mO+cqb*Z6_1kwr$(?#I}=(ZGUs`Jr}3`|DLbDUA3!L?dtC8 zUiH*ktDo+@6r@4HP=SCTA%WmZqm^Ro`Ls)bfPkcdfq?#g1(Fq27W^S8Cq^$TC?_c< zs-#ROD;6C)1wFuk7<3)nGuR^#!H;n&3*IjzXg+s8Z_S!!E0jUq(`}Itt=YdYa5Z_s z&e>2={87knpF*PKNzU;lsbk#P(l^WBvb$yEz)z+nYH43pKodrDkMp@h?;n{;K}hl>Fb^ zqx}C0|D7kg|Cj~3f7hn_zkAE}|6t|cZT|S5Hvb#3nc~C14u5UI{6#F<|FkJ0svs&S zA}S{=DXLT*BM1$`2rK%`D@vEw9l9%*=92X_2g?Fwfi=6Zfpr7+<~sgP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+y_;=Sq-zqD~GKy@{5(my&aPgFfGY&_mayR_)?dF_^Fwc-n!UAG+fQQGfjWE-1MF YM{}PByk10KD_nuQ4E7Du?}+~TKh4V)`~Uy| literal 0 HcmV?d00001 diff --git a/online-taxi-public/service-verificationcode/.mvn/wrapper/maven-wrapper.properties b/online-taxi-public/service-verificationcode/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 0000000..22f219d --- /dev/null +++ b/online-taxi-public/service-verificationcode/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,2 @@ +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar diff --git a/online-taxi-public/service-verificationcode/mvnw b/online-taxi-public/service-verificationcode/mvnw new file mode 100644 index 0000000..8a8fb22 --- /dev/null +++ b/online-taxi-public/service-verificationcode/mvnw @@ -0,0 +1,316 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /usr/local/etc/mavenrc ] ; then + . /usr/local/etc/mavenrc + fi + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`\\unset -f command; \\command -v java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + $MAVEN_DEBUG_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" \ + "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/online-taxi-public/service-verificationcode/mvnw.cmd b/online-taxi-public/service-verificationcode/mvnw.cmd new file mode 100644 index 0000000..1d8ab01 --- /dev/null +++ b/online-taxi-public/service-verificationcode/mvnw.cmd @@ -0,0 +1,188 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM https://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM set title of command window +title %0 +@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %* +if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %* +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + +FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO ( + IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B +) + +@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +@REM This allows using the maven wrapper in projects that prohibit checking in binary data. +if exist %WRAPPER_JAR% ( + if "%MVNW_VERBOSE%" == "true" ( + echo Found %WRAPPER_JAR% + ) +) else ( + if not "%MVNW_REPOURL%" == "" ( + SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar" + ) + if "%MVNW_VERBOSE%" == "true" ( + echo Couldn't find %WRAPPER_JAR%, downloading it ... + echo Downloading from: %DOWNLOAD_URL% + ) + + powershell -Command "&{"^ + "$webclient = new-object System.Net.WebClient;"^ + "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ + "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ + "}"^ + "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^ + "}" + if "%MVNW_VERBOSE%" == "true" ( + echo Finished downloading %WRAPPER_JAR% + ) +) +@REM End of extension + +@REM Provide a "standardized" way to retrieve the CLI args that will +@REM work with both Windows and non-Windows executions. +set MAVEN_CMD_LINE_ARGS=%* + +%MAVEN_JAVA_EXE% ^ + %JVM_CONFIG_MAVEN_PROPS% ^ + %MAVEN_OPTS% ^ + %MAVEN_DEBUG_OPTS% ^ + -classpath %WRAPPER_JAR% ^ + "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^ + %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat" +if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%"=="on" pause + +if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE% + +cmd /C exit /B %ERROR_CODE% diff --git a/online-taxi-public/service-verificationcode/pom.xml b/online-taxi-public/service-verificationcode/pom.xml new file mode 100644 index 0000000..acf2ce2 --- /dev/null +++ b/online-taxi-public/service-verificationcode/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + + + online-taxi-public + com.mashibing + 1.0-SNAPSHOT + + + com.mashibing + service-verificationcode + 0.0.1-SNAPSHOT + service-verificationcode + Demo project for Spring Boot + + 1.8 + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplication.java b/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplication.java new file mode 100644 index 0000000..468aa06 --- /dev/null +++ b/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplication.java @@ -0,0 +1,15 @@ +package com.mashibing.serviceverificationcode; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.cloud.client.discovery.EnableDiscoveryClient; + +@SpringBootApplication +@EnableDiscoveryClient +public class ServiceVerificationcodeApplication { + + public static void main(String[] args) { + SpringApplication.run(ServiceVerificationcodeApplication.class, args); + } + +} diff --git a/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/NumberCodeController.java b/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/NumberCodeController.java new file mode 100644 index 0000000..1b8e53a --- /dev/null +++ b/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/NumberCodeController.java @@ -0,0 +1,31 @@ +package com.mashibing.serviceverificationcode.controller; + +import com.mashibing.internalcommon.dto.ResponseResult; +import com.mashibing.internalcommon.responese.NumberCodeResponse; +import net.sf.json.JSONObject; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class NumberCodeController { + + @GetMapping("/numberCode/{size}") + public ResponseResult numberCode(@PathVariable("size") int size){ + + System.out.println("size:"+size); + // 生成验证码 + double mathRandom = (Math.random()*9 + 1) * (Math.pow(10,size-1)); + System.out.println(mathRandom); + int resultInt = (int)mathRandom; + System.out.println("generator src code:"+resultInt); + + // 定义返回值 + NumberCodeResponse response = new NumberCodeResponse(); + response.setNumberCode(resultInt); + + return ResponseResult.success(response); + } + + +} diff --git a/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/TestController.java b/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/TestController.java new file mode 100644 index 0000000..7087c54 --- /dev/null +++ b/online-taxi-public/service-verificationcode/src/main/java/com/mashibing/serviceverificationcode/controller/TestController.java @@ -0,0 +1,13 @@ +package com.mashibing.serviceverificationcode.controller; + +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + + @GetMapping("/test") + public String test(){ + return "service-verificationcode"; + } +} diff --git a/online-taxi-public/service-verificationcode/src/main/resources/application.yml b/online-taxi-public/service-verificationcode/src/main/resources/application.yml new file mode 100644 index 0000000..b62cecd --- /dev/null +++ b/online-taxi-public/service-verificationcode/src/main/resources/application.yml @@ -0,0 +1,10 @@ +server: + port: 8082 +spring: + cloud: + nacos: + discovery: + server-addr: 127.0.0.1:8848 + application: + name: service-verificationcode + diff --git a/online-taxi-public/service-verificationcode/src/test/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplicationTests.java b/online-taxi-public/service-verificationcode/src/test/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplicationTests.java new file mode 100644 index 0000000..4af0aaa --- /dev/null +++ b/online-taxi-public/service-verificationcode/src/test/java/com/mashibing/serviceverificationcode/ServiceVerificationcodeApplicationTests.java @@ -0,0 +1,13 @@ +package com.mashibing.serviceverificationcode; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ServiceVerificationcodeApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/online-taxi-public/端口管理.md b/online-taxi-public/端口管理.md new file mode 100644 index 0000000..e888bf7 --- /dev/null +++ b/online-taxi-public/端口管理.md @@ -0,0 +1,12 @@ + + +服务名|端口号 +--- | --- +api-passenger|8081 +service-verificationcode | 8082 +service-passenger-user|8083 +service-price|8084 +service-map|8085 +service-driver-user|8086 +api-boss|8087 +api-driver|8088 diff --git a/sql/dic-common.sql b/sql/dic-common.sql new file mode 100644 index 0000000..6193711 --- /dev/null +++ b/sql/dic-common.sql @@ -0,0 +1,88 @@ +/* +Navicat MySQL Data Transfer + +Source Server : 本机 +Source Server Version : 80017 +Source Host : localhost:3306 +Source Database : dic-common + +Target Server Type : MYSQL +Target Server Version : 80017 +File Encoding : 65001 + +Date: 2022-07-20 14:40:31 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for dic_nation +-- ---------------------------- +DROP TABLE IF EXISTS `dic_nation`; +CREATE TABLE `dic_nation` ( + `nation_code` char(2) NOT NULL COMMENT '民族编码', + `nation_name` varchar(64) DEFAULT NULL COMMENT '民族名称', + PRIMARY KEY (`nation_code`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; + +-- ---------------------------- +-- Records of dic_nation +-- ---------------------------- +INSERT INTO `dic_nation` VALUES ('01', '汉族'); +INSERT INTO `dic_nation` VALUES ('02', '蒙古族'); +INSERT INTO `dic_nation` VALUES ('03', '回族'); +INSERT INTO `dic_nation` VALUES ('04', '藏族'); +INSERT INTO `dic_nation` VALUES ('05', '维吾尔族'); +INSERT INTO `dic_nation` VALUES ('06', '苗族'); +INSERT INTO `dic_nation` VALUES ('07', '彝族'); +INSERT INTO `dic_nation` VALUES ('08', '壮族'); +INSERT INTO `dic_nation` VALUES ('09', '布依族'); +INSERT INTO `dic_nation` VALUES ('10', '朝鲜族'); +INSERT INTO `dic_nation` VALUES ('11', '满族'); +INSERT INTO `dic_nation` VALUES ('12', '侗族'); +INSERT INTO `dic_nation` VALUES ('13', '瑶族'); +INSERT INTO `dic_nation` VALUES ('14', '白族'); +INSERT INTO `dic_nation` VALUES ('15', '土家族'); +INSERT INTO `dic_nation` VALUES ('16', '哈尼族'); +INSERT INTO `dic_nation` VALUES ('17', '哈萨克族'); +INSERT INTO `dic_nation` VALUES ('18', '傣族'); +INSERT INTO `dic_nation` VALUES ('19', '黎族'); +INSERT INTO `dic_nation` VALUES ('20', '僳僳族'); +INSERT INTO `dic_nation` VALUES ('21', '佤族'); +INSERT INTO `dic_nation` VALUES ('22', '畲族'); +INSERT INTO `dic_nation` VALUES ('23', '高山族'); +INSERT INTO `dic_nation` VALUES ('24', '拉祜族'); +INSERT INTO `dic_nation` VALUES ('25', '水族'); +INSERT INTO `dic_nation` VALUES ('26', '东乡族'); +INSERT INTO `dic_nation` VALUES ('27', '纳西族'); +INSERT INTO `dic_nation` VALUES ('28', '景颇族'); +INSERT INTO `dic_nation` VALUES ('29', '柯尔克孜族'); +INSERT INTO `dic_nation` VALUES ('30', '土族'); +INSERT INTO `dic_nation` VALUES ('31', '达斡尔族'); +INSERT INTO `dic_nation` VALUES ('32', '仫佬族'); +INSERT INTO `dic_nation` VALUES ('33', '羌族'); +INSERT INTO `dic_nation` VALUES ('34', '布朗族'); +INSERT INTO `dic_nation` VALUES ('35', '撒拉族'); +INSERT INTO `dic_nation` VALUES ('36', '毛难族'); +INSERT INTO `dic_nation` VALUES ('37', '仡佬族'); +INSERT INTO `dic_nation` VALUES ('38', '锡伯族'); +INSERT INTO `dic_nation` VALUES ('39', '阿昌族'); +INSERT INTO `dic_nation` VALUES ('40', '普米族'); +INSERT INTO `dic_nation` VALUES ('41', '塔吉克族'); +INSERT INTO `dic_nation` VALUES ('42', '怒族'); +INSERT INTO `dic_nation` VALUES ('43', '乌孜别克族'); +INSERT INTO `dic_nation` VALUES ('44', '俄罗斯族'); +INSERT INTO `dic_nation` VALUES ('45', '鄂温克族'); +INSERT INTO `dic_nation` VALUES ('46', '崩龙族'); +INSERT INTO `dic_nation` VALUES ('47', '保安族'); +INSERT INTO `dic_nation` VALUES ('48', '裕固族'); +INSERT INTO `dic_nation` VALUES ('49', '京族'); +INSERT INTO `dic_nation` VALUES ('50', '塔塔尔族'); +INSERT INTO `dic_nation` VALUES ('51', '独龙族'); +INSERT INTO `dic_nation` VALUES ('52', '鄂伦春族'); +INSERT INTO `dic_nation` VALUES ('53', '赫哲族'); +INSERT INTO `dic_nation` VALUES ('54', '门巴族'); +INSERT INTO `dic_nation` VALUES ('55', '珞巴族'); +INSERT INTO `dic_nation` VALUES ('56', '基诺族'); +INSERT INTO `dic_nation` VALUES ('57', '其它'); +INSERT INTO `dic_nation` VALUES ('58', '外国血统'); diff --git a/sql/service-driver-user.sql b/sql/service-driver-user.sql new file mode 100644 index 0000000..a2885f8 --- /dev/null +++ b/sql/service-driver-user.sql @@ -0,0 +1,101 @@ +/* +Navicat MySQL Data Transfer + +Source Server : 本机 +Source Server Version : 80017 +Source Host : localhost:3306 +Source Database : service-driver-user + +Target Server Type : MYSQL +Target Server Version : 80017 +File Encoding : 65001 + +Date: 2022-07-20 14:40:42 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for car +-- ---------------------------- +DROP TABLE IF EXISTS `car`; +CREATE TABLE `car` ( + `id` bigint(32) unsigned NOT NULL AUTO_INCREMENT, + `address` char(6) DEFAULT NULL COMMENT '车辆所在城市', + `vehicle_no` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '车辆号牌', + `plate_color` char(1) DEFAULT NULL COMMENT '车牌颜色(1:蓝色,2:黄色,3:黑色,4:白色,5:绿色,9:其他)', + `seats` int(3) DEFAULT NULL COMMENT '核定载客位', + `brand` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '车辆厂牌', + `model` varchar(16) DEFAULT NULL COMMENT '车辆型号', + `vehicle_type` varchar(16) DEFAULT NULL COMMENT '车辆类型', + `owner_name` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '车辆所有人', + `vehicle_color` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '车辆颜色(1:白色,2:黑色)', + `engine_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '发动机号', + `vin` varchar(64) DEFAULT NULL, + `certify_date_a` date DEFAULT NULL COMMENT '车辆注册日期', + `fue_type` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '燃料类型(1:汽油,2:柴油,3:天然气,4:液化气,5:电动,9:其他)', + `engine_displace` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '发动机排量(毫升)', + `trans_agency` varchar(32) DEFAULT NULL COMMENT '车辆运输证发证机构', + `trans_area` varchar(32) DEFAULT NULL COMMENT '车辆经验区域', + `trans_date_start` date DEFAULT NULL COMMENT '车辆运输证有效期起', + `trans_date_end` date DEFAULT NULL COMMENT '车辆运输证有效期止', + `certify_date_b` date DEFAULT NULL COMMENT '车辆初次登记日期', + `fix_state` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '车辆的检修状态(0:未检修,1:已检修,2:未知)', + `next_fix_date` date DEFAULT NULL COMMENT '下次年检时间', + `check_state` char(2) DEFAULT '' COMMENT '年度审验状态(0:未年审,1:年审合格,2:年审不合格)', + `fee_print_id` varchar(64) DEFAULT NULL COMMENT '发票打印设备序列号', + `gps_brand` varchar(32) DEFAULT NULL COMMENT '卫星定位装置品牌', + `gps_model` varchar(32) DEFAULT NULL COMMENT '卫星型号', + `gps_install_date` date DEFAULT NULL COMMENT '卫星定位设备安装日期', + `register_date` date DEFAULT NULL COMMENT '报备日期', + `commercial_type` int(2) DEFAULT NULL COMMENT '服务类型:1:网络预约出租车,2:巡游出租车,3:私人小客车合乘', + `fare_type` varchar(16) DEFAULT NULL COMMENT '运价编码 关联计价规则', + `state` tinyint(1) DEFAULT NULL COMMENT '状态:0:有效,1:失效', + `gmt_create` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间', + `gmt_modified` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; + +-- ---------------------------- +-- Records of car +-- ---------------------------- + +-- ---------------------------- +-- Table structure for driver_user +-- ---------------------------- +DROP TABLE IF EXISTS `driver_user`; +CREATE TABLE `driver_user` ( + `id` bigint(32) unsigned NOT NULL AUTO_INCREMENT, + `address` char(6) DEFAULT NULL COMMENT '司机注册地行政区划代码', + `driver_name` varchar(16) DEFAULT NULL COMMENT '司机姓名', + `driver_phone` varchar(16) DEFAULT NULL, + `driver_gender` tinyint(2) DEFAULT NULL COMMENT '1:男,2:女', + `driver_birthday` date DEFAULT NULL, + `driver_nation` char(2) DEFAULT NULL COMMENT '驾驶员民族', + `driver_contact_address` varchar(255) DEFAULT NULL, + `license_id` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '机动车驾驶证号', + `get_driver_license_date` date DEFAULT NULL COMMENT '初次领取驾驶证日期', + `driver_license_on` date DEFAULT NULL COMMENT '驾驶证有效期起', + `driver_license_off` date DEFAULT NULL COMMENT '驾驶证有效期止', + `taxi_driver` tinyint(2) DEFAULT NULL COMMENT '是否巡游出租汽车:1:是,0:否', + `certificate_no` varchar(255) DEFAULT NULL COMMENT '网络预约出租汽车驾驶员资格证号', + `network_car_issue_organization` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '网络预约出租汽车驾驶员发证机构', + `network_car_issue_date` date DEFAULT NULL COMMENT '资格证发证日期', + `get_network_car_proof_date` date DEFAULT NULL COMMENT '初次领取资格证日期', + `network_car_proof_on` date DEFAULT NULL COMMENT '资格证有效起始日期', + `network_car_proof_off` date DEFAULT NULL COMMENT '资格证有效截止日期', + `register_date` date DEFAULT NULL COMMENT '报备日期', + `commercial_type` tinyint(2) DEFAULT NULL COMMENT '服务类型:1:网络预约出租汽车,2:巡游出租汽车,3:私人小客车合乘', + `contract_company` varchar(255) DEFAULT NULL COMMENT '驾驶员合同(协议)签署公司', + `contract_on` date DEFAULT NULL COMMENT '合同(协议)有效期起', + `contract_off` date DEFAULT NULL COMMENT '合同有效期止', + `state` tinyint(2) DEFAULT NULL COMMENT '司机状态:0:有效,1:失效', + `gmt_create` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间', + `gmt_modified` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=1542494575889854467 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; + +-- ---------------------------- +-- Records of driver_user +-- ---------------------------- +INSERT INTO `driver_user` VALUES ('1542494575889854466', '110000', '张红', '13910733522', '1', '2020-01-03', '01', '通信地址', '机动车驾驶证号', '2019-01-05', '2019-01-01', '2025-01-01', '1', '网络预约出租汽车驾驶员资格证号', '网络预约出租汽车驾驶员发证机构', '2020-01-02', '2020-01-01', '2020-01-03', '2020-01-03', '2020-02-03', '1', '合约公司', '2022-01-05', '2022-01-06', '1', '2022-06-30 22:05:19', '2022-06-30 22:05:20'); diff --git a/sql/service-map.sql b/sql/service-map.sql new file mode 100644 index 0000000..c76b1c5 --- /dev/null +++ b/sql/service-map.sql @@ -0,0 +1,3276 @@ +/* +Navicat MySQL Data Transfer + +Source Server : 本机 +Source Server Version : 80017 +Source Host : localhost:3306 +Source Database : service-map + +Target Server Type : MYSQL +Target Server Version : 80017 +File Encoding : 65001 + +Date: 2022-07-20 14:40:49 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for dic_district +-- ---------------------------- +DROP TABLE IF EXISTS `dic_district`; +CREATE TABLE `dic_district` ( + `address_code` char(6) NOT NULL COMMENT '地区编码', + `address_name` varchar(128) DEFAULT NULL COMMENT '地区名称', + `parent_address_code` char(6) DEFAULT NULL COMMENT '父地区编码', + `level` tinyint(4) DEFAULT NULL COMMENT '级别', + PRIMARY KEY (`address_code`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; + +-- ---------------------------- +-- Records of dic_district +-- ---------------------------- +INSERT INTO `dic_district` VALUES ('100000', '中华人民共和国', '0', '0'); +INSERT INTO `dic_district` VALUES ('110000', '北京市', '100000', '1'); +INSERT INTO `dic_district` VALUES ('110100', '北京城区', '110000', '2'); +INSERT INTO `dic_district` VALUES ('110101', '东城区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110102', '西城区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110105', '朝阳区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110106', '丰台区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110107', '石景山区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110108', '海淀区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110109', '门头沟区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110111', '房山区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110112', '通州区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110113', '顺义区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110114', '昌平区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110115', '大兴区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110116', '怀柔区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110117', '平谷区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110118', '密云区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('110119', '延庆区', '110100', '3'); +INSERT INTO `dic_district` VALUES ('120000', '天津市', '100000', '1'); +INSERT INTO `dic_district` VALUES ('120100', '天津城区', '120000', '2'); +INSERT INTO `dic_district` VALUES ('120101', '和平区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120102', '河东区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120103', '河西区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120104', '南开区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120105', '河北区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120106', '红桥区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120110', '东丽区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120111', '西青区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120112', '津南区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120113', '北辰区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120114', '武清区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120115', '宝坻区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120116', '滨海新区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120117', '宁河区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120118', '静海区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('120119', '蓟州区', '120100', '3'); +INSERT INTO `dic_district` VALUES ('130000', '河北省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('130100', '石家庄市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130102', '长安区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130104', '桥西区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130105', '新华区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130107', '井陉矿区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130108', '裕华区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130109', '藁城区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130110', '鹿泉区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130111', '栾城区', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130121', '井陉县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130123', '正定县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130125', '行唐县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130126', '灵寿县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130127', '高邑县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130128', '深泽县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130129', '赞皇县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130130', '无极县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130131', '平山县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130132', '元氏县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130133', '赵县', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130181', '辛集市', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130183', '晋州市', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130184', '新乐市', '130100', '3'); +INSERT INTO `dic_district` VALUES ('130200', '唐山市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130202', '路南区', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130203', '路北区', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130204', '古冶区', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130205', '开平区', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130207', '丰南区', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130208', '丰润区', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130209', '曹妃甸区', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130224', '滦南县', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130225', '乐亭县', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130227', '迁西县', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130229', '玉田县', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130281', '遵化市', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130283', '迁安市', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130284', '滦州市', '130200', '3'); +INSERT INTO `dic_district` VALUES ('130300', '秦皇岛市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130302', '海港区', '130300', '3'); +INSERT INTO `dic_district` VALUES ('130303', '山海关区', '130300', '3'); +INSERT INTO `dic_district` VALUES ('130304', '北戴河区', '130300', '3'); +INSERT INTO `dic_district` VALUES ('130306', '抚宁区', '130300', '3'); +INSERT INTO `dic_district` VALUES ('130321', '青龙满族自治县', '130300', '3'); +INSERT INTO `dic_district` VALUES ('130322', '昌黎县', '130300', '3'); +INSERT INTO `dic_district` VALUES ('130324', '卢龙县', '130300', '3'); +INSERT INTO `dic_district` VALUES ('130400', '邯郸市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130402', '邯山区', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130403', '丛台区', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130404', '复兴区', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130406', '峰峰矿区', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130407', '肥乡区', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130408', '永年区', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130423', '临漳县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130424', '成安县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130425', '大名县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130426', '涉县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130427', '磁县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130430', '邱县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130431', '鸡泽县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130432', '广平县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130433', '馆陶县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130434', '魏县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130435', '曲周县', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130481', '武安市', '130400', '3'); +INSERT INTO `dic_district` VALUES ('130500', '邢台市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130502', '襄都区', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130503', '信都区', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130505', '任泽区', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130506', '南和区', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130522', '临城县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130523', '内丘县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130524', '柏乡县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130525', '隆尧县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130528', '宁晋县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130529', '巨鹿县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130530', '新河县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130531', '广宗县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130532', '平乡县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130533', '威县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130534', '清河县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130535', '临西县', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130581', '南宫市', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130582', '沙河市', '130500', '3'); +INSERT INTO `dic_district` VALUES ('130600', '保定市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130602', '竞秀区', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130606', '莲池区', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130607', '满城区', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130608', '清苑区', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130609', '徐水区', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130623', '涞水县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130624', '阜平县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130626', '定兴县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130627', '唐县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130628', '高阳县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130629', '容城县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130630', '涞源县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130631', '望都县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130632', '安新县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130633', '易县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130634', '曲阳县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130635', '蠡县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130636', '顺平县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130637', '博野县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130638', '雄县', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130681', '涿州市', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130682', '定州市', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130683', '安国市', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130684', '高碑店市', '130600', '3'); +INSERT INTO `dic_district` VALUES ('130700', '张家口市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130702', '桥东区', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130703', '桥西区', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130705', '宣化区', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130706', '下花园区', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130708', '万全区', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130709', '崇礼区', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130722', '张北县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130723', '康保县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130724', '沽源县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130725', '尚义县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130726', '蔚县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130727', '阳原县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130728', '怀安县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130730', '怀来县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130731', '涿鹿县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130732', '赤城县', '130700', '3'); +INSERT INTO `dic_district` VALUES ('130800', '承德市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130802', '双桥区', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130803', '双滦区', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130804', '鹰手营子矿区', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130821', '承德县', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130822', '兴隆县', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130824', '滦平县', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130825', '隆化县', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130826', '丰宁满族自治县', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130827', '宽城满族自治县', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130828', '围场满族蒙古族自治县', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130881', '平泉市', '130800', '3'); +INSERT INTO `dic_district` VALUES ('130900', '沧州市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('130902', '新华区', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130903', '运河区', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130921', '沧县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130922', '青县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130923', '东光县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130924', '海兴县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130925', '盐山县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130926', '肃宁县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130927', '南皮县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130928', '吴桥县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130929', '献县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130930', '孟村回族自治县', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130981', '泊头市', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130982', '任丘市', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130983', '黄骅市', '130900', '3'); +INSERT INTO `dic_district` VALUES ('130984', '河间市', '130900', '3'); +INSERT INTO `dic_district` VALUES ('131000', '廊坊市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('131002', '安次区', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131003', '广阳区', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131022', '固安县', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131023', '永清县', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131024', '香河县', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131025', '大城县', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131026', '文安县', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131028', '大厂回族自治县', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131081', '霸州市', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131082', '三河市', '131000', '3'); +INSERT INTO `dic_district` VALUES ('131100', '衡水市', '130000', '2'); +INSERT INTO `dic_district` VALUES ('131102', '桃城区', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131103', '冀州区', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131121', '枣强县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131122', '武邑县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131123', '武强县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131124', '饶阳县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131125', '安平县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131126', '故城县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131127', '景县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131128', '阜城县', '131100', '3'); +INSERT INTO `dic_district` VALUES ('131182', '深州市', '131100', '3'); +INSERT INTO `dic_district` VALUES ('140000', '山西省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('140100', '太原市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140105', '小店区', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140106', '迎泽区', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140107', '杏花岭区', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140108', '尖草坪区', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140109', '万柏林区', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140110', '晋源区', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140121', '清徐县', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140122', '阳曲县', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140123', '娄烦县', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140181', '古交市', '140100', '3'); +INSERT INTO `dic_district` VALUES ('140200', '大同市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140212', '新荣区', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140213', '平城区', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140214', '云冈区', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140215', '云州区', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140221', '阳高县', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140222', '天镇县', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140223', '广灵县', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140224', '灵丘县', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140225', '浑源县', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140226', '左云县', '140200', '3'); +INSERT INTO `dic_district` VALUES ('140300', '阳泉市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140302', '城区', '140300', '3'); +INSERT INTO `dic_district` VALUES ('140303', '矿区', '140300', '3'); +INSERT INTO `dic_district` VALUES ('140311', '郊区', '140300', '3'); +INSERT INTO `dic_district` VALUES ('140321', '平定县', '140300', '3'); +INSERT INTO `dic_district` VALUES ('140322', '盂县', '140300', '3'); +INSERT INTO `dic_district` VALUES ('140400', '长治市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140403', '潞州区', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140404', '上党区', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140405', '屯留区', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140406', '潞城区', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140423', '襄垣县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140425', '平顺县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140426', '黎城县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140427', '壶关县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140428', '长子县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140429', '武乡县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140430', '沁县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140431', '沁源县', '140400', '3'); +INSERT INTO `dic_district` VALUES ('140500', '晋城市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140502', '城区', '140500', '3'); +INSERT INTO `dic_district` VALUES ('140521', '沁水县', '140500', '3'); +INSERT INTO `dic_district` VALUES ('140522', '阳城县', '140500', '3'); +INSERT INTO `dic_district` VALUES ('140524', '陵川县', '140500', '3'); +INSERT INTO `dic_district` VALUES ('140525', '泽州县', '140500', '3'); +INSERT INTO `dic_district` VALUES ('140581', '高平市', '140500', '3'); +INSERT INTO `dic_district` VALUES ('140600', '朔州市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140602', '朔城区', '140600', '3'); +INSERT INTO `dic_district` VALUES ('140603', '平鲁区', '140600', '3'); +INSERT INTO `dic_district` VALUES ('140621', '山阴县', '140600', '3'); +INSERT INTO `dic_district` VALUES ('140622', '应县', '140600', '3'); +INSERT INTO `dic_district` VALUES ('140623', '右玉县', '140600', '3'); +INSERT INTO `dic_district` VALUES ('140681', '怀仁市', '140600', '3'); +INSERT INTO `dic_district` VALUES ('140700', '晋中市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140702', '榆次区', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140703', '太谷区', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140721', '榆社县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140722', '左权县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140723', '和顺县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140724', '昔阳县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140725', '寿阳县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140727', '祁县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140728', '平遥县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140729', '灵石县', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140781', '介休市', '140700', '3'); +INSERT INTO `dic_district` VALUES ('140800', '运城市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140802', '盐湖区', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140821', '临猗县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140822', '万荣县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140823', '闻喜县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140824', '稷山县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140825', '新绛县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140826', '绛县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140827', '垣曲县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140828', '夏县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140829', '平陆县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140830', '芮城县', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140881', '永济市', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140882', '河津市', '140800', '3'); +INSERT INTO `dic_district` VALUES ('140900', '忻州市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('140902', '忻府区', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140921', '定襄县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140922', '五台县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140923', '代县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140924', '繁峙县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140925', '宁武县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140926', '静乐县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140927', '神池县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140928', '五寨县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140929', '岢岚县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140930', '河曲县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140931', '保德县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140932', '偏关县', '140900', '3'); +INSERT INTO `dic_district` VALUES ('140981', '原平市', '140900', '3'); +INSERT INTO `dic_district` VALUES ('141000', '临汾市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('141002', '尧都区', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141021', '曲沃县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141022', '翼城县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141023', '襄汾县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141024', '洪洞县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141025', '古县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141026', '安泽县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141027', '浮山县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141028', '吉县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141029', '乡宁县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141030', '大宁县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141031', '隰县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141032', '永和县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141033', '蒲县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141034', '汾西县', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141081', '侯马市', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141082', '霍州市', '141000', '3'); +INSERT INTO `dic_district` VALUES ('141100', '吕梁市', '140000', '2'); +INSERT INTO `dic_district` VALUES ('141102', '离石区', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141121', '文水县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141122', '交城县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141123', '兴县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141124', '临县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141125', '柳林县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141126', '石楼县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141127', '岚县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141128', '方山县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141129', '中阳县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141130', '交口县', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141181', '孝义市', '141100', '3'); +INSERT INTO `dic_district` VALUES ('141182', '汾阳市', '141100', '3'); +INSERT INTO `dic_district` VALUES ('150000', '内蒙古自治区', '100000', '1'); +INSERT INTO `dic_district` VALUES ('150100', '呼和浩特市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150102', '新城区', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150103', '回民区', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150104', '玉泉区', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150105', '赛罕区', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150121', '土默特左旗', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150122', '托克托县', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150123', '和林格尔县', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150124', '清水河县', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150125', '武川县', '150100', '3'); +INSERT INTO `dic_district` VALUES ('150200', '包头市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150202', '东河区', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150203', '昆都仑区', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150204', '青山区', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150205', '石拐区', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150206', '白云鄂博矿区', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150207', '九原区', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150221', '土默特右旗', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150222', '固阳县', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150223', '达尔罕茂明安联合旗', '150200', '3'); +INSERT INTO `dic_district` VALUES ('150300', '乌海市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150302', '海勃湾区', '150300', '3'); +INSERT INTO `dic_district` VALUES ('150303', '海南区', '150300', '3'); +INSERT INTO `dic_district` VALUES ('150304', '乌达区', '150300', '3'); +INSERT INTO `dic_district` VALUES ('150400', '赤峰市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150402', '红山区', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150403', '元宝山区', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150404', '松山区', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150421', '阿鲁科尔沁旗', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150422', '巴林左旗', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150423', '巴林右旗', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150424', '林西县', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150425', '克什克腾旗', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150426', '翁牛特旗', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150428', '喀喇沁旗', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150429', '宁城县', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150430', '敖汉旗', '150400', '3'); +INSERT INTO `dic_district` VALUES ('150500', '通辽市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150502', '科尔沁区', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150521', '科尔沁左翼中旗', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150522', '科尔沁左翼后旗', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150523', '开鲁县', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150524', '库伦旗', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150525', '奈曼旗', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150526', '扎鲁特旗', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150581', '霍林郭勒市', '150500', '3'); +INSERT INTO `dic_district` VALUES ('150600', '鄂尔多斯市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150602', '东胜区', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150603', '康巴什区', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150621', '达拉特旗', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150622', '准格尔旗', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150623', '鄂托克前旗', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150624', '鄂托克旗', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150625', '杭锦旗', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150626', '乌审旗', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150627', '伊金霍洛旗', '150600', '3'); +INSERT INTO `dic_district` VALUES ('150700', '呼伦贝尔市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150702', '海拉尔区', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150703', '扎赉诺尔区', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150721', '阿荣旗', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150722', '莫力达瓦达斡尔族自治旗', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150723', '鄂伦春自治旗', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150724', '鄂温克族自治旗', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150725', '陈巴尔虎旗', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150726', '新巴尔虎左旗', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150727', '新巴尔虎右旗', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150781', '满洲里市', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150782', '牙克石市', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150783', '扎兰屯市', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150784', '额尔古纳市', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150785', '根河市', '150700', '3'); +INSERT INTO `dic_district` VALUES ('150800', '巴彦淖尔市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150802', '临河区', '150800', '3'); +INSERT INTO `dic_district` VALUES ('150821', '五原县', '150800', '3'); +INSERT INTO `dic_district` VALUES ('150822', '磴口县', '150800', '3'); +INSERT INTO `dic_district` VALUES ('150823', '乌拉特前旗', '150800', '3'); +INSERT INTO `dic_district` VALUES ('150824', '乌拉特中旗', '150800', '3'); +INSERT INTO `dic_district` VALUES ('150825', '乌拉特后旗', '150800', '3'); +INSERT INTO `dic_district` VALUES ('150826', '杭锦后旗', '150800', '3'); +INSERT INTO `dic_district` VALUES ('150900', '乌兰察布市', '150000', '2'); +INSERT INTO `dic_district` VALUES ('150902', '集宁区', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150921', '卓资县', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150922', '化德县', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150923', '商都县', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150924', '兴和县', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150925', '凉城县', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150926', '察哈尔右翼前旗', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150927', '察哈尔右翼中旗', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150928', '察哈尔右翼后旗', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150929', '四子王旗', '150900', '3'); +INSERT INTO `dic_district` VALUES ('150981', '丰镇市', '150900', '3'); +INSERT INTO `dic_district` VALUES ('152200', '兴安盟', '150000', '2'); +INSERT INTO `dic_district` VALUES ('152201', '乌兰浩特市', '152200', '3'); +INSERT INTO `dic_district` VALUES ('152202', '阿尔山市', '152200', '3'); +INSERT INTO `dic_district` VALUES ('152221', '科尔沁右翼前旗', '152200', '3'); +INSERT INTO `dic_district` VALUES ('152222', '科尔沁右翼中旗', '152200', '3'); +INSERT INTO `dic_district` VALUES ('152223', '扎赉特旗', '152200', '3'); +INSERT INTO `dic_district` VALUES ('152224', '突泉县', '152200', '3'); +INSERT INTO `dic_district` VALUES ('152500', '锡林郭勒盟', '150000', '2'); +INSERT INTO `dic_district` VALUES ('152501', '二连浩特市', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152502', '锡林浩特市', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152522', '阿巴嘎旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152523', '苏尼特左旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152524', '苏尼特右旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152525', '东乌珠穆沁旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152526', '西乌珠穆沁旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152527', '太仆寺旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152528', '镶黄旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152529', '正镶白旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152530', '正蓝旗', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152531', '多伦县', '152500', '3'); +INSERT INTO `dic_district` VALUES ('152900', '阿拉善盟', '150000', '2'); +INSERT INTO `dic_district` VALUES ('152921', '阿拉善左旗', '152900', '3'); +INSERT INTO `dic_district` VALUES ('152922', '阿拉善右旗', '152900', '3'); +INSERT INTO `dic_district` VALUES ('152923', '额济纳旗', '152900', '3'); +INSERT INTO `dic_district` VALUES ('210000', '辽宁省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('210100', '沈阳市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210102', '和平区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210103', '沈河区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210104', '大东区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210105', '皇姑区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210106', '铁西区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210111', '苏家屯区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210112', '浑南区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210113', '沈北新区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210114', '于洪区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210115', '辽中区', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210123', '康平县', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210124', '法库县', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210181', '新民市', '210100', '3'); +INSERT INTO `dic_district` VALUES ('210200', '大连市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210202', '中山区', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210203', '西岗区', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210204', '沙河口区', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210211', '甘井子区', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210212', '旅顺口区', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210213', '金州区', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210214', '普兰店区', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210224', '长海县', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210281', '瓦房店市', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210283', '庄河市', '210200', '3'); +INSERT INTO `dic_district` VALUES ('210300', '鞍山市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210302', '铁东区', '210300', '3'); +INSERT INTO `dic_district` VALUES ('210303', '铁西区', '210300', '3'); +INSERT INTO `dic_district` VALUES ('210304', '立山区', '210300', '3'); +INSERT INTO `dic_district` VALUES ('210311', '千山区', '210300', '3'); +INSERT INTO `dic_district` VALUES ('210321', '台安县', '210300', '3'); +INSERT INTO `dic_district` VALUES ('210323', '岫岩满族自治县', '210300', '3'); +INSERT INTO `dic_district` VALUES ('210381', '海城市', '210300', '3'); +INSERT INTO `dic_district` VALUES ('210400', '抚顺市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210402', '新抚区', '210400', '3'); +INSERT INTO `dic_district` VALUES ('210403', '东洲区', '210400', '3'); +INSERT INTO `dic_district` VALUES ('210404', '望花区', '210400', '3'); +INSERT INTO `dic_district` VALUES ('210411', '顺城区', '210400', '3'); +INSERT INTO `dic_district` VALUES ('210421', '抚顺县', '210400', '3'); +INSERT INTO `dic_district` VALUES ('210422', '新宾满族自治县', '210400', '3'); +INSERT INTO `dic_district` VALUES ('210423', '清原满族自治县', '210400', '3'); +INSERT INTO `dic_district` VALUES ('210500', '本溪市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210502', '平山区', '210500', '3'); +INSERT INTO `dic_district` VALUES ('210503', '溪湖区', '210500', '3'); +INSERT INTO `dic_district` VALUES ('210504', '明山区', '210500', '3'); +INSERT INTO `dic_district` VALUES ('210505', '南芬区', '210500', '3'); +INSERT INTO `dic_district` VALUES ('210521', '本溪满族自治县', '210500', '3'); +INSERT INTO `dic_district` VALUES ('210522', '桓仁满族自治县', '210500', '3'); +INSERT INTO `dic_district` VALUES ('210600', '丹东市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210602', '元宝区', '210600', '3'); +INSERT INTO `dic_district` VALUES ('210603', '振兴区', '210600', '3'); +INSERT INTO `dic_district` VALUES ('210604', '振安区', '210600', '3'); +INSERT INTO `dic_district` VALUES ('210624', '宽甸满族自治县', '210600', '3'); +INSERT INTO `dic_district` VALUES ('210681', '东港市', '210600', '3'); +INSERT INTO `dic_district` VALUES ('210682', '凤城市', '210600', '3'); +INSERT INTO `dic_district` VALUES ('210700', '锦州市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210702', '古塔区', '210700', '3'); +INSERT INTO `dic_district` VALUES ('210703', '凌河区', '210700', '3'); +INSERT INTO `dic_district` VALUES ('210711', '太和区', '210700', '3'); +INSERT INTO `dic_district` VALUES ('210726', '黑山县', '210700', '3'); +INSERT INTO `dic_district` VALUES ('210727', '义县', '210700', '3'); +INSERT INTO `dic_district` VALUES ('210781', '凌海市', '210700', '3'); +INSERT INTO `dic_district` VALUES ('210782', '北镇市', '210700', '3'); +INSERT INTO `dic_district` VALUES ('210800', '营口市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210802', '站前区', '210800', '3'); +INSERT INTO `dic_district` VALUES ('210803', '西市区', '210800', '3'); +INSERT INTO `dic_district` VALUES ('210804', '鲅鱼圈区', '210800', '3'); +INSERT INTO `dic_district` VALUES ('210811', '老边区', '210800', '3'); +INSERT INTO `dic_district` VALUES ('210881', '盖州市', '210800', '3'); +INSERT INTO `dic_district` VALUES ('210882', '大石桥市', '210800', '3'); +INSERT INTO `dic_district` VALUES ('210900', '阜新市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('210902', '海州区', '210900', '3'); +INSERT INTO `dic_district` VALUES ('210903', '新邱区', '210900', '3'); +INSERT INTO `dic_district` VALUES ('210904', '太平区', '210900', '3'); +INSERT INTO `dic_district` VALUES ('210905', '清河门区', '210900', '3'); +INSERT INTO `dic_district` VALUES ('210911', '细河区', '210900', '3'); +INSERT INTO `dic_district` VALUES ('210921', '阜新蒙古族自治县', '210900', '3'); +INSERT INTO `dic_district` VALUES ('210922', '彰武县', '210900', '3'); +INSERT INTO `dic_district` VALUES ('211000', '辽阳市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('211002', '白塔区', '211000', '3'); +INSERT INTO `dic_district` VALUES ('211003', '文圣区', '211000', '3'); +INSERT INTO `dic_district` VALUES ('211004', '宏伟区', '211000', '3'); +INSERT INTO `dic_district` VALUES ('211005', '弓长岭区', '211000', '3'); +INSERT INTO `dic_district` VALUES ('211011', '太子河区', '211000', '3'); +INSERT INTO `dic_district` VALUES ('211021', '辽阳县', '211000', '3'); +INSERT INTO `dic_district` VALUES ('211081', '灯塔市', '211000', '3'); +INSERT INTO `dic_district` VALUES ('211100', '盘锦市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('211102', '双台子区', '211100', '3'); +INSERT INTO `dic_district` VALUES ('211103', '兴隆台区', '211100', '3'); +INSERT INTO `dic_district` VALUES ('211104', '大洼区', '211100', '3'); +INSERT INTO `dic_district` VALUES ('211122', '盘山县', '211100', '3'); +INSERT INTO `dic_district` VALUES ('211200', '铁岭市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('211202', '银州区', '211200', '3'); +INSERT INTO `dic_district` VALUES ('211204', '清河区', '211200', '3'); +INSERT INTO `dic_district` VALUES ('211221', '铁岭县', '211200', '3'); +INSERT INTO `dic_district` VALUES ('211223', '西丰县', '211200', '3'); +INSERT INTO `dic_district` VALUES ('211224', '昌图县', '211200', '3'); +INSERT INTO `dic_district` VALUES ('211281', '调兵山市', '211200', '3'); +INSERT INTO `dic_district` VALUES ('211282', '开原市', '211200', '3'); +INSERT INTO `dic_district` VALUES ('211300', '朝阳市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('211302', '双塔区', '211300', '3'); +INSERT INTO `dic_district` VALUES ('211303', '龙城区', '211300', '3'); +INSERT INTO `dic_district` VALUES ('211321', '朝阳县', '211300', '3'); +INSERT INTO `dic_district` VALUES ('211322', '建平县', '211300', '3'); +INSERT INTO `dic_district` VALUES ('211324', '喀喇沁左翼蒙古族自治县', '211300', '3'); +INSERT INTO `dic_district` VALUES ('211381', '北票市', '211300', '3'); +INSERT INTO `dic_district` VALUES ('211382', '凌源市', '211300', '3'); +INSERT INTO `dic_district` VALUES ('211400', '葫芦岛市', '210000', '2'); +INSERT INTO `dic_district` VALUES ('211402', '连山区', '211400', '3'); +INSERT INTO `dic_district` VALUES ('211403', '龙港区', '211400', '3'); +INSERT INTO `dic_district` VALUES ('211404', '南票区', '211400', '3'); +INSERT INTO `dic_district` VALUES ('211421', '绥中县', '211400', '3'); +INSERT INTO `dic_district` VALUES ('211422', '建昌县', '211400', '3'); +INSERT INTO `dic_district` VALUES ('211481', '兴城市', '211400', '3'); +INSERT INTO `dic_district` VALUES ('220000', '吉林省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('220100', '长春市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220102', '南关区', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220103', '宽城区', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220104', '朝阳区', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220105', '二道区', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220106', '绿园区', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220112', '双阳区', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220113', '九台区', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220122', '农安县', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220182', '榆树市', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220183', '德惠市', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220184', '公主岭市', '220100', '3'); +INSERT INTO `dic_district` VALUES ('220200', '吉林市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220202', '昌邑区', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220203', '龙潭区', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220204', '船营区', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220211', '丰满区', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220221', '永吉县', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220281', '蛟河市', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220282', '桦甸市', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220283', '舒兰市', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220284', '磐石市', '220200', '3'); +INSERT INTO `dic_district` VALUES ('220300', '四平市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220302', '铁西区', '220300', '3'); +INSERT INTO `dic_district` VALUES ('220303', '铁东区', '220300', '3'); +INSERT INTO `dic_district` VALUES ('220322', '梨树县', '220300', '3'); +INSERT INTO `dic_district` VALUES ('220323', '伊通满族自治县', '220300', '3'); +INSERT INTO `dic_district` VALUES ('220382', '双辽市', '220300', '3'); +INSERT INTO `dic_district` VALUES ('220400', '辽源市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220402', '龙山区', '220400', '3'); +INSERT INTO `dic_district` VALUES ('220403', '西安区', '220400', '3'); +INSERT INTO `dic_district` VALUES ('220421', '东丰县', '220400', '3'); +INSERT INTO `dic_district` VALUES ('220422', '东辽县', '220400', '3'); +INSERT INTO `dic_district` VALUES ('220500', '通化市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220502', '东昌区', '220500', '3'); +INSERT INTO `dic_district` VALUES ('220503', '二道江区', '220500', '3'); +INSERT INTO `dic_district` VALUES ('220521', '通化县', '220500', '3'); +INSERT INTO `dic_district` VALUES ('220523', '辉南县', '220500', '3'); +INSERT INTO `dic_district` VALUES ('220524', '柳河县', '220500', '3'); +INSERT INTO `dic_district` VALUES ('220581', '梅河口市', '220500', '3'); +INSERT INTO `dic_district` VALUES ('220582', '集安市', '220500', '3'); +INSERT INTO `dic_district` VALUES ('220600', '白山市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220602', '浑江区', '220600', '3'); +INSERT INTO `dic_district` VALUES ('220605', '江源区', '220600', '3'); +INSERT INTO `dic_district` VALUES ('220621', '抚松县', '220600', '3'); +INSERT INTO `dic_district` VALUES ('220622', '靖宇县', '220600', '3'); +INSERT INTO `dic_district` VALUES ('220623', '长白朝鲜族自治县', '220600', '3'); +INSERT INTO `dic_district` VALUES ('220681', '临江市', '220600', '3'); +INSERT INTO `dic_district` VALUES ('220700', '松原市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220702', '宁江区', '220700', '3'); +INSERT INTO `dic_district` VALUES ('220721', '前郭尔罗斯蒙古族自治县', '220700', '3'); +INSERT INTO `dic_district` VALUES ('220722', '长岭县', '220700', '3'); +INSERT INTO `dic_district` VALUES ('220723', '乾安县', '220700', '3'); +INSERT INTO `dic_district` VALUES ('220781', '扶余市', '220700', '3'); +INSERT INTO `dic_district` VALUES ('220800', '白城市', '220000', '2'); +INSERT INTO `dic_district` VALUES ('220802', '洮北区', '220800', '3'); +INSERT INTO `dic_district` VALUES ('220821', '镇赉县', '220800', '3'); +INSERT INTO `dic_district` VALUES ('220822', '通榆县', '220800', '3'); +INSERT INTO `dic_district` VALUES ('220881', '洮南市', '220800', '3'); +INSERT INTO `dic_district` VALUES ('220882', '大安市', '220800', '3'); +INSERT INTO `dic_district` VALUES ('222400', '延边朝鲜族自治州', '220000', '2'); +INSERT INTO `dic_district` VALUES ('222401', '延吉市', '222400', '3'); +INSERT INTO `dic_district` VALUES ('222402', '图们市', '222400', '3'); +INSERT INTO `dic_district` VALUES ('222403', '敦化市', '222400', '3'); +INSERT INTO `dic_district` VALUES ('222404', '珲春市', '222400', '3'); +INSERT INTO `dic_district` VALUES ('222405', '龙井市', '222400', '3'); +INSERT INTO `dic_district` VALUES ('222406', '和龙市', '222400', '3'); +INSERT INTO `dic_district` VALUES ('222424', '汪清县', '222400', '3'); +INSERT INTO `dic_district` VALUES ('222426', '安图县', '222400', '3'); +INSERT INTO `dic_district` VALUES ('230000', '黑龙江省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('230100', '哈尔滨市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230102', '道里区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230103', '南岗区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230104', '道外区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230108', '平房区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230109', '松北区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230110', '香坊区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230111', '呼兰区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230112', '阿城区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230113', '双城区', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230123', '依兰县', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230124', '方正县', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230125', '宾县', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230126', '巴彦县', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230127', '木兰县', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230128', '通河县', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230129', '延寿县', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230183', '尚志市', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230184', '五常市', '230100', '3'); +INSERT INTO `dic_district` VALUES ('230200', '齐齐哈尔市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230202', '龙沙区', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230203', '建华区', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230204', '铁锋区', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230205', '昂昂溪区', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230206', '富拉尔基区', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230207', '碾子山区', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230208', '梅里斯达斡尔族区', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230221', '龙江县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230223', '依安县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230224', '泰来县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230225', '甘南县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230227', '富裕县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230229', '克山县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230230', '克东县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230231', '拜泉县', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230281', '讷河市', '230200', '3'); +INSERT INTO `dic_district` VALUES ('230300', '鸡西市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230302', '鸡冠区', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230303', '恒山区', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230304', '滴道区', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230305', '梨树区', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230306', '城子河区', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230307', '麻山区', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230321', '鸡东县', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230381', '虎林市', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230382', '密山市', '230300', '3'); +INSERT INTO `dic_district` VALUES ('230400', '鹤岗市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230402', '向阳区', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230403', '工农区', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230404', '南山区', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230405', '兴安区', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230406', '东山区', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230407', '兴山区', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230421', '萝北县', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230422', '绥滨县', '230400', '3'); +INSERT INTO `dic_district` VALUES ('230500', '双鸭山市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230502', '尖山区', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230503', '岭东区', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230505', '四方台区', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230506', '宝山区', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230521', '集贤县', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230522', '友谊县', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230523', '宝清县', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230524', '饶河县', '230500', '3'); +INSERT INTO `dic_district` VALUES ('230600', '大庆市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230602', '萨尔图区', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230603', '龙凤区', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230604', '让胡路区', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230605', '红岗区', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230606', '大同区', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230621', '肇州县', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230622', '肇源县', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230623', '林甸县', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230624', '杜尔伯特蒙古族自治县', '230600', '3'); +INSERT INTO `dic_district` VALUES ('230700', '伊春市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230717', '伊美区', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230718', '乌翠区', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230719', '友好区', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230722', '嘉荫县', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230723', '汤旺县', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230724', '丰林县', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230725', '大箐山县', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230726', '南岔县', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230751', '金林区', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230781', '铁力市', '230700', '3'); +INSERT INTO `dic_district` VALUES ('230800', '佳木斯市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230803', '向阳区', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230804', '前进区', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230805', '东风区', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230811', '郊区', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230822', '桦南县', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230826', '桦川县', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230828', '汤原县', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230881', '同江市', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230882', '富锦市', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230883', '抚远市', '230800', '3'); +INSERT INTO `dic_district` VALUES ('230900', '七台河市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('230902', '新兴区', '230900', '3'); +INSERT INTO `dic_district` VALUES ('230903', '桃山区', '230900', '3'); +INSERT INTO `dic_district` VALUES ('230904', '茄子河区', '230900', '3'); +INSERT INTO `dic_district` VALUES ('230921', '勃利县', '230900', '3'); +INSERT INTO `dic_district` VALUES ('231000', '牡丹江市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('231002', '东安区', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231003', '阳明区', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231004', '爱民区', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231005', '西安区', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231025', '林口县', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231081', '绥芬河市', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231083', '海林市', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231084', '宁安市', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231085', '穆棱市', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231086', '东宁市', '231000', '3'); +INSERT INTO `dic_district` VALUES ('231100', '黑河市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('231102', '爱辉区', '231100', '3'); +INSERT INTO `dic_district` VALUES ('231123', '逊克县', '231100', '3'); +INSERT INTO `dic_district` VALUES ('231124', '孙吴县', '231100', '3'); +INSERT INTO `dic_district` VALUES ('231181', '北安市', '231100', '3'); +INSERT INTO `dic_district` VALUES ('231182', '五大连池市', '231100', '3'); +INSERT INTO `dic_district` VALUES ('231183', '嫩江市', '231100', '3'); +INSERT INTO `dic_district` VALUES ('231200', '绥化市', '230000', '2'); +INSERT INTO `dic_district` VALUES ('231202', '北林区', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231221', '望奎县', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231222', '兰西县', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231223', '青冈县', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231224', '庆安县', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231225', '明水县', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231226', '绥棱县', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231281', '安达市', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231282', '肇东市', '231200', '3'); +INSERT INTO `dic_district` VALUES ('231283', '海伦市', '231200', '3'); +INSERT INTO `dic_district` VALUES ('232700', '大兴安岭地区', '230000', '2'); +INSERT INTO `dic_district` VALUES ('232701', '漠河市', '232700', '3'); +INSERT INTO `dic_district` VALUES ('232718', '加格达奇区', '232700', '3'); +INSERT INTO `dic_district` VALUES ('232721', '呼玛县', '232700', '3'); +INSERT INTO `dic_district` VALUES ('232722', '塔河县', '232700', '3'); +INSERT INTO `dic_district` VALUES ('310000', '上海市', '100000', '1'); +INSERT INTO `dic_district` VALUES ('310100', '上海城区', '310000', '2'); +INSERT INTO `dic_district` VALUES ('310101', '黄浦区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310104', '徐汇区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310105', '长宁区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310106', '静安区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310107', '普陀区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310109', '虹口区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310110', '杨浦区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310112', '闵行区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310113', '宝山区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310114', '嘉定区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310115', '浦东新区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310116', '金山区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310117', '松江区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310118', '青浦区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310120', '奉贤区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('310151', '崇明区', '310100', '3'); +INSERT INTO `dic_district` VALUES ('320000', '江苏省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('320100', '南京市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320102', '玄武区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320104', '秦淮区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320105', '建邺区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320106', '鼓楼区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320111', '浦口区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320113', '栖霞区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320114', '雨花台区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320115', '江宁区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320116', '六合区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320117', '溧水区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320118', '高淳区', '320100', '3'); +INSERT INTO `dic_district` VALUES ('320200', '无锡市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320205', '锡山区', '320200', '3'); +INSERT INTO `dic_district` VALUES ('320206', '惠山区', '320200', '3'); +INSERT INTO `dic_district` VALUES ('320211', '滨湖区', '320200', '3'); +INSERT INTO `dic_district` VALUES ('320213', '梁溪区', '320200', '3'); +INSERT INTO `dic_district` VALUES ('320214', '新吴区', '320200', '3'); +INSERT INTO `dic_district` VALUES ('320281', '江阴市', '320200', '3'); +INSERT INTO `dic_district` VALUES ('320282', '宜兴市', '320200', '3'); +INSERT INTO `dic_district` VALUES ('320300', '徐州市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320302', '鼓楼区', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320303', '云龙区', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320305', '贾汪区', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320311', '泉山区', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320312', '铜山区', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320321', '丰县', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320322', '沛县', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320324', '睢宁县', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320381', '新沂市', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320382', '邳州市', '320300', '3'); +INSERT INTO `dic_district` VALUES ('320400', '常州市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320402', '天宁区', '320400', '3'); +INSERT INTO `dic_district` VALUES ('320404', '钟楼区', '320400', '3'); +INSERT INTO `dic_district` VALUES ('320411', '新北区', '320400', '3'); +INSERT INTO `dic_district` VALUES ('320412', '武进区', '320400', '3'); +INSERT INTO `dic_district` VALUES ('320413', '金坛区', '320400', '3'); +INSERT INTO `dic_district` VALUES ('320481', '溧阳市', '320400', '3'); +INSERT INTO `dic_district` VALUES ('320500', '苏州市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320505', '虎丘区', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320506', '吴中区', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320507', '相城区', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320508', '姑苏区', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320509', '吴江区', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320581', '常熟市', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320582', '张家港市', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320583', '昆山市', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320585', '太仓市', '320500', '3'); +INSERT INTO `dic_district` VALUES ('320600', '南通市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320612', '通州区', '320600', '3'); +INSERT INTO `dic_district` VALUES ('320613', '崇川区', '320600', '3'); +INSERT INTO `dic_district` VALUES ('320614', '海门区', '320600', '3'); +INSERT INTO `dic_district` VALUES ('320623', '如东县', '320600', '3'); +INSERT INTO `dic_district` VALUES ('320681', '启东市', '320600', '3'); +INSERT INTO `dic_district` VALUES ('320682', '如皋市', '320600', '3'); +INSERT INTO `dic_district` VALUES ('320685', '海安市', '320600', '3'); +INSERT INTO `dic_district` VALUES ('320700', '连云港市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320703', '连云区', '320700', '3'); +INSERT INTO `dic_district` VALUES ('320706', '海州区', '320700', '3'); +INSERT INTO `dic_district` VALUES ('320707', '赣榆区', '320700', '3'); +INSERT INTO `dic_district` VALUES ('320722', '东海县', '320700', '3'); +INSERT INTO `dic_district` VALUES ('320723', '灌云县', '320700', '3'); +INSERT INTO `dic_district` VALUES ('320724', '灌南县', '320700', '3'); +INSERT INTO `dic_district` VALUES ('320800', '淮安市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320803', '淮安区', '320800', '3'); +INSERT INTO `dic_district` VALUES ('320804', '淮阴区', '320800', '3'); +INSERT INTO `dic_district` VALUES ('320812', '清江浦区', '320800', '3'); +INSERT INTO `dic_district` VALUES ('320813', '洪泽区', '320800', '3'); +INSERT INTO `dic_district` VALUES ('320826', '涟水县', '320800', '3'); +INSERT INTO `dic_district` VALUES ('320830', '盱眙县', '320800', '3'); +INSERT INTO `dic_district` VALUES ('320831', '金湖县', '320800', '3'); +INSERT INTO `dic_district` VALUES ('320900', '盐城市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('320902', '亭湖区', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320903', '盐都区', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320904', '大丰区', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320921', '响水县', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320922', '滨海县', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320923', '阜宁县', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320924', '射阳县', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320925', '建湖县', '320900', '3'); +INSERT INTO `dic_district` VALUES ('320981', '东台市', '320900', '3'); +INSERT INTO `dic_district` VALUES ('321000', '扬州市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('321002', '广陵区', '321000', '3'); +INSERT INTO `dic_district` VALUES ('321003', '邗江区', '321000', '3'); +INSERT INTO `dic_district` VALUES ('321012', '江都区', '321000', '3'); +INSERT INTO `dic_district` VALUES ('321023', '宝应县', '321000', '3'); +INSERT INTO `dic_district` VALUES ('321081', '仪征市', '321000', '3'); +INSERT INTO `dic_district` VALUES ('321084', '高邮市', '321000', '3'); +INSERT INTO `dic_district` VALUES ('321100', '镇江市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('321102', '京口区', '321100', '3'); +INSERT INTO `dic_district` VALUES ('321111', '润州区', '321100', '3'); +INSERT INTO `dic_district` VALUES ('321112', '丹徒区', '321100', '3'); +INSERT INTO `dic_district` VALUES ('321181', '丹阳市', '321100', '3'); +INSERT INTO `dic_district` VALUES ('321182', '扬中市', '321100', '3'); +INSERT INTO `dic_district` VALUES ('321183', '句容市', '321100', '3'); +INSERT INTO `dic_district` VALUES ('321200', '泰州市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('321202', '海陵区', '321200', '3'); +INSERT INTO `dic_district` VALUES ('321203', '高港区', '321200', '3'); +INSERT INTO `dic_district` VALUES ('321204', '姜堰区', '321200', '3'); +INSERT INTO `dic_district` VALUES ('321281', '兴化市', '321200', '3'); +INSERT INTO `dic_district` VALUES ('321282', '靖江市', '321200', '3'); +INSERT INTO `dic_district` VALUES ('321283', '泰兴市', '321200', '3'); +INSERT INTO `dic_district` VALUES ('321300', '宿迁市', '320000', '2'); +INSERT INTO `dic_district` VALUES ('321302', '宿城区', '321300', '3'); +INSERT INTO `dic_district` VALUES ('321311', '宿豫区', '321300', '3'); +INSERT INTO `dic_district` VALUES ('321322', '沭阳县', '321300', '3'); +INSERT INTO `dic_district` VALUES ('321323', '泗阳县', '321300', '3'); +INSERT INTO `dic_district` VALUES ('321324', '泗洪县', '321300', '3'); +INSERT INTO `dic_district` VALUES ('330000', '浙江省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('330100', '杭州市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330102', '上城区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330105', '拱墅区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330106', '西湖区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330108', '滨江区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330109', '萧山区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330110', '余杭区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330111', '富阳区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330112', '临安区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330113', '临平区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330114', '钱塘区', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330122', '桐庐县', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330127', '淳安县', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330182', '建德市', '330100', '3'); +INSERT INTO `dic_district` VALUES ('330200', '宁波市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330203', '海曙区', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330205', '江北区', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330206', '北仑区', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330211', '镇海区', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330212', '鄞州区', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330213', '奉化区', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330225', '象山县', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330226', '宁海县', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330281', '余姚市', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330282', '慈溪市', '330200', '3'); +INSERT INTO `dic_district` VALUES ('330300', '温州市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330302', '鹿城区', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330303', '龙湾区', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330304', '瓯海区', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330305', '洞头区', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330324', '永嘉县', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330326', '平阳县', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330327', '苍南县', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330328', '文成县', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330329', '泰顺县', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330381', '瑞安市', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330382', '乐清市', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330383', '龙港市', '330300', '3'); +INSERT INTO `dic_district` VALUES ('330400', '嘉兴市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330402', '南湖区', '330400', '3'); +INSERT INTO `dic_district` VALUES ('330411', '秀洲区', '330400', '3'); +INSERT INTO `dic_district` VALUES ('330421', '嘉善县', '330400', '3'); +INSERT INTO `dic_district` VALUES ('330424', '海盐县', '330400', '3'); +INSERT INTO `dic_district` VALUES ('330481', '海宁市', '330400', '3'); +INSERT INTO `dic_district` VALUES ('330482', '平湖市', '330400', '3'); +INSERT INTO `dic_district` VALUES ('330483', '桐乡市', '330400', '3'); +INSERT INTO `dic_district` VALUES ('330500', '湖州市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330502', '吴兴区', '330500', '3'); +INSERT INTO `dic_district` VALUES ('330503', '南浔区', '330500', '3'); +INSERT INTO `dic_district` VALUES ('330521', '德清县', '330500', '3'); +INSERT INTO `dic_district` VALUES ('330522', '长兴县', '330500', '3'); +INSERT INTO `dic_district` VALUES ('330523', '安吉县', '330500', '3'); +INSERT INTO `dic_district` VALUES ('330600', '绍兴市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330602', '越城区', '330600', '3'); +INSERT INTO `dic_district` VALUES ('330603', '柯桥区', '330600', '3'); +INSERT INTO `dic_district` VALUES ('330604', '上虞区', '330600', '3'); +INSERT INTO `dic_district` VALUES ('330624', '新昌县', '330600', '3'); +INSERT INTO `dic_district` VALUES ('330681', '诸暨市', '330600', '3'); +INSERT INTO `dic_district` VALUES ('330683', '嵊州市', '330600', '3'); +INSERT INTO `dic_district` VALUES ('330700', '金华市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330702', '婺城区', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330703', '金东区', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330723', '武义县', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330726', '浦江县', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330727', '磐安县', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330781', '兰溪市', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330782', '义乌市', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330783', '东阳市', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330784', '永康市', '330700', '3'); +INSERT INTO `dic_district` VALUES ('330800', '衢州市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330802', '柯城区', '330800', '3'); +INSERT INTO `dic_district` VALUES ('330803', '衢江区', '330800', '3'); +INSERT INTO `dic_district` VALUES ('330822', '常山县', '330800', '3'); +INSERT INTO `dic_district` VALUES ('330824', '开化县', '330800', '3'); +INSERT INTO `dic_district` VALUES ('330825', '龙游县', '330800', '3'); +INSERT INTO `dic_district` VALUES ('330881', '江山市', '330800', '3'); +INSERT INTO `dic_district` VALUES ('330900', '舟山市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('330902', '定海区', '330900', '3'); +INSERT INTO `dic_district` VALUES ('330903', '普陀区', '330900', '3'); +INSERT INTO `dic_district` VALUES ('330921', '岱山县', '330900', '3'); +INSERT INTO `dic_district` VALUES ('330922', '嵊泗县', '330900', '3'); +INSERT INTO `dic_district` VALUES ('331000', '台州市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('331002', '椒江区', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331003', '黄岩区', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331004', '路桥区', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331022', '三门县', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331023', '天台县', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331024', '仙居县', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331081', '温岭市', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331082', '临海市', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331083', '玉环市', '331000', '3'); +INSERT INTO `dic_district` VALUES ('331100', '丽水市', '330000', '2'); +INSERT INTO `dic_district` VALUES ('331102', '莲都区', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331121', '青田县', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331122', '缙云县', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331123', '遂昌县', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331124', '松阳县', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331125', '云和县', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331126', '庆元县', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331127', '景宁畲族自治县', '331100', '3'); +INSERT INTO `dic_district` VALUES ('331181', '龙泉市', '331100', '3'); +INSERT INTO `dic_district` VALUES ('340000', '安徽省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('340100', '合肥市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340102', '瑶海区', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340103', '庐阳区', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340104', '蜀山区', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340111', '包河区', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340121', '长丰县', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340122', '肥东县', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340123', '肥西县', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340124', '庐江县', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340181', '巢湖市', '340100', '3'); +INSERT INTO `dic_district` VALUES ('340200', '芜湖市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340202', '镜湖区', '340200', '3'); +INSERT INTO `dic_district` VALUES ('340207', '鸠江区', '340200', '3'); +INSERT INTO `dic_district` VALUES ('340209', '弋江区', '340200', '3'); +INSERT INTO `dic_district` VALUES ('340210', '湾沚区', '340200', '3'); +INSERT INTO `dic_district` VALUES ('340212', '繁昌区', '340200', '3'); +INSERT INTO `dic_district` VALUES ('340223', '南陵县', '340200', '3'); +INSERT INTO `dic_district` VALUES ('340281', '无为市', '340200', '3'); +INSERT INTO `dic_district` VALUES ('340300', '蚌埠市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340302', '龙子湖区', '340300', '3'); +INSERT INTO `dic_district` VALUES ('340303', '蚌山区', '340300', '3'); +INSERT INTO `dic_district` VALUES ('340304', '禹会区', '340300', '3'); +INSERT INTO `dic_district` VALUES ('340311', '淮上区', '340300', '3'); +INSERT INTO `dic_district` VALUES ('340321', '怀远县', '340300', '3'); +INSERT INTO `dic_district` VALUES ('340322', '五河县', '340300', '3'); +INSERT INTO `dic_district` VALUES ('340323', '固镇县', '340300', '3'); +INSERT INTO `dic_district` VALUES ('340400', '淮南市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340402', '大通区', '340400', '3'); +INSERT INTO `dic_district` VALUES ('340403', '田家庵区', '340400', '3'); +INSERT INTO `dic_district` VALUES ('340404', '谢家集区', '340400', '3'); +INSERT INTO `dic_district` VALUES ('340405', '八公山区', '340400', '3'); +INSERT INTO `dic_district` VALUES ('340406', '潘集区', '340400', '3'); +INSERT INTO `dic_district` VALUES ('340421', '凤台县', '340400', '3'); +INSERT INTO `dic_district` VALUES ('340422', '寿县', '340400', '3'); +INSERT INTO `dic_district` VALUES ('340500', '马鞍山市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340503', '花山区', '340500', '3'); +INSERT INTO `dic_district` VALUES ('340504', '雨山区', '340500', '3'); +INSERT INTO `dic_district` VALUES ('340506', '博望区', '340500', '3'); +INSERT INTO `dic_district` VALUES ('340521', '当涂县', '340500', '3'); +INSERT INTO `dic_district` VALUES ('340522', '含山县', '340500', '3'); +INSERT INTO `dic_district` VALUES ('340523', '和县', '340500', '3'); +INSERT INTO `dic_district` VALUES ('340600', '淮北市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340602', '杜集区', '340600', '3'); +INSERT INTO `dic_district` VALUES ('340603', '相山区', '340600', '3'); +INSERT INTO `dic_district` VALUES ('340604', '烈山区', '340600', '3'); +INSERT INTO `dic_district` VALUES ('340621', '濉溪县', '340600', '3'); +INSERT INTO `dic_district` VALUES ('340700', '铜陵市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340705', '铜官区', '340700', '3'); +INSERT INTO `dic_district` VALUES ('340706', '义安区', '340700', '3'); +INSERT INTO `dic_district` VALUES ('340711', '郊区', '340700', '3'); +INSERT INTO `dic_district` VALUES ('340722', '枞阳县', '340700', '3'); +INSERT INTO `dic_district` VALUES ('340800', '安庆市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('340802', '迎江区', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340803', '大观区', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340811', '宜秀区', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340822', '怀宁县', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340825', '太湖县', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340826', '宿松县', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340827', '望江县', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340828', '岳西县', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340881', '桐城市', '340800', '3'); +INSERT INTO `dic_district` VALUES ('340882', '潜山市', '340800', '3'); +INSERT INTO `dic_district` VALUES ('341000', '黄山市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341002', '屯溪区', '341000', '3'); +INSERT INTO `dic_district` VALUES ('341003', '黄山区', '341000', '3'); +INSERT INTO `dic_district` VALUES ('341004', '徽州区', '341000', '3'); +INSERT INTO `dic_district` VALUES ('341021', '歙县', '341000', '3'); +INSERT INTO `dic_district` VALUES ('341022', '休宁县', '341000', '3'); +INSERT INTO `dic_district` VALUES ('341023', '黟县', '341000', '3'); +INSERT INTO `dic_district` VALUES ('341024', '祁门县', '341000', '3'); +INSERT INTO `dic_district` VALUES ('341100', '滁州市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341102', '琅琊区', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341103', '南谯区', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341122', '来安县', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341124', '全椒县', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341125', '定远县', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341126', '凤阳县', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341181', '天长市', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341182', '明光市', '341100', '3'); +INSERT INTO `dic_district` VALUES ('341200', '阜阳市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341202', '颍州区', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341203', '颍东区', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341204', '颍泉区', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341221', '临泉县', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341222', '太和县', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341225', '阜南县', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341226', '颍上县', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341282', '界首市', '341200', '3'); +INSERT INTO `dic_district` VALUES ('341300', '宿州市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341302', '埇桥区', '341300', '3'); +INSERT INTO `dic_district` VALUES ('341321', '砀山县', '341300', '3'); +INSERT INTO `dic_district` VALUES ('341322', '萧县', '341300', '3'); +INSERT INTO `dic_district` VALUES ('341323', '灵璧县', '341300', '3'); +INSERT INTO `dic_district` VALUES ('341324', '泗县', '341300', '3'); +INSERT INTO `dic_district` VALUES ('341500', '六安市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341502', '金安区', '341500', '3'); +INSERT INTO `dic_district` VALUES ('341503', '裕安区', '341500', '3'); +INSERT INTO `dic_district` VALUES ('341504', '叶集区', '341500', '3'); +INSERT INTO `dic_district` VALUES ('341522', '霍邱县', '341500', '3'); +INSERT INTO `dic_district` VALUES ('341523', '舒城县', '341500', '3'); +INSERT INTO `dic_district` VALUES ('341524', '金寨县', '341500', '3'); +INSERT INTO `dic_district` VALUES ('341525', '霍山县', '341500', '3'); +INSERT INTO `dic_district` VALUES ('341600', '亳州市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341602', '谯城区', '341600', '3'); +INSERT INTO `dic_district` VALUES ('341621', '涡阳县', '341600', '3'); +INSERT INTO `dic_district` VALUES ('341622', '蒙城县', '341600', '3'); +INSERT INTO `dic_district` VALUES ('341623', '利辛县', '341600', '3'); +INSERT INTO `dic_district` VALUES ('341700', '池州市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341702', '贵池区', '341700', '3'); +INSERT INTO `dic_district` VALUES ('341721', '东至县', '341700', '3'); +INSERT INTO `dic_district` VALUES ('341722', '石台县', '341700', '3'); +INSERT INTO `dic_district` VALUES ('341723', '青阳县', '341700', '3'); +INSERT INTO `dic_district` VALUES ('341800', '宣城市', '340000', '2'); +INSERT INTO `dic_district` VALUES ('341802', '宣州区', '341800', '3'); +INSERT INTO `dic_district` VALUES ('341821', '郎溪县', '341800', '3'); +INSERT INTO `dic_district` VALUES ('341823', '泾县', '341800', '3'); +INSERT INTO `dic_district` VALUES ('341824', '绩溪县', '341800', '3'); +INSERT INTO `dic_district` VALUES ('341825', '旌德县', '341800', '3'); +INSERT INTO `dic_district` VALUES ('341881', '宁国市', '341800', '3'); +INSERT INTO `dic_district` VALUES ('341882', '广德市', '341800', '3'); +INSERT INTO `dic_district` VALUES ('350000', '福建省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('350100', '福州市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350102', '鼓楼区', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350103', '台江区', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350104', '仓山区', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350105', '马尾区', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350111', '晋安区', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350112', '长乐区', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350121', '闽侯县', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350122', '连江县', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350123', '罗源县', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350124', '闽清县', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350125', '永泰县', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350128', '平潭县', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350181', '福清市', '350100', '3'); +INSERT INTO `dic_district` VALUES ('350200', '厦门市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350203', '思明区', '350200', '3'); +INSERT INTO `dic_district` VALUES ('350205', '海沧区', '350200', '3'); +INSERT INTO `dic_district` VALUES ('350206', '湖里区', '350200', '3'); +INSERT INTO `dic_district` VALUES ('350211', '集美区', '350200', '3'); +INSERT INTO `dic_district` VALUES ('350212', '同安区', '350200', '3'); +INSERT INTO `dic_district` VALUES ('350213', '翔安区', '350200', '3'); +INSERT INTO `dic_district` VALUES ('350300', '莆田市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350302', '城厢区', '350300', '3'); +INSERT INTO `dic_district` VALUES ('350303', '涵江区', '350300', '3'); +INSERT INTO `dic_district` VALUES ('350304', '荔城区', '350300', '3'); +INSERT INTO `dic_district` VALUES ('350305', '秀屿区', '350300', '3'); +INSERT INTO `dic_district` VALUES ('350322', '仙游县', '350300', '3'); +INSERT INTO `dic_district` VALUES ('350400', '三明市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350404', '三元区', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350405', '沙县区', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350421', '明溪县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350423', '清流县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350424', '宁化县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350425', '大田县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350426', '尤溪县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350428', '将乐县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350429', '泰宁县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350430', '建宁县', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350481', '永安市', '350400', '3'); +INSERT INTO `dic_district` VALUES ('350500', '泉州市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350502', '鲤城区', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350503', '丰泽区', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350504', '洛江区', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350505', '泉港区', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350521', '惠安县', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350524', '安溪县', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350525', '永春县', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350526', '德化县', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350527', '金门县', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350581', '石狮市', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350582', '晋江市', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350583', '南安市', '350500', '3'); +INSERT INTO `dic_district` VALUES ('350600', '漳州市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350602', '芗城区', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350603', '龙文区', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350604', '龙海区', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350605', '长泰区', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350622', '云霄县', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350623', '漳浦县', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350624', '诏安县', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350626', '东山县', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350627', '南靖县', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350628', '平和县', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350629', '华安县', '350600', '3'); +INSERT INTO `dic_district` VALUES ('350700', '南平市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350702', '延平区', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350703', '建阳区', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350721', '顺昌县', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350722', '浦城县', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350723', '光泽县', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350724', '松溪县', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350725', '政和县', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350781', '邵武市', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350782', '武夷山市', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350783', '建瓯市', '350700', '3'); +INSERT INTO `dic_district` VALUES ('350800', '龙岩市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350802', '新罗区', '350800', '3'); +INSERT INTO `dic_district` VALUES ('350803', '永定区', '350800', '3'); +INSERT INTO `dic_district` VALUES ('350821', '长汀县', '350800', '3'); +INSERT INTO `dic_district` VALUES ('350823', '上杭县', '350800', '3'); +INSERT INTO `dic_district` VALUES ('350824', '武平县', '350800', '3'); +INSERT INTO `dic_district` VALUES ('350825', '连城县', '350800', '3'); +INSERT INTO `dic_district` VALUES ('350881', '漳平市', '350800', '3'); +INSERT INTO `dic_district` VALUES ('350900', '宁德市', '350000', '2'); +INSERT INTO `dic_district` VALUES ('350902', '蕉城区', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350921', '霞浦县', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350922', '古田县', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350923', '屏南县', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350924', '寿宁县', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350925', '周宁县', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350926', '柘荣县', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350981', '福安市', '350900', '3'); +INSERT INTO `dic_district` VALUES ('350982', '福鼎市', '350900', '3'); +INSERT INTO `dic_district` VALUES ('360000', '江西省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('360100', '南昌市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360102', '东湖区', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360103', '西湖区', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360104', '青云谱区', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360111', '青山湖区', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360112', '新建区', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360113', '红谷滩区', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360121', '南昌县', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360123', '安义县', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360124', '进贤县', '360100', '3'); +INSERT INTO `dic_district` VALUES ('360200', '景德镇市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360202', '昌江区', '360200', '3'); +INSERT INTO `dic_district` VALUES ('360203', '珠山区', '360200', '3'); +INSERT INTO `dic_district` VALUES ('360222', '浮梁县', '360200', '3'); +INSERT INTO `dic_district` VALUES ('360281', '乐平市', '360200', '3'); +INSERT INTO `dic_district` VALUES ('360300', '萍乡市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360302', '安源区', '360300', '3'); +INSERT INTO `dic_district` VALUES ('360313', '湘东区', '360300', '3'); +INSERT INTO `dic_district` VALUES ('360321', '莲花县', '360300', '3'); +INSERT INTO `dic_district` VALUES ('360322', '上栗县', '360300', '3'); +INSERT INTO `dic_district` VALUES ('360323', '芦溪县', '360300', '3'); +INSERT INTO `dic_district` VALUES ('360400', '九江市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360402', '濂溪区', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360403', '浔阳区', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360404', '柴桑区', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360423', '武宁县', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360424', '修水县', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360425', '永修县', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360426', '德安县', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360428', '都昌县', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360429', '湖口县', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360430', '彭泽县', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360481', '瑞昌市', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360482', '共青城市', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360483', '庐山市', '360400', '3'); +INSERT INTO `dic_district` VALUES ('360500', '新余市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360502', '渝水区', '360500', '3'); +INSERT INTO `dic_district` VALUES ('360521', '分宜县', '360500', '3'); +INSERT INTO `dic_district` VALUES ('360600', '鹰潭市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360602', '月湖区', '360600', '3'); +INSERT INTO `dic_district` VALUES ('360603', '余江区', '360600', '3'); +INSERT INTO `dic_district` VALUES ('360681', '贵溪市', '360600', '3'); +INSERT INTO `dic_district` VALUES ('360700', '赣州市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360702', '章贡区', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360703', '南康区', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360704', '赣县区', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360722', '信丰县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360723', '大余县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360724', '上犹县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360725', '崇义县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360726', '安远县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360728', '定南县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360729', '全南县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360730', '宁都县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360731', '于都县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360732', '兴国县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360733', '会昌县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360734', '寻乌县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360735', '石城县', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360781', '瑞金市', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360783', '龙南市', '360700', '3'); +INSERT INTO `dic_district` VALUES ('360800', '吉安市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360802', '吉州区', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360803', '青原区', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360821', '吉安县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360822', '吉水县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360823', '峡江县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360824', '新干县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360825', '永丰县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360826', '泰和县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360827', '遂川县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360828', '万安县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360829', '安福县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360830', '永新县', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360881', '井冈山市', '360800', '3'); +INSERT INTO `dic_district` VALUES ('360900', '宜春市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('360902', '袁州区', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360921', '奉新县', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360922', '万载县', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360923', '上高县', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360924', '宜丰县', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360925', '靖安县', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360926', '铜鼓县', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360981', '丰城市', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360982', '樟树市', '360900', '3'); +INSERT INTO `dic_district` VALUES ('360983', '高安市', '360900', '3'); +INSERT INTO `dic_district` VALUES ('361000', '抚州市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('361002', '临川区', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361003', '东乡区', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361021', '南城县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361022', '黎川县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361023', '南丰县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361024', '崇仁县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361025', '乐安县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361026', '宜黄县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361027', '金溪县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361028', '资溪县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361030', '广昌县', '361000', '3'); +INSERT INTO `dic_district` VALUES ('361100', '上饶市', '360000', '2'); +INSERT INTO `dic_district` VALUES ('361102', '信州区', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361103', '广丰区', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361104', '广信区', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361123', '玉山县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361124', '铅山县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361125', '横峰县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361126', '弋阳县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361127', '余干县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361128', '鄱阳县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361129', '万年县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361130', '婺源县', '361100', '3'); +INSERT INTO `dic_district` VALUES ('361181', '德兴市', '361100', '3'); +INSERT INTO `dic_district` VALUES ('370000', '山东省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('370100', '济南市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370102', '历下区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370103', '市中区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370104', '槐荫区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370105', '天桥区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370112', '历城区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370113', '长清区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370114', '章丘区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370115', '济阳区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370116', '莱芜区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370117', '钢城区', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370124', '平阴县', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370126', '商河县', '370100', '3'); +INSERT INTO `dic_district` VALUES ('370200', '青岛市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370202', '市南区', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370203', '市北区', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370211', '黄岛区', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370212', '崂山区', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370213', '李沧区', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370214', '城阳区', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370215', '即墨区', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370281', '胶州市', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370283', '平度市', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370285', '莱西市', '370200', '3'); +INSERT INTO `dic_district` VALUES ('370300', '淄博市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370302', '淄川区', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370303', '张店区', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370304', '博山区', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370305', '临淄区', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370306', '周村区', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370321', '桓台县', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370322', '高青县', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370323', '沂源县', '370300', '3'); +INSERT INTO `dic_district` VALUES ('370400', '枣庄市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370402', '市中区', '370400', '3'); +INSERT INTO `dic_district` VALUES ('370403', '薛城区', '370400', '3'); +INSERT INTO `dic_district` VALUES ('370404', '峄城区', '370400', '3'); +INSERT INTO `dic_district` VALUES ('370405', '台儿庄区', '370400', '3'); +INSERT INTO `dic_district` VALUES ('370406', '山亭区', '370400', '3'); +INSERT INTO `dic_district` VALUES ('370481', '滕州市', '370400', '3'); +INSERT INTO `dic_district` VALUES ('370500', '东营市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370502', '东营区', '370500', '3'); +INSERT INTO `dic_district` VALUES ('370503', '河口区', '370500', '3'); +INSERT INTO `dic_district` VALUES ('370505', '垦利区', '370500', '3'); +INSERT INTO `dic_district` VALUES ('370522', '利津县', '370500', '3'); +INSERT INTO `dic_district` VALUES ('370523', '广饶县', '370500', '3'); +INSERT INTO `dic_district` VALUES ('370600', '烟台市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370602', '芝罘区', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370611', '福山区', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370612', '牟平区', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370613', '莱山区', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370614', '蓬莱区', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370681', '龙口市', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370682', '莱阳市', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370683', '莱州市', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370685', '招远市', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370686', '栖霞市', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370687', '海阳市', '370600', '3'); +INSERT INTO `dic_district` VALUES ('370700', '潍坊市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370702', '潍城区', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370703', '寒亭区', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370704', '坊子区', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370705', '奎文区', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370724', '临朐县', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370725', '昌乐县', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370781', '青州市', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370782', '诸城市', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370783', '寿光市', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370784', '安丘市', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370785', '高密市', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370786', '昌邑市', '370700', '3'); +INSERT INTO `dic_district` VALUES ('370800', '济宁市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370811', '任城区', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370812', '兖州区', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370826', '微山县', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370827', '鱼台县', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370828', '金乡县', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370829', '嘉祥县', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370830', '汶上县', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370831', '泗水县', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370832', '梁山县', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370881', '曲阜市', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370883', '邹城市', '370800', '3'); +INSERT INTO `dic_district` VALUES ('370900', '泰安市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('370902', '泰山区', '370900', '3'); +INSERT INTO `dic_district` VALUES ('370911', '岱岳区', '370900', '3'); +INSERT INTO `dic_district` VALUES ('370921', '宁阳县', '370900', '3'); +INSERT INTO `dic_district` VALUES ('370923', '东平县', '370900', '3'); +INSERT INTO `dic_district` VALUES ('370982', '新泰市', '370900', '3'); +INSERT INTO `dic_district` VALUES ('370983', '肥城市', '370900', '3'); +INSERT INTO `dic_district` VALUES ('371000', '威海市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('371002', '环翠区', '371000', '3'); +INSERT INTO `dic_district` VALUES ('371003', '文登区', '371000', '3'); +INSERT INTO `dic_district` VALUES ('371082', '荣成市', '371000', '3'); +INSERT INTO `dic_district` VALUES ('371083', '乳山市', '371000', '3'); +INSERT INTO `dic_district` VALUES ('371100', '日照市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('371102', '东港区', '371100', '3'); +INSERT INTO `dic_district` VALUES ('371103', '岚山区', '371100', '3'); +INSERT INTO `dic_district` VALUES ('371121', '五莲县', '371100', '3'); +INSERT INTO `dic_district` VALUES ('371122', '莒县', '371100', '3'); +INSERT INTO `dic_district` VALUES ('371300', '临沂市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('371302', '兰山区', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371311', '罗庄区', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371312', '河东区', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371321', '沂南县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371322', '郯城县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371323', '沂水县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371324', '兰陵县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371325', '费县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371326', '平邑县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371327', '莒南县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371328', '蒙阴县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371329', '临沭县', '371300', '3'); +INSERT INTO `dic_district` VALUES ('371400', '德州市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('371402', '德城区', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371403', '陵城区', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371422', '宁津县', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371423', '庆云县', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371424', '临邑县', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371425', '齐河县', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371426', '平原县', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371427', '夏津县', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371428', '武城县', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371481', '乐陵市', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371482', '禹城市', '371400', '3'); +INSERT INTO `dic_district` VALUES ('371500', '聊城市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('371502', '东昌府区', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371503', '茌平区', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371521', '阳谷县', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371522', '莘县', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371524', '东阿县', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371525', '冠县', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371526', '高唐县', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371581', '临清市', '371500', '3'); +INSERT INTO `dic_district` VALUES ('371600', '滨州市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('371602', '滨城区', '371600', '3'); +INSERT INTO `dic_district` VALUES ('371603', '沾化区', '371600', '3'); +INSERT INTO `dic_district` VALUES ('371621', '惠民县', '371600', '3'); +INSERT INTO `dic_district` VALUES ('371622', '阳信县', '371600', '3'); +INSERT INTO `dic_district` VALUES ('371623', '无棣县', '371600', '3'); +INSERT INTO `dic_district` VALUES ('371625', '博兴县', '371600', '3'); +INSERT INTO `dic_district` VALUES ('371681', '邹平市', '371600', '3'); +INSERT INTO `dic_district` VALUES ('371700', '菏泽市', '370000', '2'); +INSERT INTO `dic_district` VALUES ('371702', '牡丹区', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371703', '定陶区', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371721', '曹县', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371722', '单县', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371723', '成武县', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371724', '巨野县', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371725', '郓城县', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371726', '鄄城县', '371700', '3'); +INSERT INTO `dic_district` VALUES ('371728', '东明县', '371700', '3'); +INSERT INTO `dic_district` VALUES ('410000', '河南省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('410100', '郑州市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410102', '中原区', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410103', '二七区', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410104', '管城回族区', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410105', '金水区', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410106', '上街区', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410108', '惠济区', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410122', '中牟县', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410181', '巩义市', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410182', '荥阳市', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410183', '新密市', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410184', '新郑市', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410185', '登封市', '410100', '3'); +INSERT INTO `dic_district` VALUES ('410200', '开封市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410202', '龙亭区', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410203', '顺河回族区', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410204', '鼓楼区', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410205', '禹王台区', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410212', '祥符区', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410221', '杞县', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410222', '通许县', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410223', '尉氏县', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410225', '兰考县', '410200', '3'); +INSERT INTO `dic_district` VALUES ('410300', '洛阳市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410302', '老城区', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410303', '西工区', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410304', '瀍河回族区', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410305', '涧西区', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410307', '偃师区', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410308', '孟津区', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410311', '洛龙区', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410323', '新安县', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410324', '栾川县', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410325', '嵩县', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410326', '汝阳县', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410327', '宜阳县', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410328', '洛宁县', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410329', '伊川县', '410300', '3'); +INSERT INTO `dic_district` VALUES ('410400', '平顶山市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410402', '新华区', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410403', '卫东区', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410404', '石龙区', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410411', '湛河区', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410421', '宝丰县', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410422', '叶县', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410423', '鲁山县', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410425', '郏县', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410481', '舞钢市', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410482', '汝州市', '410400', '3'); +INSERT INTO `dic_district` VALUES ('410500', '安阳市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410502', '文峰区', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410503', '北关区', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410505', '殷都区', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410506', '龙安区', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410522', '安阳县', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410523', '汤阴县', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410526', '滑县', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410527', '内黄县', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410581', '林州市', '410500', '3'); +INSERT INTO `dic_district` VALUES ('410600', '鹤壁市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410602', '鹤山区', '410600', '3'); +INSERT INTO `dic_district` VALUES ('410603', '山城区', '410600', '3'); +INSERT INTO `dic_district` VALUES ('410611', '淇滨区', '410600', '3'); +INSERT INTO `dic_district` VALUES ('410621', '浚县', '410600', '3'); +INSERT INTO `dic_district` VALUES ('410622', '淇县', '410600', '3'); +INSERT INTO `dic_district` VALUES ('410700', '新乡市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410702', '红旗区', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410703', '卫滨区', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410704', '凤泉区', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410711', '牧野区', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410721', '新乡县', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410724', '获嘉县', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410725', '原阳县', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410726', '延津县', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410727', '封丘县', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410781', '卫辉市', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410782', '辉县市', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410783', '长垣市', '410700', '3'); +INSERT INTO `dic_district` VALUES ('410800', '焦作市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410802', '解放区', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410803', '中站区', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410804', '马村区', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410811', '山阳区', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410821', '修武县', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410822', '博爱县', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410823', '武陟县', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410825', '温县', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410882', '沁阳市', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410883', '孟州市', '410800', '3'); +INSERT INTO `dic_district` VALUES ('410900', '濮阳市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('410902', '华龙区', '410900', '3'); +INSERT INTO `dic_district` VALUES ('410922', '清丰县', '410900', '3'); +INSERT INTO `dic_district` VALUES ('410923', '南乐县', '410900', '3'); +INSERT INTO `dic_district` VALUES ('410926', '范县', '410900', '3'); +INSERT INTO `dic_district` VALUES ('410927', '台前县', '410900', '3'); +INSERT INTO `dic_district` VALUES ('410928', '濮阳县', '410900', '3'); +INSERT INTO `dic_district` VALUES ('411000', '许昌市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411002', '魏都区', '411000', '3'); +INSERT INTO `dic_district` VALUES ('411003', '建安区', '411000', '3'); +INSERT INTO `dic_district` VALUES ('411024', '鄢陵县', '411000', '3'); +INSERT INTO `dic_district` VALUES ('411025', '襄城县', '411000', '3'); +INSERT INTO `dic_district` VALUES ('411081', '禹州市', '411000', '3'); +INSERT INTO `dic_district` VALUES ('411082', '长葛市', '411000', '3'); +INSERT INTO `dic_district` VALUES ('411100', '漯河市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411102', '源汇区', '411100', '3'); +INSERT INTO `dic_district` VALUES ('411103', '郾城区', '411100', '3'); +INSERT INTO `dic_district` VALUES ('411104', '召陵区', '411100', '3'); +INSERT INTO `dic_district` VALUES ('411121', '舞阳县', '411100', '3'); +INSERT INTO `dic_district` VALUES ('411122', '临颍县', '411100', '3'); +INSERT INTO `dic_district` VALUES ('411200', '三门峡市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411202', '湖滨区', '411200', '3'); +INSERT INTO `dic_district` VALUES ('411203', '陕州区', '411200', '3'); +INSERT INTO `dic_district` VALUES ('411221', '渑池县', '411200', '3'); +INSERT INTO `dic_district` VALUES ('411224', '卢氏县', '411200', '3'); +INSERT INTO `dic_district` VALUES ('411281', '义马市', '411200', '3'); +INSERT INTO `dic_district` VALUES ('411282', '灵宝市', '411200', '3'); +INSERT INTO `dic_district` VALUES ('411300', '南阳市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411302', '宛城区', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411303', '卧龙区', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411321', '南召县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411322', '方城县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411323', '西峡县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411324', '镇平县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411325', '内乡县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411326', '淅川县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411327', '社旗县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411328', '唐河县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411329', '新野县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411330', '桐柏县', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411381', '邓州市', '411300', '3'); +INSERT INTO `dic_district` VALUES ('411400', '商丘市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411402', '梁园区', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411403', '睢阳区', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411421', '民权县', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411422', '睢县', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411423', '宁陵县', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411424', '柘城县', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411425', '虞城县', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411426', '夏邑县', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411481', '永城市', '411400', '3'); +INSERT INTO `dic_district` VALUES ('411500', '信阳市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411502', '浉河区', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411503', '平桥区', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411521', '罗山县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411522', '光山县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411523', '新县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411524', '商城县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411525', '固始县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411526', '潢川县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411527', '淮滨县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411528', '息县', '411500', '3'); +INSERT INTO `dic_district` VALUES ('411600', '周口市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411602', '川汇区', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411603', '淮阳区', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411621', '扶沟县', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411622', '西华县', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411623', '商水县', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411624', '沈丘县', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411625', '郸城县', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411627', '太康县', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411628', '鹿邑县', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411681', '项城市', '411600', '3'); +INSERT INTO `dic_district` VALUES ('411700', '驻马店市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('411702', '驿城区', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411721', '西平县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411722', '上蔡县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411723', '平舆县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411724', '正阳县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411725', '确山县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411726', '泌阳县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411727', '汝南县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411728', '遂平县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('411729', '新蔡县', '411700', '3'); +INSERT INTO `dic_district` VALUES ('419001', '济源市', '410000', '2'); +INSERT INTO `dic_district` VALUES ('420000', '湖北省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('420100', '武汉市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420102', '江岸区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420103', '江汉区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420104', '硚口区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420105', '汉阳区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420106', '武昌区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420107', '青山区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420111', '洪山区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420112', '东西湖区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420113', '汉南区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420114', '蔡甸区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420115', '江夏区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420116', '黄陂区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420117', '新洲区', '420100', '3'); +INSERT INTO `dic_district` VALUES ('420200', '黄石市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420202', '黄石港区', '420200', '3'); +INSERT INTO `dic_district` VALUES ('420203', '西塞山区', '420200', '3'); +INSERT INTO `dic_district` VALUES ('420204', '下陆区', '420200', '3'); +INSERT INTO `dic_district` VALUES ('420205', '铁山区', '420200', '3'); +INSERT INTO `dic_district` VALUES ('420222', '阳新县', '420200', '3'); +INSERT INTO `dic_district` VALUES ('420281', '大冶市', '420200', '3'); +INSERT INTO `dic_district` VALUES ('420300', '十堰市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420302', '茅箭区', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420303', '张湾区', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420304', '郧阳区', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420322', '郧西县', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420323', '竹山县', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420324', '竹溪县', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420325', '房县', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420381', '丹江口市', '420300', '3'); +INSERT INTO `dic_district` VALUES ('420500', '宜昌市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420502', '西陵区', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420503', '伍家岗区', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420504', '点军区', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420505', '猇亭区', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420506', '夷陵区', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420525', '远安县', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420526', '兴山县', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420527', '秭归县', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420528', '长阳土家族自治县', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420529', '五峰土家族自治县', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420581', '宜都市', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420582', '当阳市', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420583', '枝江市', '420500', '3'); +INSERT INTO `dic_district` VALUES ('420600', '襄阳市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420602', '襄城区', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420606', '樊城区', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420607', '襄州区', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420624', '南漳县', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420625', '谷城县', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420626', '保康县', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420682', '老河口市', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420683', '枣阳市', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420684', '宜城市', '420600', '3'); +INSERT INTO `dic_district` VALUES ('420700', '鄂州市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420702', '梁子湖区', '420700', '3'); +INSERT INTO `dic_district` VALUES ('420703', '华容区', '420700', '3'); +INSERT INTO `dic_district` VALUES ('420704', '鄂城区', '420700', '3'); +INSERT INTO `dic_district` VALUES ('420800', '荆门市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420802', '东宝区', '420800', '3'); +INSERT INTO `dic_district` VALUES ('420804', '掇刀区', '420800', '3'); +INSERT INTO `dic_district` VALUES ('420822', '沙洋县', '420800', '3'); +INSERT INTO `dic_district` VALUES ('420881', '钟祥市', '420800', '3'); +INSERT INTO `dic_district` VALUES ('420882', '京山市', '420800', '3'); +INSERT INTO `dic_district` VALUES ('420900', '孝感市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('420902', '孝南区', '420900', '3'); +INSERT INTO `dic_district` VALUES ('420921', '孝昌县', '420900', '3'); +INSERT INTO `dic_district` VALUES ('420922', '大悟县', '420900', '3'); +INSERT INTO `dic_district` VALUES ('420923', '云梦县', '420900', '3'); +INSERT INTO `dic_district` VALUES ('420981', '应城市', '420900', '3'); +INSERT INTO `dic_district` VALUES ('420982', '安陆市', '420900', '3'); +INSERT INTO `dic_district` VALUES ('420984', '汉川市', '420900', '3'); +INSERT INTO `dic_district` VALUES ('421000', '荆州市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('421002', '沙市区', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421003', '荆州区', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421022', '公安县', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421024', '江陵县', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421081', '石首市', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421083', '洪湖市', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421087', '松滋市', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421088', '监利市', '421000', '3'); +INSERT INTO `dic_district` VALUES ('421100', '黄冈市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('421102', '黄州区', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421121', '团风县', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421122', '红安县', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421123', '罗田县', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421124', '英山县', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421125', '浠水县', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421126', '蕲春县', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421127', '黄梅县', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421181', '麻城市', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421182', '武穴市', '421100', '3'); +INSERT INTO `dic_district` VALUES ('421200', '咸宁市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('421202', '咸安区', '421200', '3'); +INSERT INTO `dic_district` VALUES ('421221', '嘉鱼县', '421200', '3'); +INSERT INTO `dic_district` VALUES ('421222', '通城县', '421200', '3'); +INSERT INTO `dic_district` VALUES ('421223', '崇阳县', '421200', '3'); +INSERT INTO `dic_district` VALUES ('421224', '通山县', '421200', '3'); +INSERT INTO `dic_district` VALUES ('421281', '赤壁市', '421200', '3'); +INSERT INTO `dic_district` VALUES ('421300', '随州市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('421303', '曾都区', '421300', '3'); +INSERT INTO `dic_district` VALUES ('421321', '随县', '421300', '3'); +INSERT INTO `dic_district` VALUES ('421381', '广水市', '421300', '3'); +INSERT INTO `dic_district` VALUES ('422800', '恩施土家族苗族自治州', '420000', '2'); +INSERT INTO `dic_district` VALUES ('422801', '恩施市', '422800', '3'); +INSERT INTO `dic_district` VALUES ('422802', '利川市', '422800', '3'); +INSERT INTO `dic_district` VALUES ('422822', '建始县', '422800', '3'); +INSERT INTO `dic_district` VALUES ('422823', '巴东县', '422800', '3'); +INSERT INTO `dic_district` VALUES ('422825', '宣恩县', '422800', '3'); +INSERT INTO `dic_district` VALUES ('422826', '咸丰县', '422800', '3'); +INSERT INTO `dic_district` VALUES ('422827', '来凤县', '422800', '3'); +INSERT INTO `dic_district` VALUES ('422828', '鹤峰县', '422800', '3'); +INSERT INTO `dic_district` VALUES ('429004', '仙桃市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('429005', '潜江市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('429006', '天门市', '420000', '2'); +INSERT INTO `dic_district` VALUES ('429021', '神农架林区', '420000', '2'); +INSERT INTO `dic_district` VALUES ('430000', '湖南省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('430100', '长沙市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430102', '芙蓉区', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430103', '天心区', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430104', '岳麓区', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430105', '开福区', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430111', '雨花区', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430112', '望城区', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430121', '长沙县', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430181', '浏阳市', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430182', '宁乡市', '430100', '3'); +INSERT INTO `dic_district` VALUES ('430200', '株洲市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430202', '荷塘区', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430203', '芦淞区', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430204', '石峰区', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430211', '天元区', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430212', '渌口区', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430223', '攸县', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430224', '茶陵县', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430225', '炎陵县', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430281', '醴陵市', '430200', '3'); +INSERT INTO `dic_district` VALUES ('430300', '湘潭市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430302', '雨湖区', '430300', '3'); +INSERT INTO `dic_district` VALUES ('430304', '岳塘区', '430300', '3'); +INSERT INTO `dic_district` VALUES ('430321', '湘潭县', '430300', '3'); +INSERT INTO `dic_district` VALUES ('430381', '湘乡市', '430300', '3'); +INSERT INTO `dic_district` VALUES ('430382', '韶山市', '430300', '3'); +INSERT INTO `dic_district` VALUES ('430400', '衡阳市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430405', '珠晖区', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430406', '雁峰区', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430407', '石鼓区', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430408', '蒸湘区', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430412', '南岳区', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430421', '衡阳县', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430422', '衡南县', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430423', '衡山县', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430424', '衡东县', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430426', '祁东县', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430481', '耒阳市', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430482', '常宁市', '430400', '3'); +INSERT INTO `dic_district` VALUES ('430500', '邵阳市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430502', '双清区', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430503', '大祥区', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430511', '北塔区', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430522', '新邵县', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430523', '邵阳县', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430524', '隆回县', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430525', '洞口县', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430527', '绥宁县', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430528', '新宁县', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430529', '城步苗族自治县', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430581', '武冈市', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430582', '邵东市', '430500', '3'); +INSERT INTO `dic_district` VALUES ('430600', '岳阳市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430602', '岳阳楼区', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430603', '云溪区', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430611', '君山区', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430621', '岳阳县', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430623', '华容县', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430624', '湘阴县', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430626', '平江县', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430681', '汨罗市', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430682', '临湘市', '430600', '3'); +INSERT INTO `dic_district` VALUES ('430700', '常德市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430702', '武陵区', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430703', '鼎城区', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430721', '安乡县', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430722', '汉寿县', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430723', '澧县', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430724', '临澧县', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430725', '桃源县', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430726', '石门县', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430781', '津市市', '430700', '3'); +INSERT INTO `dic_district` VALUES ('430800', '张家界市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430802', '永定区', '430800', '3'); +INSERT INTO `dic_district` VALUES ('430811', '武陵源区', '430800', '3'); +INSERT INTO `dic_district` VALUES ('430821', '慈利县', '430800', '3'); +INSERT INTO `dic_district` VALUES ('430822', '桑植县', '430800', '3'); +INSERT INTO `dic_district` VALUES ('430900', '益阳市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('430902', '资阳区', '430900', '3'); +INSERT INTO `dic_district` VALUES ('430903', '赫山区', '430900', '3'); +INSERT INTO `dic_district` VALUES ('430921', '南县', '430900', '3'); +INSERT INTO `dic_district` VALUES ('430922', '桃江县', '430900', '3'); +INSERT INTO `dic_district` VALUES ('430923', '安化县', '430900', '3'); +INSERT INTO `dic_district` VALUES ('430981', '沅江市', '430900', '3'); +INSERT INTO `dic_district` VALUES ('431000', '郴州市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('431002', '北湖区', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431003', '苏仙区', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431021', '桂阳县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431022', '宜章县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431023', '永兴县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431024', '嘉禾县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431025', '临武县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431026', '汝城县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431027', '桂东县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431028', '安仁县', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431081', '资兴市', '431000', '3'); +INSERT INTO `dic_district` VALUES ('431100', '永州市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('431102', '零陵区', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431103', '冷水滩区', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431122', '东安县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431123', '双牌县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431124', '道县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431125', '江永县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431126', '宁远县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431127', '蓝山县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431128', '新田县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431129', '江华瑶族自治县', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431181', '祁阳市', '431100', '3'); +INSERT INTO `dic_district` VALUES ('431200', '怀化市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('431202', '鹤城区', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431221', '中方县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431222', '沅陵县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431223', '辰溪县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431224', '溆浦县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431225', '会同县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431226', '麻阳苗族自治县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431227', '新晃侗族自治县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431228', '芷江侗族自治县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431229', '靖州苗族侗族自治县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431230', '通道侗族自治县', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431281', '洪江市', '431200', '3'); +INSERT INTO `dic_district` VALUES ('431300', '娄底市', '430000', '2'); +INSERT INTO `dic_district` VALUES ('431302', '娄星区', '431300', '3'); +INSERT INTO `dic_district` VALUES ('431321', '双峰县', '431300', '3'); +INSERT INTO `dic_district` VALUES ('431322', '新化县', '431300', '3'); +INSERT INTO `dic_district` VALUES ('431381', '冷水江市', '431300', '3'); +INSERT INTO `dic_district` VALUES ('431382', '涟源市', '431300', '3'); +INSERT INTO `dic_district` VALUES ('433100', '湘西土家族苗族自治州', '430000', '2'); +INSERT INTO `dic_district` VALUES ('433101', '吉首市', '433100', '3'); +INSERT INTO `dic_district` VALUES ('433122', '泸溪县', '433100', '3'); +INSERT INTO `dic_district` VALUES ('433123', '凤凰县', '433100', '3'); +INSERT INTO `dic_district` VALUES ('433124', '花垣县', '433100', '3'); +INSERT INTO `dic_district` VALUES ('433125', '保靖县', '433100', '3'); +INSERT INTO `dic_district` VALUES ('433126', '古丈县', '433100', '3'); +INSERT INTO `dic_district` VALUES ('433127', '永顺县', '433100', '3'); +INSERT INTO `dic_district` VALUES ('433130', '龙山县', '433100', '3'); +INSERT INTO `dic_district` VALUES ('440000', '广东省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('440100', '广州市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440103', '荔湾区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440104', '越秀区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440105', '海珠区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440106', '天河区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440111', '白云区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440112', '黄埔区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440113', '番禺区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440114', '花都区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440115', '南沙区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440117', '从化区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440118', '增城区', '440100', '3'); +INSERT INTO `dic_district` VALUES ('440200', '韶关市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440203', '武江区', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440204', '浈江区', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440205', '曲江区', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440222', '始兴县', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440224', '仁化县', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440229', '翁源县', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440232', '乳源瑶族自治县', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440233', '新丰县', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440281', '乐昌市', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440282', '南雄市', '440200', '3'); +INSERT INTO `dic_district` VALUES ('440300', '深圳市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440303', '罗湖区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440304', '福田区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440305', '南山区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440306', '宝安区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440307', '龙岗区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440308', '盐田区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440309', '龙华区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440310', '坪山区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440311', '光明区', '440300', '3'); +INSERT INTO `dic_district` VALUES ('440400', '珠海市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440402', '香洲区', '440400', '3'); +INSERT INTO `dic_district` VALUES ('440403', '斗门区', '440400', '3'); +INSERT INTO `dic_district` VALUES ('440404', '金湾区', '440400', '3'); +INSERT INTO `dic_district` VALUES ('440500', '汕头市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440507', '龙湖区', '440500', '3'); +INSERT INTO `dic_district` VALUES ('440511', '金平区', '440500', '3'); +INSERT INTO `dic_district` VALUES ('440512', '濠江区', '440500', '3'); +INSERT INTO `dic_district` VALUES ('440513', '潮阳区', '440500', '3'); +INSERT INTO `dic_district` VALUES ('440514', '潮南区', '440500', '3'); +INSERT INTO `dic_district` VALUES ('440515', '澄海区', '440500', '3'); +INSERT INTO `dic_district` VALUES ('440523', '南澳县', '440500', '3'); +INSERT INTO `dic_district` VALUES ('440600', '佛山市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440604', '禅城区', '440600', '3'); +INSERT INTO `dic_district` VALUES ('440605', '南海区', '440600', '3'); +INSERT INTO `dic_district` VALUES ('440606', '顺德区', '440600', '3'); +INSERT INTO `dic_district` VALUES ('440607', '三水区', '440600', '3'); +INSERT INTO `dic_district` VALUES ('440608', '高明区', '440600', '3'); +INSERT INTO `dic_district` VALUES ('440700', '江门市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440703', '蓬江区', '440700', '3'); +INSERT INTO `dic_district` VALUES ('440704', '江海区', '440700', '3'); +INSERT INTO `dic_district` VALUES ('440705', '新会区', '440700', '3'); +INSERT INTO `dic_district` VALUES ('440781', '台山市', '440700', '3'); +INSERT INTO `dic_district` VALUES ('440783', '开平市', '440700', '3'); +INSERT INTO `dic_district` VALUES ('440784', '鹤山市', '440700', '3'); +INSERT INTO `dic_district` VALUES ('440785', '恩平市', '440700', '3'); +INSERT INTO `dic_district` VALUES ('440800', '湛江市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440802', '赤坎区', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440803', '霞山区', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440804', '坡头区', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440811', '麻章区', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440823', '遂溪县', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440825', '徐闻县', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440881', '廉江市', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440882', '雷州市', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440883', '吴川市', '440800', '3'); +INSERT INTO `dic_district` VALUES ('440900', '茂名市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('440902', '茂南区', '440900', '3'); +INSERT INTO `dic_district` VALUES ('440904', '电白区', '440900', '3'); +INSERT INTO `dic_district` VALUES ('440981', '高州市', '440900', '3'); +INSERT INTO `dic_district` VALUES ('440982', '化州市', '440900', '3'); +INSERT INTO `dic_district` VALUES ('440983', '信宜市', '440900', '3'); +INSERT INTO `dic_district` VALUES ('441200', '肇庆市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('441202', '端州区', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441203', '鼎湖区', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441204', '高要区', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441223', '广宁县', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441224', '怀集县', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441225', '封开县', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441226', '德庆县', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441284', '四会市', '441200', '3'); +INSERT INTO `dic_district` VALUES ('441300', '惠州市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('441302', '惠城区', '441300', '3'); +INSERT INTO `dic_district` VALUES ('441303', '惠阳区', '441300', '3'); +INSERT INTO `dic_district` VALUES ('441322', '博罗县', '441300', '3'); +INSERT INTO `dic_district` VALUES ('441323', '惠东县', '441300', '3'); +INSERT INTO `dic_district` VALUES ('441324', '龙门县', '441300', '3'); +INSERT INTO `dic_district` VALUES ('441400', '梅州市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('441402', '梅江区', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441403', '梅县区', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441422', '大埔县', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441423', '丰顺县', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441424', '五华县', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441426', '平远县', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441427', '蕉岭县', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441481', '兴宁市', '441400', '3'); +INSERT INTO `dic_district` VALUES ('441500', '汕尾市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('441502', '城区', '441500', '3'); +INSERT INTO `dic_district` VALUES ('441521', '海丰县', '441500', '3'); +INSERT INTO `dic_district` VALUES ('441523', '陆河县', '441500', '3'); +INSERT INTO `dic_district` VALUES ('441581', '陆丰市', '441500', '3'); +INSERT INTO `dic_district` VALUES ('441600', '河源市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('441602', '源城区', '441600', '3'); +INSERT INTO `dic_district` VALUES ('441621', '紫金县', '441600', '3'); +INSERT INTO `dic_district` VALUES ('441622', '龙川县', '441600', '3'); +INSERT INTO `dic_district` VALUES ('441623', '连平县', '441600', '3'); +INSERT INTO `dic_district` VALUES ('441624', '和平县', '441600', '3'); +INSERT INTO `dic_district` VALUES ('441625', '东源县', '441600', '3'); +INSERT INTO `dic_district` VALUES ('441700', '阳江市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('441702', '江城区', '441700', '3'); +INSERT INTO `dic_district` VALUES ('441704', '阳东区', '441700', '3'); +INSERT INTO `dic_district` VALUES ('441721', '阳西县', '441700', '3'); +INSERT INTO `dic_district` VALUES ('441781', '阳春市', '441700', '3'); +INSERT INTO `dic_district` VALUES ('441800', '清远市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('441802', '清城区', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441803', '清新区', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441821', '佛冈县', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441823', '阳山县', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441825', '连山壮族瑶族自治县', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441826', '连南瑶族自治县', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441881', '英德市', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441882', '连州市', '441800', '3'); +INSERT INTO `dic_district` VALUES ('441900', '东莞市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('442000', '中山市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('445100', '潮州市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('445102', '湘桥区', '445100', '3'); +INSERT INTO `dic_district` VALUES ('445103', '潮安区', '445100', '3'); +INSERT INTO `dic_district` VALUES ('445122', '饶平县', '445100', '3'); +INSERT INTO `dic_district` VALUES ('445200', '揭阳市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('445202', '榕城区', '445200', '3'); +INSERT INTO `dic_district` VALUES ('445203', '揭东区', '445200', '3'); +INSERT INTO `dic_district` VALUES ('445222', '揭西县', '445200', '3'); +INSERT INTO `dic_district` VALUES ('445224', '惠来县', '445200', '3'); +INSERT INTO `dic_district` VALUES ('445281', '普宁市', '445200', '3'); +INSERT INTO `dic_district` VALUES ('445300', '云浮市', '440000', '2'); +INSERT INTO `dic_district` VALUES ('445302', '云城区', '445300', '3'); +INSERT INTO `dic_district` VALUES ('445303', '云安区', '445300', '3'); +INSERT INTO `dic_district` VALUES ('445321', '新兴县', '445300', '3'); +INSERT INTO `dic_district` VALUES ('445322', '郁南县', '445300', '3'); +INSERT INTO `dic_district` VALUES ('445381', '罗定市', '445300', '3'); +INSERT INTO `dic_district` VALUES ('450000', '广西壮族自治区', '100000', '1'); +INSERT INTO `dic_district` VALUES ('450100', '南宁市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450102', '兴宁区', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450103', '青秀区', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450105', '江南区', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450107', '西乡塘区', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450108', '良庆区', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450109', '邕宁区', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450110', '武鸣区', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450123', '隆安县', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450124', '马山县', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450125', '上林县', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450126', '宾阳县', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450181', '横州市', '450100', '3'); +INSERT INTO `dic_district` VALUES ('450200', '柳州市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450202', '城中区', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450203', '鱼峰区', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450204', '柳南区', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450205', '柳北区', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450206', '柳江区', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450222', '柳城县', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450223', '鹿寨县', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450224', '融安县', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450225', '融水苗族自治县', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450226', '三江侗族自治县', '450200', '3'); +INSERT INTO `dic_district` VALUES ('450300', '桂林市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450302', '秀峰区', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450303', '叠彩区', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450304', '象山区', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450305', '七星区', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450311', '雁山区', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450312', '临桂区', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450321', '阳朔县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450323', '灵川县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450324', '全州县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450325', '兴安县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450326', '永福县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450327', '灌阳县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450328', '龙胜各族自治县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450329', '资源县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450330', '平乐县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450332', '恭城瑶族自治县', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450381', '荔浦市', '450300', '3'); +INSERT INTO `dic_district` VALUES ('450400', '梧州市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450403', '万秀区', '450400', '3'); +INSERT INTO `dic_district` VALUES ('450405', '长洲区', '450400', '3'); +INSERT INTO `dic_district` VALUES ('450406', '龙圩区', '450400', '3'); +INSERT INTO `dic_district` VALUES ('450421', '苍梧县', '450400', '3'); +INSERT INTO `dic_district` VALUES ('450422', '藤县', '450400', '3'); +INSERT INTO `dic_district` VALUES ('450423', '蒙山县', '450400', '3'); +INSERT INTO `dic_district` VALUES ('450481', '岑溪市', '450400', '3'); +INSERT INTO `dic_district` VALUES ('450500', '北海市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450502', '海城区', '450500', '3'); +INSERT INTO `dic_district` VALUES ('450503', '银海区', '450500', '3'); +INSERT INTO `dic_district` VALUES ('450512', '铁山港区', '450500', '3'); +INSERT INTO `dic_district` VALUES ('450521', '合浦县', '450500', '3'); +INSERT INTO `dic_district` VALUES ('450600', '防城港市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450602', '港口区', '450600', '3'); +INSERT INTO `dic_district` VALUES ('450603', '防城区', '450600', '3'); +INSERT INTO `dic_district` VALUES ('450621', '上思县', '450600', '3'); +INSERT INTO `dic_district` VALUES ('450681', '东兴市', '450600', '3'); +INSERT INTO `dic_district` VALUES ('450700', '钦州市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450702', '钦南区', '450700', '3'); +INSERT INTO `dic_district` VALUES ('450703', '钦北区', '450700', '3'); +INSERT INTO `dic_district` VALUES ('450721', '灵山县', '450700', '3'); +INSERT INTO `dic_district` VALUES ('450722', '浦北县', '450700', '3'); +INSERT INTO `dic_district` VALUES ('450800', '贵港市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450802', '港北区', '450800', '3'); +INSERT INTO `dic_district` VALUES ('450803', '港南区', '450800', '3'); +INSERT INTO `dic_district` VALUES ('450804', '覃塘区', '450800', '3'); +INSERT INTO `dic_district` VALUES ('450821', '平南县', '450800', '3'); +INSERT INTO `dic_district` VALUES ('450881', '桂平市', '450800', '3'); +INSERT INTO `dic_district` VALUES ('450900', '玉林市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('450902', '玉州区', '450900', '3'); +INSERT INTO `dic_district` VALUES ('450903', '福绵区', '450900', '3'); +INSERT INTO `dic_district` VALUES ('450921', '容县', '450900', '3'); +INSERT INTO `dic_district` VALUES ('450922', '陆川县', '450900', '3'); +INSERT INTO `dic_district` VALUES ('450923', '博白县', '450900', '3'); +INSERT INTO `dic_district` VALUES ('450924', '兴业县', '450900', '3'); +INSERT INTO `dic_district` VALUES ('450981', '北流市', '450900', '3'); +INSERT INTO `dic_district` VALUES ('451000', '百色市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('451002', '右江区', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451003', '田阳区', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451022', '田东县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451024', '德保县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451026', '那坡县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451027', '凌云县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451028', '乐业县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451029', '田林县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451030', '西林县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451031', '隆林各族自治县', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451081', '靖西市', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451082', '平果市', '451000', '3'); +INSERT INTO `dic_district` VALUES ('451100', '贺州市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('451102', '八步区', '451100', '3'); +INSERT INTO `dic_district` VALUES ('451103', '平桂区', '451100', '3'); +INSERT INTO `dic_district` VALUES ('451121', '昭平县', '451100', '3'); +INSERT INTO `dic_district` VALUES ('451122', '钟山县', '451100', '3'); +INSERT INTO `dic_district` VALUES ('451123', '富川瑶族自治县', '451100', '3'); +INSERT INTO `dic_district` VALUES ('451200', '河池市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('451202', '金城江区', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451203', '宜州区', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451221', '南丹县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451222', '天峨县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451223', '凤山县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451224', '东兰县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451225', '罗城仫佬族自治县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451226', '环江毛南族自治县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451227', '巴马瑶族自治县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451228', '都安瑶族自治县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451229', '大化瑶族自治县', '451200', '3'); +INSERT INTO `dic_district` VALUES ('451300', '来宾市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('451302', '兴宾区', '451300', '3'); +INSERT INTO `dic_district` VALUES ('451321', '忻城县', '451300', '3'); +INSERT INTO `dic_district` VALUES ('451322', '象州县', '451300', '3'); +INSERT INTO `dic_district` VALUES ('451323', '武宣县', '451300', '3'); +INSERT INTO `dic_district` VALUES ('451324', '金秀瑶族自治县', '451300', '3'); +INSERT INTO `dic_district` VALUES ('451381', '合山市', '451300', '3'); +INSERT INTO `dic_district` VALUES ('451400', '崇左市', '450000', '2'); +INSERT INTO `dic_district` VALUES ('451402', '江州区', '451400', '3'); +INSERT INTO `dic_district` VALUES ('451421', '扶绥县', '451400', '3'); +INSERT INTO `dic_district` VALUES ('451422', '宁明县', '451400', '3'); +INSERT INTO `dic_district` VALUES ('451423', '龙州县', '451400', '3'); +INSERT INTO `dic_district` VALUES ('451424', '大新县', '451400', '3'); +INSERT INTO `dic_district` VALUES ('451425', '天等县', '451400', '3'); +INSERT INTO `dic_district` VALUES ('451481', '凭祥市', '451400', '3'); +INSERT INTO `dic_district` VALUES ('460000', '海南省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('460100', '海口市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('460105', '秀英区', '460100', '3'); +INSERT INTO `dic_district` VALUES ('460106', '龙华区', '460100', '3'); +INSERT INTO `dic_district` VALUES ('460107', '琼山区', '460100', '3'); +INSERT INTO `dic_district` VALUES ('460108', '美兰区', '460100', '3'); +INSERT INTO `dic_district` VALUES ('460200', '三亚市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('460202', '海棠区', '460200', '3'); +INSERT INTO `dic_district` VALUES ('460203', '吉阳区', '460200', '3'); +INSERT INTO `dic_district` VALUES ('460204', '天涯区', '460200', '3'); +INSERT INTO `dic_district` VALUES ('460205', '崖州区', '460200', '3'); +INSERT INTO `dic_district` VALUES ('460300', '三沙市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('460301', '西沙区', '460300', '3'); +INSERT INTO `dic_district` VALUES ('460302', '南沙区', '460300', '3'); +INSERT INTO `dic_district` VALUES ('460400', '儋州市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469001', '五指山市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469002', '琼海市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469005', '文昌市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469006', '万宁市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469007', '东方市', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469021', '定安县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469022', '屯昌县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469023', '澄迈县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469024', '临高县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469025', '白沙黎族自治县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469026', '昌江黎族自治县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469027', '乐东黎族自治县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469028', '陵水黎族自治县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469029', '保亭黎族苗族自治县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('469030', '琼中黎族苗族自治县', '460000', '2'); +INSERT INTO `dic_district` VALUES ('500000', '重庆市', '100000', '1'); +INSERT INTO `dic_district` VALUES ('500100', '重庆城区', '500000', '2'); +INSERT INTO `dic_district` VALUES ('500101', '万州区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500102', '涪陵区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500103', '渝中区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500104', '大渡口区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500105', '江北区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500106', '沙坪坝区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500107', '九龙坡区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500108', '南岸区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500109', '北碚区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500110', '綦江区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500111', '大足区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500112', '渝北区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500113', '巴南区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500114', '黔江区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500115', '长寿区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500116', '江津区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500117', '合川区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500118', '永川区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500119', '南川区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500120', '璧山区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500151', '铜梁区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500152', '潼南区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500153', '荣昌区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500154', '开州区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500155', '梁平区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500156', '武隆区', '500100', '3'); +INSERT INTO `dic_district` VALUES ('500200', '重庆郊县', '500000', '2'); +INSERT INTO `dic_district` VALUES ('500229', '城口县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500230', '丰都县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500231', '垫江县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500233', '忠县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500235', '云阳县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500236', '奉节县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500237', '巫山县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500238', '巫溪县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500240', '石柱土家族自治县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500241', '秀山土家族苗族自治县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500242', '酉阳土家族苗族自治县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('500243', '彭水苗族土家族自治县', '500200', '3'); +INSERT INTO `dic_district` VALUES ('510000', '四川省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('510100', '成都市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510104', '锦江区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510105', '青羊区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510106', '金牛区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510107', '武侯区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510108', '成华区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510112', '龙泉驿区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510113', '青白江区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510114', '新都区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510115', '温江区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510116', '双流区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510117', '郫都区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510118', '新津区', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510121', '金堂县', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510129', '大邑县', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510131', '蒲江县', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510181', '都江堰市', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510182', '彭州市', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510183', '邛崃市', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510184', '崇州市', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510185', '简阳市', '510100', '3'); +INSERT INTO `dic_district` VALUES ('510300', '自贡市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510302', '自流井区', '510300', '3'); +INSERT INTO `dic_district` VALUES ('510303', '贡井区', '510300', '3'); +INSERT INTO `dic_district` VALUES ('510304', '大安区', '510300', '3'); +INSERT INTO `dic_district` VALUES ('510311', '沿滩区', '510300', '3'); +INSERT INTO `dic_district` VALUES ('510321', '荣县', '510300', '3'); +INSERT INTO `dic_district` VALUES ('510322', '富顺县', '510300', '3'); +INSERT INTO `dic_district` VALUES ('510400', '攀枝花市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510402', '东区', '510400', '3'); +INSERT INTO `dic_district` VALUES ('510403', '西区', '510400', '3'); +INSERT INTO `dic_district` VALUES ('510411', '仁和区', '510400', '3'); +INSERT INTO `dic_district` VALUES ('510421', '米易县', '510400', '3'); +INSERT INTO `dic_district` VALUES ('510422', '盐边县', '510400', '3'); +INSERT INTO `dic_district` VALUES ('510500', '泸州市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510502', '江阳区', '510500', '3'); +INSERT INTO `dic_district` VALUES ('510503', '纳溪区', '510500', '3'); +INSERT INTO `dic_district` VALUES ('510504', '龙马潭区', '510500', '3'); +INSERT INTO `dic_district` VALUES ('510521', '泸县', '510500', '3'); +INSERT INTO `dic_district` VALUES ('510522', '合江县', '510500', '3'); +INSERT INTO `dic_district` VALUES ('510524', '叙永县', '510500', '3'); +INSERT INTO `dic_district` VALUES ('510525', '古蔺县', '510500', '3'); +INSERT INTO `dic_district` VALUES ('510600', '德阳市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510603', '旌阳区', '510600', '3'); +INSERT INTO `dic_district` VALUES ('510604', '罗江区', '510600', '3'); +INSERT INTO `dic_district` VALUES ('510623', '中江县', '510600', '3'); +INSERT INTO `dic_district` VALUES ('510681', '广汉市', '510600', '3'); +INSERT INTO `dic_district` VALUES ('510682', '什邡市', '510600', '3'); +INSERT INTO `dic_district` VALUES ('510683', '绵竹市', '510600', '3'); +INSERT INTO `dic_district` VALUES ('510700', '绵阳市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510703', '涪城区', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510704', '游仙区', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510705', '安州区', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510722', '三台县', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510723', '盐亭县', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510725', '梓潼县', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510726', '北川羌族自治县', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510727', '平武县', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510781', '江油市', '510700', '3'); +INSERT INTO `dic_district` VALUES ('510800', '广元市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510802', '利州区', '510800', '3'); +INSERT INTO `dic_district` VALUES ('510811', '昭化区', '510800', '3'); +INSERT INTO `dic_district` VALUES ('510812', '朝天区', '510800', '3'); +INSERT INTO `dic_district` VALUES ('510821', '旺苍县', '510800', '3'); +INSERT INTO `dic_district` VALUES ('510822', '青川县', '510800', '3'); +INSERT INTO `dic_district` VALUES ('510823', '剑阁县', '510800', '3'); +INSERT INTO `dic_district` VALUES ('510824', '苍溪县', '510800', '3'); +INSERT INTO `dic_district` VALUES ('510900', '遂宁市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('510903', '船山区', '510900', '3'); +INSERT INTO `dic_district` VALUES ('510904', '安居区', '510900', '3'); +INSERT INTO `dic_district` VALUES ('510921', '蓬溪县', '510900', '3'); +INSERT INTO `dic_district` VALUES ('510923', '大英县', '510900', '3'); +INSERT INTO `dic_district` VALUES ('510981', '射洪市', '510900', '3'); +INSERT INTO `dic_district` VALUES ('511000', '内江市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511002', '市中区', '511000', '3'); +INSERT INTO `dic_district` VALUES ('511011', '东兴区', '511000', '3'); +INSERT INTO `dic_district` VALUES ('511024', '威远县', '511000', '3'); +INSERT INTO `dic_district` VALUES ('511025', '资中县', '511000', '3'); +INSERT INTO `dic_district` VALUES ('511083', '隆昌市', '511000', '3'); +INSERT INTO `dic_district` VALUES ('511100', '乐山市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511102', '市中区', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511111', '沙湾区', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511112', '五通桥区', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511113', '金口河区', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511123', '犍为县', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511124', '井研县', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511126', '夹江县', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511129', '沐川县', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511132', '峨边彝族自治县', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511133', '马边彝族自治县', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511181', '峨眉山市', '511100', '3'); +INSERT INTO `dic_district` VALUES ('511300', '南充市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511302', '顺庆区', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511303', '高坪区', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511304', '嘉陵区', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511321', '南部县', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511322', '营山县', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511323', '蓬安县', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511324', '仪陇县', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511325', '西充县', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511381', '阆中市', '511300', '3'); +INSERT INTO `dic_district` VALUES ('511400', '眉山市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511402', '东坡区', '511400', '3'); +INSERT INTO `dic_district` VALUES ('511403', '彭山区', '511400', '3'); +INSERT INTO `dic_district` VALUES ('511421', '仁寿县', '511400', '3'); +INSERT INTO `dic_district` VALUES ('511423', '洪雅县', '511400', '3'); +INSERT INTO `dic_district` VALUES ('511424', '丹棱县', '511400', '3'); +INSERT INTO `dic_district` VALUES ('511425', '青神县', '511400', '3'); +INSERT INTO `dic_district` VALUES ('511500', '宜宾市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511502', '翠屏区', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511503', '南溪区', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511504', '叙州区', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511523', '江安县', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511524', '长宁县', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511525', '高县', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511526', '珙县', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511527', '筠连县', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511528', '兴文县', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511529', '屏山县', '511500', '3'); +INSERT INTO `dic_district` VALUES ('511600', '广安市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511602', '广安区', '511600', '3'); +INSERT INTO `dic_district` VALUES ('511603', '前锋区', '511600', '3'); +INSERT INTO `dic_district` VALUES ('511621', '岳池县', '511600', '3'); +INSERT INTO `dic_district` VALUES ('511622', '武胜县', '511600', '3'); +INSERT INTO `dic_district` VALUES ('511623', '邻水县', '511600', '3'); +INSERT INTO `dic_district` VALUES ('511681', '华蓥市', '511600', '3'); +INSERT INTO `dic_district` VALUES ('511700', '达州市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511702', '通川区', '511700', '3'); +INSERT INTO `dic_district` VALUES ('511703', '达川区', '511700', '3'); +INSERT INTO `dic_district` VALUES ('511722', '宣汉县', '511700', '3'); +INSERT INTO `dic_district` VALUES ('511723', '开江县', '511700', '3'); +INSERT INTO `dic_district` VALUES ('511724', '大竹县', '511700', '3'); +INSERT INTO `dic_district` VALUES ('511725', '渠县', '511700', '3'); +INSERT INTO `dic_district` VALUES ('511781', '万源市', '511700', '3'); +INSERT INTO `dic_district` VALUES ('511800', '雅安市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511802', '雨城区', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511803', '名山区', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511822', '荥经县', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511823', '汉源县', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511824', '石棉县', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511825', '天全县', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511826', '芦山县', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511827', '宝兴县', '511800', '3'); +INSERT INTO `dic_district` VALUES ('511900', '巴中市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('511902', '巴州区', '511900', '3'); +INSERT INTO `dic_district` VALUES ('511903', '恩阳区', '511900', '3'); +INSERT INTO `dic_district` VALUES ('511921', '通江县', '511900', '3'); +INSERT INTO `dic_district` VALUES ('511922', '南江县', '511900', '3'); +INSERT INTO `dic_district` VALUES ('511923', '平昌县', '511900', '3'); +INSERT INTO `dic_district` VALUES ('512000', '资阳市', '510000', '2'); +INSERT INTO `dic_district` VALUES ('512002', '雁江区', '512000', '3'); +INSERT INTO `dic_district` VALUES ('512021', '安岳县', '512000', '3'); +INSERT INTO `dic_district` VALUES ('512022', '乐至县', '512000', '3'); +INSERT INTO `dic_district` VALUES ('513200', '阿坝藏族羌族自治州', '510000', '2'); +INSERT INTO `dic_district` VALUES ('513201', '马尔康市', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513221', '汶川县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513222', '理县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513223', '茂县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513224', '松潘县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513225', '九寨沟县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513226', '金川县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513227', '小金县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513228', '黑水县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513230', '壤塘县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513231', '阿坝县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513232', '若尔盖县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513233', '红原县', '513200', '3'); +INSERT INTO `dic_district` VALUES ('513300', '甘孜藏族自治州', '510000', '2'); +INSERT INTO `dic_district` VALUES ('513301', '康定市', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513322', '泸定县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513323', '丹巴县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513324', '九龙县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513325', '雅江县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513326', '道孚县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513327', '炉霍县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513328', '甘孜县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513329', '新龙县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513330', '德格县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513331', '白玉县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513332', '石渠县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513333', '色达县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513334', '理塘县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513335', '巴塘县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513336', '乡城县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513337', '稻城县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513338', '得荣县', '513300', '3'); +INSERT INTO `dic_district` VALUES ('513400', '凉山彝族自治州', '510000', '2'); +INSERT INTO `dic_district` VALUES ('513401', '西昌市', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513402', '会理市', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513422', '木里藏族自治县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513423', '盐源县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513424', '德昌县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513426', '会东县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513427', '宁南县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513428', '普格县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513429', '布拖县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513430', '金阳县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513431', '昭觉县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513432', '喜德县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513433', '冕宁县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513434', '越西县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513435', '甘洛县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513436', '美姑县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('513437', '雷波县', '513400', '3'); +INSERT INTO `dic_district` VALUES ('520000', '贵州省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('520100', '贵阳市', '520000', '2'); +INSERT INTO `dic_district` VALUES ('520102', '南明区', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520103', '云岩区', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520111', '花溪区', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520112', '乌当区', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520113', '白云区', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520115', '观山湖区', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520121', '开阳县', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520122', '息烽县', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520123', '修文县', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520181', '清镇市', '520100', '3'); +INSERT INTO `dic_district` VALUES ('520200', '六盘水市', '520000', '2'); +INSERT INTO `dic_district` VALUES ('520201', '钟山区', '520200', '3'); +INSERT INTO `dic_district` VALUES ('520203', '六枝特区', '520200', '3'); +INSERT INTO `dic_district` VALUES ('520204', '水城区', '520200', '3'); +INSERT INTO `dic_district` VALUES ('520281', '盘州市', '520200', '3'); +INSERT INTO `dic_district` VALUES ('520300', '遵义市', '520000', '2'); +INSERT INTO `dic_district` VALUES ('520302', '红花岗区', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520303', '汇川区', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520304', '播州区', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520322', '桐梓县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520323', '绥阳县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520324', '正安县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520325', '道真仡佬族苗族自治县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520326', '务川仡佬族苗族自治县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520327', '凤冈县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520328', '湄潭县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520329', '余庆县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520330', '习水县', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520381', '赤水市', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520382', '仁怀市', '520300', '3'); +INSERT INTO `dic_district` VALUES ('520400', '安顺市', '520000', '2'); +INSERT INTO `dic_district` VALUES ('520402', '西秀区', '520400', '3'); +INSERT INTO `dic_district` VALUES ('520403', '平坝区', '520400', '3'); +INSERT INTO `dic_district` VALUES ('520422', '普定县', '520400', '3'); +INSERT INTO `dic_district` VALUES ('520423', '镇宁布依族苗族自治县', '520400', '3'); +INSERT INTO `dic_district` VALUES ('520424', '关岭布依族苗族自治县', '520400', '3'); +INSERT INTO `dic_district` VALUES ('520425', '紫云苗族布依族自治县', '520400', '3'); +INSERT INTO `dic_district` VALUES ('520500', '毕节市', '520000', '2'); +INSERT INTO `dic_district` VALUES ('520502', '七星关区', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520521', '大方县', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520523', '金沙县', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520524', '织金县', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520525', '纳雍县', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520526', '威宁彝族回族苗族自治县', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520527', '赫章县', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520581', '黔西市', '520500', '3'); +INSERT INTO `dic_district` VALUES ('520600', '铜仁市', '520000', '2'); +INSERT INTO `dic_district` VALUES ('520602', '碧江区', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520603', '万山区', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520621', '江口县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520622', '玉屏侗族自治县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520623', '石阡县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520624', '思南县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520625', '印江土家族苗族自治县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520626', '德江县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520627', '沿河土家族自治县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('520628', '松桃苗族自治县', '520600', '3'); +INSERT INTO `dic_district` VALUES ('522300', '黔西南布依族苗族自治州', '520000', '2'); +INSERT INTO `dic_district` VALUES ('522301', '兴义市', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522302', '兴仁市', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522323', '普安县', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522324', '晴隆县', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522325', '贞丰县', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522326', '望谟县', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522327', '册亨县', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522328', '安龙县', '522300', '3'); +INSERT INTO `dic_district` VALUES ('522600', '黔东南苗族侗族自治州', '520000', '2'); +INSERT INTO `dic_district` VALUES ('522601', '凯里市', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522622', '黄平县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522623', '施秉县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522624', '三穗县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522625', '镇远县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522626', '岑巩县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522627', '天柱县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522628', '锦屏县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522629', '剑河县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522630', '台江县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522631', '黎平县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522632', '榕江县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522633', '从江县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522634', '雷山县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522635', '麻江县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522636', '丹寨县', '522600', '3'); +INSERT INTO `dic_district` VALUES ('522700', '黔南布依族苗族自治州', '520000', '2'); +INSERT INTO `dic_district` VALUES ('522701', '都匀市', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522702', '福泉市', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522722', '荔波县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522723', '贵定县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522725', '瓮安县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522726', '独山县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522727', '平塘县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522728', '罗甸县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522729', '长顺县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522730', '龙里县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522731', '惠水县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('522732', '三都水族自治县', '522700', '3'); +INSERT INTO `dic_district` VALUES ('530000', '云南省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('530100', '昆明市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530102', '五华区', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530103', '盘龙区', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530111', '官渡区', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530112', '西山区', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530113', '东川区', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530114', '呈贡区', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530115', '晋宁区', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530124', '富民县', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530125', '宜良县', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530126', '石林彝族自治县', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530127', '嵩明县', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530128', '禄劝彝族苗族自治县', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530129', '寻甸回族彝族自治县', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530181', '安宁市', '530100', '3'); +INSERT INTO `dic_district` VALUES ('530300', '曲靖市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530302', '麒麟区', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530303', '沾益区', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530304', '马龙区', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530322', '陆良县', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530323', '师宗县', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530324', '罗平县', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530325', '富源县', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530326', '会泽县', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530381', '宣威市', '530300', '3'); +INSERT INTO `dic_district` VALUES ('530400', '玉溪市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530402', '红塔区', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530403', '江川区', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530423', '通海县', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530424', '华宁县', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530425', '易门县', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530426', '峨山彝族自治县', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530427', '新平彝族傣族自治县', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530428', '元江哈尼族彝族傣族自治县', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530481', '澄江市', '530400', '3'); +INSERT INTO `dic_district` VALUES ('530500', '保山市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530502', '隆阳区', '530500', '3'); +INSERT INTO `dic_district` VALUES ('530521', '施甸县', '530500', '3'); +INSERT INTO `dic_district` VALUES ('530523', '龙陵县', '530500', '3'); +INSERT INTO `dic_district` VALUES ('530524', '昌宁县', '530500', '3'); +INSERT INTO `dic_district` VALUES ('530581', '腾冲市', '530500', '3'); +INSERT INTO `dic_district` VALUES ('530600', '昭通市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530602', '昭阳区', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530621', '鲁甸县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530622', '巧家县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530623', '盐津县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530624', '大关县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530625', '永善县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530626', '绥江县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530627', '镇雄县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530628', '彝良县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530629', '威信县', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530681', '水富市', '530600', '3'); +INSERT INTO `dic_district` VALUES ('530700', '丽江市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530702', '古城区', '530700', '3'); +INSERT INTO `dic_district` VALUES ('530721', '玉龙纳西族自治县', '530700', '3'); +INSERT INTO `dic_district` VALUES ('530722', '永胜县', '530700', '3'); +INSERT INTO `dic_district` VALUES ('530723', '华坪县', '530700', '3'); +INSERT INTO `dic_district` VALUES ('530724', '宁蒗彝族自治县', '530700', '3'); +INSERT INTO `dic_district` VALUES ('530800', '普洱市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530802', '思茅区', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530821', '宁洱哈尼族彝族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530822', '墨江哈尼族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530823', '景东彝族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530824', '景谷傣族彝族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530825', '镇沅彝族哈尼族拉祜族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530826', '江城哈尼族彝族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530827', '孟连傣族拉祜族佤族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530828', '澜沧拉祜族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530829', '西盟佤族自治县', '530800', '3'); +INSERT INTO `dic_district` VALUES ('530900', '临沧市', '530000', '2'); +INSERT INTO `dic_district` VALUES ('530902', '临翔区', '530900', '3'); +INSERT INTO `dic_district` VALUES ('530921', '凤庆县', '530900', '3'); +INSERT INTO `dic_district` VALUES ('530922', '云县', '530900', '3'); +INSERT INTO `dic_district` VALUES ('530923', '永德县', '530900', '3'); +INSERT INTO `dic_district` VALUES ('530924', '镇康县', '530900', '3'); +INSERT INTO `dic_district` VALUES ('530925', '双江拉祜族佤族布朗族傣族自治县', '530900', '3'); +INSERT INTO `dic_district` VALUES ('530926', '耿马傣族佤族自治县', '530900', '3'); +INSERT INTO `dic_district` VALUES ('530927', '沧源佤族自治县', '530900', '3'); +INSERT INTO `dic_district` VALUES ('532300', '楚雄彝族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('532301', '楚雄市', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532302', '禄丰市', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532322', '双柏县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532323', '牟定县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532324', '南华县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532325', '姚安县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532326', '大姚县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532327', '永仁县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532328', '元谋县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532329', '武定县', '532300', '3'); +INSERT INTO `dic_district` VALUES ('532500', '红河哈尼族彝族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('532501', '个旧市', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532502', '开远市', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532503', '蒙自市', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532504', '弥勒市', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532523', '屏边苗族自治县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532524', '建水县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532525', '石屏县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532527', '泸西县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532528', '元阳县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532529', '红河县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532530', '金平苗族瑶族傣族自治县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532531', '绿春县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532532', '河口瑶族自治县', '532500', '3'); +INSERT INTO `dic_district` VALUES ('532600', '文山壮族苗族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('532601', '文山市', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532622', '砚山县', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532623', '西畴县', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532624', '麻栗坡县', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532625', '马关县', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532626', '丘北县', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532627', '广南县', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532628', '富宁县', '532600', '3'); +INSERT INTO `dic_district` VALUES ('532800', '西双版纳傣族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('532801', '景洪市', '532800', '3'); +INSERT INTO `dic_district` VALUES ('532822', '勐海县', '532800', '3'); +INSERT INTO `dic_district` VALUES ('532823', '勐腊县', '532800', '3'); +INSERT INTO `dic_district` VALUES ('532900', '大理白族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('532901', '大理市', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532922', '漾濞彝族自治县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532923', '祥云县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532924', '宾川县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532925', '弥渡县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532926', '南涧彝族自治县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532927', '巍山彝族回族自治县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532928', '永平县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532929', '云龙县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532930', '洱源县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532931', '剑川县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('532932', '鹤庆县', '532900', '3'); +INSERT INTO `dic_district` VALUES ('533100', '德宏傣族景颇族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('533102', '瑞丽市', '533100', '3'); +INSERT INTO `dic_district` VALUES ('533103', '芒市', '533100', '3'); +INSERT INTO `dic_district` VALUES ('533122', '梁河县', '533100', '3'); +INSERT INTO `dic_district` VALUES ('533123', '盈江县', '533100', '3'); +INSERT INTO `dic_district` VALUES ('533124', '陇川县', '533100', '3'); +INSERT INTO `dic_district` VALUES ('533300', '怒江傈僳族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('533301', '泸水市', '533300', '3'); +INSERT INTO `dic_district` VALUES ('533323', '福贡县', '533300', '3'); +INSERT INTO `dic_district` VALUES ('533324', '贡山独龙族怒族自治县', '533300', '3'); +INSERT INTO `dic_district` VALUES ('533325', '兰坪白族普米族自治县', '533300', '3'); +INSERT INTO `dic_district` VALUES ('533400', '迪庆藏族自治州', '530000', '2'); +INSERT INTO `dic_district` VALUES ('533401', '香格里拉市', '533400', '3'); +INSERT INTO `dic_district` VALUES ('533422', '德钦县', '533400', '3'); +INSERT INTO `dic_district` VALUES ('533423', '维西傈僳族自治县', '533400', '3'); +INSERT INTO `dic_district` VALUES ('540000', '西藏自治区', '100000', '1'); +INSERT INTO `dic_district` VALUES ('540100', '拉萨市', '540000', '2'); +INSERT INTO `dic_district` VALUES ('540102', '城关区', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540103', '堆龙德庆区', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540104', '达孜区', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540121', '林周县', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540122', '当雄县', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540123', '尼木县', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540124', '曲水县', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540127', '墨竹工卡县', '540100', '3'); +INSERT INTO `dic_district` VALUES ('540200', '日喀则市', '540000', '2'); +INSERT INTO `dic_district` VALUES ('540202', '桑珠孜区', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540221', '南木林县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540222', '江孜县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540223', '定日县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540224', '萨迦县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540225', '拉孜县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540226', '昂仁县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540227', '谢通门县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540228', '白朗县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540229', '仁布县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540230', '康马县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540231', '定结县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540232', '仲巴县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540233', '亚东县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540234', '吉隆县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540235', '聂拉木县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540236', '萨嘎县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540237', '岗巴县', '540200', '3'); +INSERT INTO `dic_district` VALUES ('540300', '昌都市', '540000', '2'); +INSERT INTO `dic_district` VALUES ('540302', '卡若区', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540321', '江达县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540322', '贡觉县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540323', '类乌齐县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540324', '丁青县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540325', '察雅县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540326', '八宿县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540327', '左贡县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540328', '芒康县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540329', '洛隆县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540330', '边坝县', '540300', '3'); +INSERT INTO `dic_district` VALUES ('540400', '林芝市', '540000', '2'); +INSERT INTO `dic_district` VALUES ('540402', '巴宜区', '540400', '3'); +INSERT INTO `dic_district` VALUES ('540421', '工布江达县', '540400', '3'); +INSERT INTO `dic_district` VALUES ('540422', '米林县', '540400', '3'); +INSERT INTO `dic_district` VALUES ('540423', '墨脱县', '540400', '3'); +INSERT INTO `dic_district` VALUES ('540424', '波密县', '540400', '3'); +INSERT INTO `dic_district` VALUES ('540425', '察隅县', '540400', '3'); +INSERT INTO `dic_district` VALUES ('540426', '朗县', '540400', '3'); +INSERT INTO `dic_district` VALUES ('540500', '山南市', '540000', '2'); +INSERT INTO `dic_district` VALUES ('540502', '乃东区', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540521', '扎囊县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540522', '贡嘎县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540523', '桑日县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540524', '琼结县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540525', '曲松县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540526', '措美县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540527', '洛扎县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540528', '加查县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540529', '隆子县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540530', '错那县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540531', '浪卡子县', '540500', '3'); +INSERT INTO `dic_district` VALUES ('540600', '那曲市', '540000', '2'); +INSERT INTO `dic_district` VALUES ('540602', '色尼区', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540621', '嘉黎县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540622', '比如县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540623', '聂荣县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540624', '安多县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540625', '申扎县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540626', '索县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540627', '班戈县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540628', '巴青县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540629', '尼玛县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('540630', '双湖县', '540600', '3'); +INSERT INTO `dic_district` VALUES ('542500', '阿里地区', '540000', '2'); +INSERT INTO `dic_district` VALUES ('542521', '普兰县', '542500', '3'); +INSERT INTO `dic_district` VALUES ('542522', '札达县', '542500', '3'); +INSERT INTO `dic_district` VALUES ('542523', '噶尔县', '542500', '3'); +INSERT INTO `dic_district` VALUES ('542524', '日土县', '542500', '3'); +INSERT INTO `dic_district` VALUES ('542525', '革吉县', '542500', '3'); +INSERT INTO `dic_district` VALUES ('542526', '改则县', '542500', '3'); +INSERT INTO `dic_district` VALUES ('542527', '措勤县', '542500', '3'); +INSERT INTO `dic_district` VALUES ('610000', '陕西省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('610100', '西安市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610102', '新城区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610103', '碑林区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610104', '莲湖区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610111', '灞桥区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610112', '未央区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610113', '雁塔区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610114', '阎良区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610115', '临潼区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610116', '长安区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610117', '高陵区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610118', '鄠邑区', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610122', '蓝田县', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610124', '周至县', '610100', '3'); +INSERT INTO `dic_district` VALUES ('610200', '铜川市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610202', '王益区', '610200', '3'); +INSERT INTO `dic_district` VALUES ('610203', '印台区', '610200', '3'); +INSERT INTO `dic_district` VALUES ('610204', '耀州区', '610200', '3'); +INSERT INTO `dic_district` VALUES ('610222', '宜君县', '610200', '3'); +INSERT INTO `dic_district` VALUES ('610300', '宝鸡市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610302', '渭滨区', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610303', '金台区', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610304', '陈仓区', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610305', '凤翔区', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610323', '岐山县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610324', '扶风县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610326', '眉县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610327', '陇县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610328', '千阳县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610329', '麟游县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610330', '凤县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610331', '太白县', '610300', '3'); +INSERT INTO `dic_district` VALUES ('610400', '咸阳市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610402', '秦都区', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610403', '杨陵区', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610404', '渭城区', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610422', '三原县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610423', '泾阳县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610424', '乾县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610425', '礼泉县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610426', '永寿县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610428', '长武县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610429', '旬邑县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610430', '淳化县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610431', '武功县', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610481', '兴平市', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610482', '彬州市', '610400', '3'); +INSERT INTO `dic_district` VALUES ('610500', '渭南市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610502', '临渭区', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610503', '华州区', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610522', '潼关县', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610523', '大荔县', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610524', '合阳县', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610525', '澄城县', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610526', '蒲城县', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610527', '白水县', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610528', '富平县', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610581', '韩城市', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610582', '华阴市', '610500', '3'); +INSERT INTO `dic_district` VALUES ('610600', '延安市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610602', '宝塔区', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610603', '安塞区', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610621', '延长县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610622', '延川县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610625', '志丹县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610626', '吴起县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610627', '甘泉县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610628', '富县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610629', '洛川县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610630', '宜川县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610631', '黄龙县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610632', '黄陵县', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610681', '子长市', '610600', '3'); +INSERT INTO `dic_district` VALUES ('610700', '汉中市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610702', '汉台区', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610703', '南郑区', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610722', '城固县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610723', '洋县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610724', '西乡县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610725', '勉县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610726', '宁强县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610727', '略阳县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610728', '镇巴县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610729', '留坝县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610730', '佛坪县', '610700', '3'); +INSERT INTO `dic_district` VALUES ('610800', '榆林市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610802', '榆阳区', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610803', '横山区', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610822', '府谷县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610824', '靖边县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610825', '定边县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610826', '绥德县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610827', '米脂县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610828', '佳县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610829', '吴堡县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610830', '清涧县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610831', '子洲县', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610881', '神木市', '610800', '3'); +INSERT INTO `dic_district` VALUES ('610900', '安康市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('610902', '汉滨区', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610921', '汉阴县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610922', '石泉县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610923', '宁陕县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610924', '紫阳县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610925', '岚皋县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610926', '平利县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610927', '镇坪县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610929', '白河县', '610900', '3'); +INSERT INTO `dic_district` VALUES ('610981', '旬阳市', '610900', '3'); +INSERT INTO `dic_district` VALUES ('611000', '商洛市', '610000', '2'); +INSERT INTO `dic_district` VALUES ('611002', '商州区', '611000', '3'); +INSERT INTO `dic_district` VALUES ('611021', '洛南县', '611000', '3'); +INSERT INTO `dic_district` VALUES ('611022', '丹凤县', '611000', '3'); +INSERT INTO `dic_district` VALUES ('611023', '商南县', '611000', '3'); +INSERT INTO `dic_district` VALUES ('611024', '山阳县', '611000', '3'); +INSERT INTO `dic_district` VALUES ('611025', '镇安县', '611000', '3'); +INSERT INTO `dic_district` VALUES ('611026', '柞水县', '611000', '3'); +INSERT INTO `dic_district` VALUES ('620000', '甘肃省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('620100', '兰州市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620102', '城关区', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620103', '七里河区', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620104', '西固区', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620105', '安宁区', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620111', '红古区', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620121', '永登县', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620122', '皋兰县', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620123', '榆中县', '620100', '3'); +INSERT INTO `dic_district` VALUES ('620200', '嘉峪关市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620300', '金昌市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620302', '金川区', '620300', '3'); +INSERT INTO `dic_district` VALUES ('620321', '永昌县', '620300', '3'); +INSERT INTO `dic_district` VALUES ('620400', '白银市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620402', '白银区', '620400', '3'); +INSERT INTO `dic_district` VALUES ('620403', '平川区', '620400', '3'); +INSERT INTO `dic_district` VALUES ('620421', '靖远县', '620400', '3'); +INSERT INTO `dic_district` VALUES ('620422', '会宁县', '620400', '3'); +INSERT INTO `dic_district` VALUES ('620423', '景泰县', '620400', '3'); +INSERT INTO `dic_district` VALUES ('620500', '天水市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620502', '秦州区', '620500', '3'); +INSERT INTO `dic_district` VALUES ('620503', '麦积区', '620500', '3'); +INSERT INTO `dic_district` VALUES ('620521', '清水县', '620500', '3'); +INSERT INTO `dic_district` VALUES ('620522', '秦安县', '620500', '3'); +INSERT INTO `dic_district` VALUES ('620523', '甘谷县', '620500', '3'); +INSERT INTO `dic_district` VALUES ('620524', '武山县', '620500', '3'); +INSERT INTO `dic_district` VALUES ('620525', '张家川回族自治县', '620500', '3'); +INSERT INTO `dic_district` VALUES ('620600', '武威市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620602', '凉州区', '620600', '3'); +INSERT INTO `dic_district` VALUES ('620621', '民勤县', '620600', '3'); +INSERT INTO `dic_district` VALUES ('620622', '古浪县', '620600', '3'); +INSERT INTO `dic_district` VALUES ('620623', '天祝藏族自治县', '620600', '3'); +INSERT INTO `dic_district` VALUES ('620700', '张掖市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620702', '甘州区', '620700', '3'); +INSERT INTO `dic_district` VALUES ('620721', '肃南裕固族自治县', '620700', '3'); +INSERT INTO `dic_district` VALUES ('620722', '民乐县', '620700', '3'); +INSERT INTO `dic_district` VALUES ('620723', '临泽县', '620700', '3'); +INSERT INTO `dic_district` VALUES ('620724', '高台县', '620700', '3'); +INSERT INTO `dic_district` VALUES ('620725', '山丹县', '620700', '3'); +INSERT INTO `dic_district` VALUES ('620800', '平凉市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620802', '崆峒区', '620800', '3'); +INSERT INTO `dic_district` VALUES ('620821', '泾川县', '620800', '3'); +INSERT INTO `dic_district` VALUES ('620822', '灵台县', '620800', '3'); +INSERT INTO `dic_district` VALUES ('620823', '崇信县', '620800', '3'); +INSERT INTO `dic_district` VALUES ('620825', '庄浪县', '620800', '3'); +INSERT INTO `dic_district` VALUES ('620826', '静宁县', '620800', '3'); +INSERT INTO `dic_district` VALUES ('620881', '华亭市', '620800', '3'); +INSERT INTO `dic_district` VALUES ('620900', '酒泉市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('620902', '肃州区', '620900', '3'); +INSERT INTO `dic_district` VALUES ('620921', '金塔县', '620900', '3'); +INSERT INTO `dic_district` VALUES ('620922', '瓜州县', '620900', '3'); +INSERT INTO `dic_district` VALUES ('620923', '肃北蒙古族自治县', '620900', '3'); +INSERT INTO `dic_district` VALUES ('620924', '阿克塞哈萨克族自治县', '620900', '3'); +INSERT INTO `dic_district` VALUES ('620981', '玉门市', '620900', '3'); +INSERT INTO `dic_district` VALUES ('620982', '敦煌市', '620900', '3'); +INSERT INTO `dic_district` VALUES ('621000', '庆阳市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('621002', '西峰区', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621021', '庆城县', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621022', '环县', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621023', '华池县', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621024', '合水县', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621025', '正宁县', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621026', '宁县', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621027', '镇原县', '621000', '3'); +INSERT INTO `dic_district` VALUES ('621100', '定西市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('621102', '安定区', '621100', '3'); +INSERT INTO `dic_district` VALUES ('621121', '通渭县', '621100', '3'); +INSERT INTO `dic_district` VALUES ('621122', '陇西县', '621100', '3'); +INSERT INTO `dic_district` VALUES ('621123', '渭源县', '621100', '3'); +INSERT INTO `dic_district` VALUES ('621124', '临洮县', '621100', '3'); +INSERT INTO `dic_district` VALUES ('621125', '漳县', '621100', '3'); +INSERT INTO `dic_district` VALUES ('621126', '岷县', '621100', '3'); +INSERT INTO `dic_district` VALUES ('621200', '陇南市', '620000', '2'); +INSERT INTO `dic_district` VALUES ('621202', '武都区', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621221', '成县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621222', '文县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621223', '宕昌县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621224', '康县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621225', '西和县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621226', '礼县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621227', '徽县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('621228', '两当县', '621200', '3'); +INSERT INTO `dic_district` VALUES ('622900', '临夏回族自治州', '620000', '2'); +INSERT INTO `dic_district` VALUES ('622901', '临夏市', '622900', '3'); +INSERT INTO `dic_district` VALUES ('622921', '临夏县', '622900', '3'); +INSERT INTO `dic_district` VALUES ('622922', '康乐县', '622900', '3'); +INSERT INTO `dic_district` VALUES ('622923', '永靖县', '622900', '3'); +INSERT INTO `dic_district` VALUES ('622924', '广河县', '622900', '3'); +INSERT INTO `dic_district` VALUES ('622925', '和政县', '622900', '3'); +INSERT INTO `dic_district` VALUES ('622926', '东乡族自治县', '622900', '3'); +INSERT INTO `dic_district` VALUES ('622927', '积石山保安族东乡族撒拉族自治县', '622900', '3'); +INSERT INTO `dic_district` VALUES ('623000', '甘南藏族自治州', '620000', '2'); +INSERT INTO `dic_district` VALUES ('623001', '合作市', '623000', '3'); +INSERT INTO `dic_district` VALUES ('623021', '临潭县', '623000', '3'); +INSERT INTO `dic_district` VALUES ('623022', '卓尼县', '623000', '3'); +INSERT INTO `dic_district` VALUES ('623023', '舟曲县', '623000', '3'); +INSERT INTO `dic_district` VALUES ('623024', '迭部县', '623000', '3'); +INSERT INTO `dic_district` VALUES ('623025', '玛曲县', '623000', '3'); +INSERT INTO `dic_district` VALUES ('623026', '碌曲县', '623000', '3'); +INSERT INTO `dic_district` VALUES ('623027', '夏河县', '623000', '3'); +INSERT INTO `dic_district` VALUES ('630000', '青海省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('630100', '西宁市', '630000', '2'); +INSERT INTO `dic_district` VALUES ('630102', '城东区', '630100', '3'); +INSERT INTO `dic_district` VALUES ('630103', '城中区', '630100', '3'); +INSERT INTO `dic_district` VALUES ('630104', '城西区', '630100', '3'); +INSERT INTO `dic_district` VALUES ('630105', '城北区', '630100', '3'); +INSERT INTO `dic_district` VALUES ('630106', '湟中区', '630100', '3'); +INSERT INTO `dic_district` VALUES ('630121', '大通回族土族自治县', '630100', '3'); +INSERT INTO `dic_district` VALUES ('630123', '湟源县', '630100', '3'); +INSERT INTO `dic_district` VALUES ('630200', '海东市', '630000', '2'); +INSERT INTO `dic_district` VALUES ('630202', '乐都区', '630200', '3'); +INSERT INTO `dic_district` VALUES ('630203', '平安区', '630200', '3'); +INSERT INTO `dic_district` VALUES ('630222', '民和回族土族自治县', '630200', '3'); +INSERT INTO `dic_district` VALUES ('630223', '互助土族自治县', '630200', '3'); +INSERT INTO `dic_district` VALUES ('630224', '化隆回族自治县', '630200', '3'); +INSERT INTO `dic_district` VALUES ('630225', '循化撒拉族自治县', '630200', '3'); +INSERT INTO `dic_district` VALUES ('632200', '海北藏族自治州', '630000', '2'); +INSERT INTO `dic_district` VALUES ('632221', '门源回族自治县', '632200', '3'); +INSERT INTO `dic_district` VALUES ('632222', '祁连县', '632200', '3'); +INSERT INTO `dic_district` VALUES ('632223', '海晏县', '632200', '3'); +INSERT INTO `dic_district` VALUES ('632224', '刚察县', '632200', '3'); +INSERT INTO `dic_district` VALUES ('632300', '黄南藏族自治州', '630000', '2'); +INSERT INTO `dic_district` VALUES ('632301', '同仁市', '632300', '3'); +INSERT INTO `dic_district` VALUES ('632322', '尖扎县', '632300', '3'); +INSERT INTO `dic_district` VALUES ('632323', '泽库县', '632300', '3'); +INSERT INTO `dic_district` VALUES ('632324', '河南蒙古族自治县', '632300', '3'); +INSERT INTO `dic_district` VALUES ('632500', '海南藏族自治州', '630000', '2'); +INSERT INTO `dic_district` VALUES ('632521', '共和县', '632500', '3'); +INSERT INTO `dic_district` VALUES ('632522', '同德县', '632500', '3'); +INSERT INTO `dic_district` VALUES ('632523', '贵德县', '632500', '3'); +INSERT INTO `dic_district` VALUES ('632524', '兴海县', '632500', '3'); +INSERT INTO `dic_district` VALUES ('632525', '贵南县', '632500', '3'); +INSERT INTO `dic_district` VALUES ('632600', '果洛藏族自治州', '630000', '2'); +INSERT INTO `dic_district` VALUES ('632621', '玛沁县', '632600', '3'); +INSERT INTO `dic_district` VALUES ('632622', '班玛县', '632600', '3'); +INSERT INTO `dic_district` VALUES ('632623', '甘德县', '632600', '3'); +INSERT INTO `dic_district` VALUES ('632624', '达日县', '632600', '3'); +INSERT INTO `dic_district` VALUES ('632625', '久治县', '632600', '3'); +INSERT INTO `dic_district` VALUES ('632626', '玛多县', '632600', '3'); +INSERT INTO `dic_district` VALUES ('632700', '玉树藏族自治州', '630000', '2'); +INSERT INTO `dic_district` VALUES ('632701', '玉树市', '632700', '3'); +INSERT INTO `dic_district` VALUES ('632722', '杂多县', '632700', '3'); +INSERT INTO `dic_district` VALUES ('632723', '称多县', '632700', '3'); +INSERT INTO `dic_district` VALUES ('632724', '治多县', '632700', '3'); +INSERT INTO `dic_district` VALUES ('632725', '囊谦县', '632700', '3'); +INSERT INTO `dic_district` VALUES ('632726', '曲麻莱县', '632700', '3'); +INSERT INTO `dic_district` VALUES ('632800', '海西蒙古族藏族自治州', '630000', '2'); +INSERT INTO `dic_district` VALUES ('632801', '格尔木市', '632800', '3'); +INSERT INTO `dic_district` VALUES ('632802', '德令哈市', '632800', '3'); +INSERT INTO `dic_district` VALUES ('632803', '茫崖市', '632800', '3'); +INSERT INTO `dic_district` VALUES ('632821', '乌兰县', '632800', '3'); +INSERT INTO `dic_district` VALUES ('632822', '都兰县', '632800', '3'); +INSERT INTO `dic_district` VALUES ('632823', '天峻县', '632800', '3'); +INSERT INTO `dic_district` VALUES ('632825', '海西蒙古族藏族自治州直辖', '632800', '3'); +INSERT INTO `dic_district` VALUES ('640000', '宁夏回族自治区', '100000', '1'); +INSERT INTO `dic_district` VALUES ('640100', '银川市', '640000', '2'); +INSERT INTO `dic_district` VALUES ('640104', '兴庆区', '640100', '3'); +INSERT INTO `dic_district` VALUES ('640105', '西夏区', '640100', '3'); +INSERT INTO `dic_district` VALUES ('640106', '金凤区', '640100', '3'); +INSERT INTO `dic_district` VALUES ('640121', '永宁县', '640100', '3'); +INSERT INTO `dic_district` VALUES ('640122', '贺兰县', '640100', '3'); +INSERT INTO `dic_district` VALUES ('640181', '灵武市', '640100', '3'); +INSERT INTO `dic_district` VALUES ('640200', '石嘴山市', '640000', '2'); +INSERT INTO `dic_district` VALUES ('640202', '大武口区', '640200', '3'); +INSERT INTO `dic_district` VALUES ('640205', '惠农区', '640200', '3'); +INSERT INTO `dic_district` VALUES ('640221', '平罗县', '640200', '3'); +INSERT INTO `dic_district` VALUES ('640300', '吴忠市', '640000', '2'); +INSERT INTO `dic_district` VALUES ('640302', '利通区', '640300', '3'); +INSERT INTO `dic_district` VALUES ('640303', '红寺堡区', '640300', '3'); +INSERT INTO `dic_district` VALUES ('640323', '盐池县', '640300', '3'); +INSERT INTO `dic_district` VALUES ('640324', '同心县', '640300', '3'); +INSERT INTO `dic_district` VALUES ('640381', '青铜峡市', '640300', '3'); +INSERT INTO `dic_district` VALUES ('640400', '固原市', '640000', '2'); +INSERT INTO `dic_district` VALUES ('640402', '原州区', '640400', '3'); +INSERT INTO `dic_district` VALUES ('640422', '西吉县', '640400', '3'); +INSERT INTO `dic_district` VALUES ('640423', '隆德县', '640400', '3'); +INSERT INTO `dic_district` VALUES ('640424', '泾源县', '640400', '3'); +INSERT INTO `dic_district` VALUES ('640425', '彭阳县', '640400', '3'); +INSERT INTO `dic_district` VALUES ('640500', '中卫市', '640000', '2'); +INSERT INTO `dic_district` VALUES ('640502', '沙坡头区', '640500', '3'); +INSERT INTO `dic_district` VALUES ('640521', '中宁县', '640500', '3'); +INSERT INTO `dic_district` VALUES ('640522', '海原县', '640500', '3'); +INSERT INTO `dic_district` VALUES ('650000', '新疆维吾尔自治区', '100000', '1'); +INSERT INTO `dic_district` VALUES ('650100', '乌鲁木齐市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('650102', '天山区', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650103', '沙依巴克区', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650104', '新市区', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650105', '水磨沟区', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650106', '头屯河区', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650107', '达坂城区', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650109', '米东区', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650121', '乌鲁木齐县', '650100', '3'); +INSERT INTO `dic_district` VALUES ('650200', '克拉玛依市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('650202', '独山子区', '650200', '3'); +INSERT INTO `dic_district` VALUES ('650203', '克拉玛依区', '650200', '3'); +INSERT INTO `dic_district` VALUES ('650204', '白碱滩区', '650200', '3'); +INSERT INTO `dic_district` VALUES ('650205', '乌尔禾区', '650200', '3'); +INSERT INTO `dic_district` VALUES ('650400', '吐鲁番市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('650402', '高昌区', '650400', '3'); +INSERT INTO `dic_district` VALUES ('650421', '鄯善县', '650400', '3'); +INSERT INTO `dic_district` VALUES ('650422', '托克逊县', '650400', '3'); +INSERT INTO `dic_district` VALUES ('650500', '哈密市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('650502', '伊州区', '650500', '3'); +INSERT INTO `dic_district` VALUES ('650521', '巴里坤哈萨克自治县', '650500', '3'); +INSERT INTO `dic_district` VALUES ('650522', '伊吾县', '650500', '3'); +INSERT INTO `dic_district` VALUES ('652300', '昌吉回族自治州', '650000', '2'); +INSERT INTO `dic_district` VALUES ('652301', '昌吉市', '652300', '3'); +INSERT INTO `dic_district` VALUES ('652302', '阜康市', '652300', '3'); +INSERT INTO `dic_district` VALUES ('652323', '呼图壁县', '652300', '3'); +INSERT INTO `dic_district` VALUES ('652324', '玛纳斯县', '652300', '3'); +INSERT INTO `dic_district` VALUES ('652325', '奇台县', '652300', '3'); +INSERT INTO `dic_district` VALUES ('652327', '吉木萨尔县', '652300', '3'); +INSERT INTO `dic_district` VALUES ('652328', '木垒哈萨克自治县', '652300', '3'); +INSERT INTO `dic_district` VALUES ('652700', '博尔塔拉蒙古自治州', '650000', '2'); +INSERT INTO `dic_district` VALUES ('652701', '博乐市', '652700', '3'); +INSERT INTO `dic_district` VALUES ('652702', '阿拉山口市', '652700', '3'); +INSERT INTO `dic_district` VALUES ('652722', '精河县', '652700', '3'); +INSERT INTO `dic_district` VALUES ('652723', '温泉县', '652700', '3'); +INSERT INTO `dic_district` VALUES ('652800', '巴音郭楞蒙古自治州', '650000', '2'); +INSERT INTO `dic_district` VALUES ('652801', '库尔勒市', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652822', '轮台县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652823', '尉犁县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652824', '若羌县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652825', '且末县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652826', '焉耆回族自治县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652827', '和静县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652828', '和硕县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652829', '博湖县', '652800', '3'); +INSERT INTO `dic_district` VALUES ('652900', '阿克苏地区', '650000', '2'); +INSERT INTO `dic_district` VALUES ('652901', '阿克苏市', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652902', '库车市', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652922', '温宿县', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652924', '沙雅县', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652925', '新和县', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652926', '拜城县', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652927', '乌什县', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652928', '阿瓦提县', '652900', '3'); +INSERT INTO `dic_district` VALUES ('652929', '柯坪县', '652900', '3'); +INSERT INTO `dic_district` VALUES ('653000', '克孜勒苏柯尔克孜自治州', '650000', '2'); +INSERT INTO `dic_district` VALUES ('653001', '阿图什市', '653000', '3'); +INSERT INTO `dic_district` VALUES ('653022', '阿克陶县', '653000', '3'); +INSERT INTO `dic_district` VALUES ('653023', '阿合奇县', '653000', '3'); +INSERT INTO `dic_district` VALUES ('653024', '乌恰县', '653000', '3'); +INSERT INTO `dic_district` VALUES ('653100', '喀什地区', '650000', '2'); +INSERT INTO `dic_district` VALUES ('653101', '喀什市', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653121', '疏附县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653122', '疏勒县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653123', '英吉沙县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653124', '泽普县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653125', '莎车县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653126', '叶城县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653127', '麦盖提县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653128', '岳普湖县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653129', '伽师县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653130', '巴楚县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653131', '塔什库尔干塔吉克自治县', '653100', '3'); +INSERT INTO `dic_district` VALUES ('653200', '和田地区', '650000', '2'); +INSERT INTO `dic_district` VALUES ('653201', '和田市', '653200', '3'); +INSERT INTO `dic_district` VALUES ('653221', '和田县', '653200', '3'); +INSERT INTO `dic_district` VALUES ('653222', '墨玉县', '653200', '3'); +INSERT INTO `dic_district` VALUES ('653223', '皮山县', '653200', '3'); +INSERT INTO `dic_district` VALUES ('653224', '洛浦县', '653200', '3'); +INSERT INTO `dic_district` VALUES ('653225', '策勒县', '653200', '3'); +INSERT INTO `dic_district` VALUES ('653226', '于田县', '653200', '3'); +INSERT INTO `dic_district` VALUES ('653227', '民丰县', '653200', '3'); +INSERT INTO `dic_district` VALUES ('654000', '伊犁哈萨克自治州', '650000', '2'); +INSERT INTO `dic_district` VALUES ('654002', '伊宁市', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654003', '奎屯市', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654004', '霍尔果斯市', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654021', '伊宁县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654022', '察布查尔锡伯自治县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654023', '霍城县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654024', '巩留县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654025', '新源县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654026', '昭苏县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654027', '特克斯县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654028', '尼勒克县', '654000', '3'); +INSERT INTO `dic_district` VALUES ('654200', '塔城地区', '650000', '2'); +INSERT INTO `dic_district` VALUES ('654201', '塔城市', '654200', '3'); +INSERT INTO `dic_district` VALUES ('654202', '乌苏市', '654200', '3'); +INSERT INTO `dic_district` VALUES ('654203', '沙湾市', '654200', '3'); +INSERT INTO `dic_district` VALUES ('654221', '额敏县', '654200', '3'); +INSERT INTO `dic_district` VALUES ('654224', '托里县', '654200', '3'); +INSERT INTO `dic_district` VALUES ('654225', '裕民县', '654200', '3'); +INSERT INTO `dic_district` VALUES ('654226', '和布克赛尔蒙古自治县', '654200', '3'); +INSERT INTO `dic_district` VALUES ('654300', '阿勒泰地区', '650000', '2'); +INSERT INTO `dic_district` VALUES ('654301', '阿勒泰市', '654300', '3'); +INSERT INTO `dic_district` VALUES ('654321', '布尔津县', '654300', '3'); +INSERT INTO `dic_district` VALUES ('654322', '富蕴县', '654300', '3'); +INSERT INTO `dic_district` VALUES ('654323', '福海县', '654300', '3'); +INSERT INTO `dic_district` VALUES ('654324', '哈巴河县', '654300', '3'); +INSERT INTO `dic_district` VALUES ('654325', '青河县', '654300', '3'); +INSERT INTO `dic_district` VALUES ('654326', '吉木乃县', '654300', '3'); +INSERT INTO `dic_district` VALUES ('659001', '石河子市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659002', '阿拉尔市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659003', '图木舒克市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659004', '五家渠市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659005', '北屯市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659006', '铁门关市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659007', '双河市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659008', '可克达拉市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659009', '昆玉市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659010', '胡杨河市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('659011', '新星市', '650000', '2'); +INSERT INTO `dic_district` VALUES ('710000', '台湾省', '100000', '1'); +INSERT INTO `dic_district` VALUES ('810000', '香港特别行政区', '100000', '1'); +INSERT INTO `dic_district` VALUES ('810001', '中西区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810002', '湾仔区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810003', '东区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810004', '南区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810005', '油尖旺区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810006', '深水埗区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810007', '九龙城区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810008', '黄大仙区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810009', '观塘区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810010', '荃湾区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810011', '屯门区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810012', '元朗区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810013', '北区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810014', '大埔区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810015', '西贡区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810016', '沙田区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810017', '葵青区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('810018', '离岛区', '810000', '3'); +INSERT INTO `dic_district` VALUES ('820000', '澳门特别行政区', '100000', '1'); +INSERT INTO `dic_district` VALUES ('820001', '花地玛堂区', '820000', '3'); +INSERT INTO `dic_district` VALUES ('820002', '花王堂区', '820000', '3'); +INSERT INTO `dic_district` VALUES ('820003', '望德堂区', '820000', '3'); +INSERT INTO `dic_district` VALUES ('820004', '大堂区', '820000', '3'); +INSERT INTO `dic_district` VALUES ('820005', '风顺堂区', '820000', '3'); +INSERT INTO `dic_district` VALUES ('820006', '嘉模堂区', '820000', '3'); +INSERT INTO `dic_district` VALUES ('820007', '路凼填海区', '820000', '3'); +INSERT INTO `dic_district` VALUES ('820008', '圣方济各堂区', '820000', '3'); diff --git a/sql/service-passenger-user.sql b/sql/service-passenger-user.sql new file mode 100644 index 0000000..1dcd254 --- /dev/null +++ b/sql/service-passenger-user.sql @@ -0,0 +1,37 @@ +/* +Navicat MySQL Data Transfer + +Source Server : 本机 +Source Server Version : 80017 +Source Host : localhost:3306 +Source Database : service-passenger-user + +Target Server Type : MYSQL +Target Server Version : 80017 +File Encoding : 65001 + +Date: 2022-07-20 14:40:56 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for passenger_user +-- ---------------------------- +DROP TABLE IF EXISTS `passenger_user`; +CREATE TABLE `passenger_user` ( + `id` bigint(32) unsigned NOT NULL AUTO_INCREMENT, + `gmt_create` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, + `gmt_modified` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP, + `passenger_phone` varchar(16) DEFAULT NULL, + `passenger_name` varchar(16) DEFAULT NULL, + `passenger_gender` tinyint(1) DEFAULT NULL COMMENT '0:未知,1:男,2:女', + `state` tinyint(1) DEFAULT NULL COMMENT '0:有效,1:失效', + `profile_photo` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '头像图片地址的url', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=1537346335930388483 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; + +-- ---------------------------- +-- Records of passenger_user +-- ---------------------------- +INSERT INTO `passenger_user` VALUES ('1537346335930388482', '2022-06-21 17:17:21', '2022-06-21 17:17:21', '18178101668', '张三', '0', '0', 'pic.msb.com'); diff --git a/sql/service-price.sql b/sql/service-price.sql new file mode 100644 index 0000000..cba7b75 --- /dev/null +++ b/sql/service-price.sql @@ -0,0 +1,35 @@ +/* +Navicat MySQL Data Transfer + +Source Server : 本机 +Source Server Version : 80017 +Source Host : localhost:3306 +Source Database : service-price + +Target Server Type : MYSQL +Target Server Version : 80017 +File Encoding : 65001 + +Date: 2022-07-20 14:41:03 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for price_rule +-- ---------------------------- +DROP TABLE IF EXISTS `price_rule`; +CREATE TABLE `price_rule` ( + `city_code` char(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '城市代码', + `vehicle_type` char(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '车辆类型', + `start_fare` double(4,2) DEFAULT NULL COMMENT '起步价', + `start_mile` int(4) DEFAULT NULL, + `unit_price_per_mile` double(4,2) DEFAULT NULL, + `unit_price_per_minute` double(4,2) DEFAULT NULL, + PRIMARY KEY (`city_code`,`vehicle_type`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; + +-- ---------------------------- +-- Records of price_rule +-- ---------------------------- +INSERT INTO `price_rule` VALUES ('110000', '1', '10.00', '3', '1.80', '0.50');