/*
 Navicat MySQL Data Transfer

 Source Server         : 251
 Source Server Type    : MySQL
 Source Server Version : 50733
 Source Host           : 192.168.0.251:3306
 Source Schema         : xhx-base

 Target Server Type    : MySQL
 Target Server Version : 50733
 File Encoding         : 65001

 Date: 10/11/2021 15:54:17
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for mortails_affair_arameter
-- ----------------------------
DROP TABLE IF EXISTS `mortails_affair_arameter`;
CREATE TABLE `mortails_affair_arameter`  (
  `id` bigint(20) NOT NULL COMMENT '主键ID,主键,业务生成',
  `eventName` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '入驻系统名称',
  `sysCode` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '入驻系统编码',
  `acceptAdress` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请并受理接口地址',
  `reviewAdress` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审查接口地址',
  `decideAdress` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '决定接口地址',
  `createDate` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `updateDate` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `compartment` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区划',
  `address` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '街道',
  `thresholdValue` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '阈值',
  `creatorId` varchar(256) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建者id',
  `areaCode` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地区编码',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for mortails_affair_supplement
-- ----------------------------
DROP TABLE IF EXISTS `mortails_affair_supplement`;
CREATE TABLE `mortails_affair_supplement`  (
  `id` bigint(20) NOT NULL COMMENT '主键',
  `impl_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '实施清单名称',
  `impl_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '实施清单编码',
  `application_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请人属性',
  `application_card_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请人证件类型',
  `application_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请人姓名',
  `application_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请人证件号码',
  `application_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请人手机号码',
  `mechanism_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构名称',
  `mechanism_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构地址',
  `mechanism_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构性质',
  `mechanism_id_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构证件类型',
  `mechanism_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机构编码',
  `legal_person` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '法人姓名',
  `apply_time` datetime(0) NULL DEFAULT NULL COMMENT '办件申请日期',
  `accept_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '受理人姓名',
  `accept_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '受理人身份证号码',
  `accept_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '受理人手机号',
  `sys_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '系统编码',
  `is_execute` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '是否执行转化（0.未执行  1.已执行）',
  `is_success` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '是否转化成功（0默认 1成功）',
  `fail_reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '失败原因',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '办件补录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for mortals_center_implementlist
-- ----------------------------
DROP TABLE IF EXISTS `mortals_center_implementlist`;
CREATE TABLE `mortals_center_implementlist`  (
  `ID` bigint(20) NOT NULL COMMENT '主键ID',
  `DIR_LIST_ID` bigint(20) NULL DEFAULT NULL COMMENT '目录清单ID',
  `RUN_SYSTEM` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '运行系统',
  `BUSINESS_SYSTEM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '业务办理系统',
  `PERFORM_HIERARCHY` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行使层级',
  `JUMP_URL` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '跳转链接',
  `EVENT_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项类型',
  `EVENT_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项代码',
  `EVENT_NAME` varchar(800) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项名称',
  `MAJOR_TERM` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所属大项',
  `TRADE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行业',
  `JOINT_REVIEW_INFO` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联审信息',
  `APPOVE_OBJECT` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批对象',
  `APPOVE_TIME_LIMIT` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批时限',
  `APPOVE_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批类别',
  `LEGAL_TIME_LIMIT` bigint(20) NULL DEFAULT NULL COMMENT '办理总时限',
  `MATERIAL_INQUIRY` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '材料预审',
  `DO_THIING_PROPERTY` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办件性质',
  `APPLY_WINDOW` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '申请窗口',
  `REMARK` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  `ONLINE_ITEM_TYPE` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  `STATUS` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `IS_DELIVER` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否上报',
  `MATERIAL_REMARK` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '总材料说明',
  `HANDLE_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办理类型',
  `PERCENCE_TIMES` bigint(20) NULL DEFAULT NULL COMMENT '办事者到现场次数',
  `CERTIFICATION_LEVELS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '认证等级需求',
  `AREA_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地区编码',
  `AREA_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地区名称',
  `DEPT_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门编码',
  `DEPT_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门名称',
  `SHARD_KEY` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分片字段',
  `CREATOR_ID` bigint(20) NULL DEFAULT NULL COMMENT '创建人ID',
  `CREATOR_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  `CREATES_TIME` timestamp(0) NULL DEFAULT NULL COMMENT '创建时间',
  `UPDATES_TIME` timestamp(0) NULL DEFAULT NULL COMMENT '更新时间',
  `DELETE_FLAG` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '删除标识',
  `YEAR` bigint(20) NULL DEFAULT NULL COMMENT '创建年份',
  `SHORT_NAME` varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '事项简称',
  `EVENT_CATEGORY` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '事项类别',
  `PUB_BEGIN_TIME` date NULL DEFAULT NULL COMMENT '公示开始时间',
  `PUB_END_TIME` date NULL DEFAULT NULL COMMENT '公示结束时间（至）',
  `IS_PROOF_MATERIAL` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否证明材料类事项',
  `USER` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '使用人：部门/自然人/法人',
  `REPORT_HIERARCHY` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上报层级，枚举多选',
  `REPORT_AREA` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '上报地区',
  `REPORT_DEPT` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '上报单位部门',
  `EVENT_DEC_POWER` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '事项决定权，枚举多选',
  `IS_STATISTICS` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '统计标识,1:统计 0:不统计',
  `SERVICE_CONTENT` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '服务内容',
  `IS_NEWEST` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '是否最新版本',
  `VERSION` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '版本号',
  `GOVE_SERVICE_CENTER` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否进入政务服务中心/便民服务中心窗口办理。必选，是/否；',
  `IS_AUTHO_TRANSACT` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否授权窗口工作人员全程办理。必选，接件、受理、审核、转报、出具结论性意见、审批决定权、审核上报权、组织协调权、印章使用（用于监察系统）',
  `IS_ONLINE_SUBSCRIBE` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否网上预约（单选）：是或者否',
  `IS_CHARGES` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收费情况',
  `IS_ONLINE_PAY` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否在线支付',
  `IS_EXPRESS_TAKE` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否支持快递取件',
  `IS_GOVE_CENTER` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否纳入政务服务中心',
  `IS_CONVENIENT_CENTER` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否纳入便民服务中心',
  `PERFORM_DEPT_CODE` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行使编码 (实施主体)',
  `PERFORM_DEPT_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行使名称 (实施主体名称)',
  `PERFORM_DEPT_TYPE` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行使主体（实施性质）',
  `IS_DOOR_TAKE` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否支持上门收取申请材料',
  `PROMISE_TIME_LIMIT` bigint(20) NULL DEFAULT NULL COMMENT '承诺办理总时限',
  `DO_THING_TYPE` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办理类型:窗口办理、原件预审、原件核验、全程网办',
  `LAUNCH_BODY` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发起主体',
  `PRO_REVIEW_TYPE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省级审查类型',
  `CITY_REVIEW_TYPE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '市级审查类型',
  `COU_REVIEW_TYPE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区县级审查类型',
  `TOWN_REVIEW_TYPE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '乡镇级审查类型',
  `VIL_REVIEW_TYPE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项设定来源-枚举多选',
  `EVENT_SOURCE` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户类型(1：普通用户，2：会员)',
  `IS_NUMBER_LIMIT` varchar(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否数量限制',
  `NUMBER_LIMIT` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '数量限制',
  `IS_INTEGRATION` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项是否在一体化平台办理',
  `DEPT_SYS_LEVEL` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门系统级别',
  `IS_SHARE` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办理结果是否能够在一体化平台共享',
  `APPLY_OBJECT` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行使方式：1 依申请 2主动行使',
  `LIFE_EVENT_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '按人生事件分类/按经营活动分类',
  `SPECIAL_OBJECT_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '按特定对象分类',
  `POOR_OBJECT_TYPE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '按扶贫服务分类',
  `HANDLE_RESULT_FORM` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办理结果形式',
  `DEPT_SYS_NAME` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '部门系统名称',
  `REASON` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原因',
  `EVENT_STATUS` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '实施清单业务状态',
  `IS_EXPRESS_TAKE_ONLINE` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否支持快递取件_网办类型',
  `PERCENCE_TIMES_ONLINE` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '办事者到办理现场次数_网办类型',
  `ONLINE_TYPE` char(16) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '网办类型0：原件预审 1：原件核验 2：全程网办',
  `DEPT_ID` bigint(20) NULL DEFAULT NULL COMMENT '部门id',
  `DAYS_TYPE` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '节日类型:1 工作日  2 自然日',
  `is_dir_change` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '目录清单是否变更',
  `impl_list_source` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '实施清单来源',
  `WF_INSTANCE_ID` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '-' COMMENT '流程实例id',
  `is_city_wide_Office` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '-' COMMENT '是否支持全城通办',
  `is_apply_province` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '-' COMMENT '是否支持全省范围就近申请',
  `is_province_acquisition` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '-' COMMENT '是否支持全省范围就近取件',
  `DIR_LIST_CODE` varchar(48) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '_' COMMENT '目录清单编码',
  `IS_SHOW` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '实施清单管理列表是否显示该数据',
  `IMPL_DEPT_CODE` varchar(48) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '_' COMMENT '末级部门编码',
  `IMPL_DEPT_ID` bigint(20) NULL DEFAULT 0 COMMENT '末级部门id',
  `IS_UNITE_ACCEPT` bigint(20) NULL DEFAULT NULL COMMENT '厅局办件标识  是否统一受理  1.统一受理 2.非统一受理 3.全程办理',
  `SUB_LEGAL_TIME_LIMIT` bigint(20) NULL DEFAULT NULL COMMENT '法定时限',
  `SUB_PROMISE_TIME_LIMIT` bigint(20) NULL DEFAULT NULL COMMENT '承诺时限',
  `common_saying` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项简称(俗语)',
  `cl_days_type` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '承诺办理总时限单位',
  `is_cut_off` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否割接数据 1表示是  null 表示否',
  `is_oldData` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否割接数据 1:是',
  `power_source` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权力来源',
  `entrust_dept` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '委托部门',
  `spec_procedure` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '特别程序',
  `operat_scope` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '通办范围:1全国 2跨省 3跨市 4跨县 5跨镇（乡、街道）6跨村（社区）',
  `jointagency` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联办机构',
  `applyresult_type` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审批结果类型 枚举项：10证照 20批文 30其他 99无',
  `applyresults_sample` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '变更结果记录',
  `SHOW_EVENT_CODE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '实施清单展示编码',
  `SHOW_DIR_CODE` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '页面展示目录清单编码',
  `IS_SET_LICENSE` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '是否设置证照',
  `IS_SCENE_SERVER` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '是否场景化事项',
  `EVENT_INITIAL` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '事项名称首字母',
  `CatalogCode` varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '国家编码',
  `subcode` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '子项编码',
  `SPECIAL_STATUS` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '特殊状态（默认为空或0；1表示在门户列表中不展示的数据，办事指南和在线申请需要展示）',
  `MATERIAL_VERSION` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '材料目录模式:null为2.0模式，1：3.0模式',
  `PROJECT_TYPE` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '码表多选',
  `audit_state` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审核状态(0：审核中1：审核通过2：审核失败）',
  `PUBLIC_SERVICE_TYPE` char(4) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '存放公共服务类型：2A,2B,2C',
  `IS_VALID` char(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否有效：0 否，1 是，2 暂停',
  PRIMARY KEY (`ID`) USING BTREE,
  INDEX `DIR_LIST_ID_INDEX`(`DIR_LIST_ID`) USING BTREE,
  INDEX `DEPT_CODE_IDX`(`DEPT_CODE`) USING BTREE,
  INDEX `event_code_inx`(`EVENT_CODE`) USING BTREE,
  INDEX `dir_list_code_inx`(`DIR_LIST_CODE`) USING BTREE,
  INDEX `idx_th_il_status`(`STATUS`) USING BTREE,
  INDEX `idx_th_il_event_status`(`EVENT_STATUS`) USING BTREE,
  INDEX `idx_th_il_is_show`(`IS_SHOW`) USING BTREE,
  INDEX `idx_il_bigdc`(`PERFORM_DEPT_CODE`) USING BTREE,
  INDEX `area_code`(`AREA_CODE`) USING BTREE,
  INDEX `idx_lis`(`DIR_LIST_CODE`, `DELETE_FLAG`) USING BTREE,
  INDEX `idx_th_il_ls_sii`(`SHARD_KEY`, `IS_NEWEST`, `IS_SHOW`) USING BTREE,
  INDEX `ix_til_show_event_code`(`SHOW_EVENT_CODE`) USING BTREE,
  INDEX `categoryCodes`(`CatalogCode`) USING BTREE,
  INDEX `idx_subCode`(`subcode`) USING BTREE,
  INDEX `ix_event_name`(`EVENT_NAME`) USING BTREE,
  INDEX `ix_time`(`CREATES_TIME`, `UPDATES_TIME`) USING BTREE,
  INDEX `ix_update`(`UPDATES_TIME`) USING BTREE,
  INDEX `ix_MAJOR_TERM`(`MAJOR_TERM`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '实施清单主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for mortals_xhx_data_area
-- ----------------------------
DROP TABLE IF EXISTS `mortals_xhx_data_area`;
CREATE TABLE `mortals_xhx_data_area`  (
  `id` bigint(20) NOT NULL COMMENT '主键ID',
  `AREA_NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地区名称',
  `AREA_SIMPLE_NAME` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地区简称',
  `PARENT_AREA_ID` bigint(20) NULL DEFAULT NULL COMMENT '上级地区ID',
  `AREA_CODE` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行政区域代码             行政区域代码             ',
  `DELETE_FLAG` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '删除标识',
  `CREATOR_ID` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
  `CREATOR_NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '创建人名称',
  `CREATE_TIMES` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `UPDATE_TIMES` timestamp(0) NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
  `AREA_LEVEL` int(11) NULL DEFAULT NULL COMMENT '1省级，2市级，3区县级，4乡镇级，5村',
  `SORT_KEY` int(11) NULL DEFAULT NULL COMMENT '排序',
  `AREA_LEVEL_CODE` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地区层级编码',
  `submit_area_level` int(11) NULL DEFAULT NULL COMMENT '临时使用确认地区层级',
  `is_special` varchar(2) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否特殊区域：0.否，1.是',
  `AREA_DESC` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行政区域描述',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_PARENT_AREA_ID`(`PARENT_AREA_ID`) USING BTREE,
  INDEX `idx_area_code`(`AREA_CODE`) USING BTREE,
  INDEX `ix_update`(`UPDATE_TIMES`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '地区表' ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
