-- CCDI 生产上线数据库初始化脚本
-- 生成日期：2026-04-28
-- 来源：项目配置 application-dev.yml 指向的 ccdi 库最终态结构
-- 内容：全量表结构 + 系统基础数据 + 菜单权限 + 字典 + 默认模型参数 + 流水打标规则
-- 不包含：项目、员工、流水、导入记录、操作日志、登录日志等运行期业务数据
-- 执行要求：目标库请使用 utf8mb4 字符集与 utf8mb4_general_ci 排序规则；空库导入，避免覆盖已有生产数据。
-- 索引说明：已移除旧库 767 bytes 限制下会超长的字符复合索引；其余索引保留。

-- MySQL dump 10.13  Distrib 9.6.0, for macos15 (arm64)
--
-- Source: ccdi database structure snapshot
-- ------------------------------------------------------
-- Server version	8.0.18

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `QRTZ_BLOB_TRIGGERS`
--

DROP TABLE IF EXISTS `QRTZ_BLOB_TRIGGERS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_BLOB_TRIGGERS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `blob_data` blob COMMENT '存放持久化Trigger对象'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='Blob类型的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_CALENDARS`
--

DROP TABLE IF EXISTS `QRTZ_CALENDARS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_CALENDARS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `calendar_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '日历名称',
  `calendar` blob NOT NULL COMMENT '存放持久化calendar对象'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='日历信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_CRON_TRIGGERS`
--

DROP TABLE IF EXISTS `QRTZ_CRON_TRIGGERS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_CRON_TRIGGERS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `cron_expression` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'cron表达式',
  `time_zone_id` varchar(80) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '时区'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='Cron类型的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_FIRED_TRIGGERS`
--

DROP TABLE IF EXISTS `QRTZ_FIRED_TRIGGERS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_FIRED_TRIGGERS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `entry_id` varchar(95) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度器实例id',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `instance_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度器实例名',
  `fired_time` bigint(13) NOT NULL COMMENT '触发的时间',
  `sched_time` bigint(13) NOT NULL COMMENT '定时器制定的时间',
  `priority` int(11) NOT NULL COMMENT '优先级',
  `state` varchar(16) COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态',
  `job_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '任务名称',
  `job_group` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '任务组名',
  `is_nonconcurrent` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否并发',
  `requests_recovery` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否接受恢复执行'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='已触发的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_JOB_DETAILS`
--

DROP TABLE IF EXISTS `QRTZ_JOB_DETAILS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_JOB_DETAILS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `job_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
  `job_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
  `description` varchar(250) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '相关介绍',
  `job_class_name` varchar(250) COLLATE utf8mb4_general_ci NOT NULL COMMENT '执行任务类名称',
  `is_durable` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否持久化',
  `is_nonconcurrent` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否并发',
  `is_update_data` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否更新数据',
  `requests_recovery` varchar(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '是否接受恢复执行',
  `job_data` blob COMMENT '存放持久化job对象'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='任务详细信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_LOCKS`
--

DROP TABLE IF EXISTS `QRTZ_LOCKS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_LOCKS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `lock_name` varchar(40) COLLATE utf8mb4_general_ci NOT NULL COMMENT '悲观锁名称',
  PRIMARY KEY (`sched_name`,`lock_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='存储的悲观锁信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_PAUSED_TRIGGER_GRPS`
--

DROP TABLE IF EXISTS `QRTZ_PAUSED_TRIGGER_GRPS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_PAUSED_TRIGGER_GRPS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='暂停的触发器表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_SCHEDULER_STATE`
--

DROP TABLE IF EXISTS `QRTZ_SCHEDULER_STATE`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_SCHEDULER_STATE` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `instance_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '实例名称',
  `last_checkin_time` bigint(13) NOT NULL COMMENT '上次检查时间',
  `checkin_interval` bigint(13) NOT NULL COMMENT '检查间隔时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='调度器状态表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_SIMPLE_TRIGGERS`
--

DROP TABLE IF EXISTS `QRTZ_SIMPLE_TRIGGERS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_SIMPLE_TRIGGERS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `repeat_count` bigint(7) NOT NULL COMMENT '重复的次数统计',
  `repeat_interval` bigint(12) NOT NULL COMMENT '重复的间隔时间',
  `times_triggered` bigint(10) NOT NULL COMMENT '已经触发的次数'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='简单触发器的信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_SIMPROP_TRIGGERS`
--

DROP TABLE IF EXISTS `QRTZ_SIMPROP_TRIGGERS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_SIMPROP_TRIGGERS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_name的外键',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_triggers表trigger_group的外键',
  `str_prop_1` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第一个参数',
  `str_prop_2` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第二个参数',
  `str_prop_3` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'String类型的trigger的第三个参数',
  `int_prop_1` int(11) DEFAULT NULL COMMENT 'int类型的trigger的第一个参数',
  `int_prop_2` int(11) DEFAULT NULL COMMENT 'int类型的trigger的第二个参数',
  `long_prop_1` bigint(20) DEFAULT NULL COMMENT 'long类型的trigger的第一个参数',
  `long_prop_2` bigint(20) DEFAULT NULL COMMENT 'long类型的trigger的第二个参数',
  `dec_prop_1` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第一个参数',
  `dec_prop_2` decimal(13,4) DEFAULT NULL COMMENT 'decimal类型的trigger的第二个参数',
  `bool_prop_1` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Boolean类型的trigger的第一个参数',
  `bool_prop_2` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Boolean类型的trigger的第二个参数'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='同步机制的行锁表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `QRTZ_TRIGGERS`
--

DROP TABLE IF EXISTS `QRTZ_TRIGGERS`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `QRTZ_TRIGGERS` (
  `sched_name` varchar(120) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调度名称',
  `trigger_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器的名字',
  `trigger_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器所属组的名字',
  `job_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_job_details表job_name的外键',
  `job_group` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'qrtz_job_details表job_group的外键',
  `description` varchar(250) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '相关介绍',
  `next_fire_time` bigint(13) DEFAULT NULL COMMENT '上一次触发时间（毫秒）',
  `prev_fire_time` bigint(13) DEFAULT NULL COMMENT '下一次触发时间（默认为-1表示不触发）',
  `priority` int(11) DEFAULT NULL COMMENT '优先级',
  `trigger_state` varchar(16) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器状态',
  `trigger_type` varchar(8) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发器的类型',
  `start_time` bigint(13) NOT NULL COMMENT '开始时间',
  `end_time` bigint(13) DEFAULT NULL COMMENT '结束时间',
  `calendar_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日程表名称',
  `misfire_instr` smallint(2) DEFAULT NULL COMMENT '补偿执行的策略',
  `job_data` blob COMMENT '存放持久化job对象'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='触发器详细信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_account_info`
--

DROP TABLE IF EXISTS `ccdi_account_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_account_info` (
  `account_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `account_no` varchar(240) COLLATE utf8mb4_general_ci NOT NULL COMMENT '账号',
  `account_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '账户类型',
  `bank_scope` varchar(20) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'INTERNAL' COMMENT '账户范围：INTERNAL-行内，EXTERNAL-行外',
  `account_name` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '账户名称',
  `owner_type` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '归属人类型',
  `owner_id` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '归属人标识',
  `bank` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '开户行',
  `bank_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '开户行编码',
  `currency` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '币种',
  `is_self_account` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否本人账户',
  `monthly_avg_trans_count` int(11) DEFAULT NULL COMMENT '月均交易笔数',
  `monthly_avg_trans_amount` decimal(18,2) DEFAULT NULL COMMENT '月均交易金额',
  `trans_freq_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '交易频率类型',
  `dr_max_single_amount` decimal(18,2) DEFAULT NULL COMMENT '最大单笔支出金额',
  `cr_max_single_amount` decimal(18,2) DEFAULT NULL COMMENT '最大单笔收入金额',
  `dr_max_daily_amount` decimal(18,2) DEFAULT NULL COMMENT '最大单日支出金额',
  `cr_max_daily_amount` decimal(18,2) DEFAULT NULL COMMENT '最大单日收入金额',
  `trans_risk_level` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '交易风险等级',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '账户状态：1正常，2已销户',
  `effective_date` date DEFAULT NULL COMMENT '开户日期',
  `invalid_date` date DEFAULT NULL COMMENT '销户日期',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`account_id`),
  KEY `idx_ccdi_account_info_owner` (`owner_type`,`owner_id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工账户信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_asset_info`
--

DROP TABLE IF EXISTS `ccdi_asset_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_asset_info` (
  `asset_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '资产ID',
  `family_id` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '归属员工证件号',
  `person_id` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '资产实际持有人证件号',
  `asset_main_type` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '资产大类',
  `asset_sub_type` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '资产小类',
  `asset_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '资产名称',
  `ownership_ratio` decimal(5,2) DEFAULT NULL COMMENT '产权占比',
  `purchase_eval_date` date DEFAULT NULL COMMENT '购买/评估日期',
  `original_value` decimal(15,2) DEFAULT NULL COMMENT '资产原值',
  `current_value` decimal(15,2) NOT NULL COMMENT '当前估值',
  `valuation_date` date DEFAULT NULL COMMENT '估值截止日期',
  `asset_status` varchar(10) COLLATE utf8mb4_general_ci NOT NULL COMMENT '资产状态',
  `remarks` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`asset_id`),
  KEY `idx_family_id` (`family_id`),
  KEY `idx_person_id` (`person_id`),
  KEY `idx_asset_main_type` (`asset_main_type`)
) ENGINE=InnoDB AUTO_INCREMENT=959 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工资产信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_bank_statement`
--

DROP TABLE IF EXISTS `ccdi_bank_statement`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_bank_statement` (
  `bank_statement_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `project_id` bigint(20) NOT NULL COMMENT '关联项目ID',
  `LE_ID` int(10) unsigned DEFAULT '0' COMMENT '企业ID',
  `ACCOUNT_ID` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '账号ID',
  `LE_ACCOUNT_NAME` varchar(240) COLLATE utf8mb4_general_ci DEFAULT 'NONE' COMMENT '企业账号名称',
  `LE_ACCOUNT_NO` varchar(240) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '企业银行账号',
  `ACCOUNTING_DATE_ID` int(11) NOT NULL COMMENT '账号日期ID',
  `ACCOUNTING_DATE` varchar(10) COLLATE utf8mb4_general_ci DEFAULT '0000-00-00' COMMENT '账号日期',
  `TRX_DATE` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '交易日期',
  `CURRENCY` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '币种',
  `AMOUNT_DR` decimal(19,2) NOT NULL DEFAULT '0.00' COMMENT '付款金额',
  `AMOUNT_CR` decimal(19,2) NOT NULL DEFAULT '0.00' COMMENT '收款金额',
  `AMOUNT_BALANCE` decimal(19,2) NOT NULL COMMENT '余额',
  `CASH_TYPE` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '交易类型',
  `CUSTOMER_LE_ID` int(11) DEFAULT '-1' COMMENT '对手方企业ID',
  `CUSTOMER_ACCOUNT_NAME` varchar(240) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '对手方企业名称',
  `CUSTOMER_ACCOUNT_NO` varchar(240) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '对手方账号',
  `customer_bank` varchar(300) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '对手方银行',
  `customer_reference` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '对手方备注',
  `customer_cert_no` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '交易对手方证件号',
  `customer_social_credit_code` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '交易对手方统一社会信用代码',
  `USER_MEMO` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '用户交易摘要',
  `BANK_COMMENTS` varchar(240) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '银行交易摘要',
  `BANK_TRX_NUMBER` varchar(240) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '银行交易号',
  `BANK` varchar(250) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '所属银行缩写',
  `TRX_FLAG` varchar(2) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '交易标志位',
  `TRX_TYPE` int(11) NOT NULL DEFAULT '0' COMMENT '分类ID',
  `EXCEPTION_TYPE` varchar(50) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '异常类型',
  `internal_flag` tinyint(1) DEFAULT '0' COMMENT '"是否为内部交易1 是 0 否"',
  `batch_id` int(11) NOT NULL DEFAULT '0' COMMENT '上传logId对应upload_log',
  `batch_sequence` int(11) NOT NULL COMMENT '每次上传在文件中的line',
  `CREATE_DATE` datetime DEFAULT NULL COMMENT '创建时间内',
  `created_by` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '创建者',
  `meta_json` text COLLATE utf8mb4_general_ci COMMENT '"meta json"',
  `no_balance` tinyint(1) DEFAULT '0' COMMENT '是否包含余额',
  `begin_balance` tinyint(1) DEFAULT '0' COMMENT '初始余额',
  `end_balance` tinyint(1) DEFAULT '0' COMMENT '结束余额',
  `group_id` int(11) DEFAULT '0' COMMENT '项目id',
  `override_bs_id` bigint(20) DEFAULT '0' COMMENT '=0表示该数据未覆盖主表，>0表示覆盖主表，<0表示被主表覆盖',
  `payment_method` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信、支付宝流水字段，交易方式',
  `cret_no` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '身份证号',
  PRIMARY KEY (`bank_statement_id`),
  KEY `GROUP_ID` (`group_id`),
  KEY `idx_project_id` (`project_id`)
) ENGINE=InnoDB AUTO_INCREMENT=78778 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='银行流水的中间处理表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_bank_statement_tag_result`
--

DROP TABLE IF EXISTS `ccdi_bank_statement_tag_result`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_bank_statement_tag_result` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `project_id` bigint(20) NOT NULL COMMENT '项目ID',
  `model_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型编码',
  `model_name` varchar(128) COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型名称',
  `rule_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则编码',
  `rule_name` varchar(128) COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则名称',
  `indicator_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '指标编码',
  `result_type` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '结果类型',
  `risk_level` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '风险等级',
  `bank_statement_id` bigint(20) DEFAULT NULL COMMENT '流水ID',
  `object_type` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '对象类型',
  `object_key` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '对象主键',
  `group_id` int(11) DEFAULT NULL COMMENT '项目分组ID',
  `log_id` int(11) DEFAULT NULL COMMENT '批次日志ID',
  `reason_detail` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '异常原因快照',
  `business_caliber_snapshot` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '业务口径快照',
  `hit_value_snapshot` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '命中值快照',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_ccdi_bank_tag_statement_hit` (`project_id`,`rule_code`,`bank_statement_id`)
) ENGINE=InnoDB AUTO_INCREMENT=71514 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='流水标签结果表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_bank_tag_rule`
--

DROP TABLE IF EXISTS `ccdi_bank_tag_rule`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_bank_tag_rule` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `model_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型编码',
  `model_name` varchar(128) COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型名称',
  `rule_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则编码',
  `rule_name` varchar(128) COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则名称',
  `indicator_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '指标编码',
  `result_type` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '结果类型',
  `risk_level` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '风险等级',
  `business_caliber` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '业务口径',
  `enabled` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否启用',
  `sort_order` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_ccdi_bank_tag_rule_code` (`rule_code`)
) ENGINE=InnoDB AUTO_INCREMENT=78 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='流水标签规则定义表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_bank_tag_task`
--

DROP TABLE IF EXISTS `ccdi_bank_tag_task`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_bank_tag_task` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `project_id` bigint(20) NOT NULL COMMENT '项目ID',
  `trigger_type` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '触发方式',
  `model_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '模型编码',
  `status` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务状态',
  `need_rerun` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否需要补跑',
  `success_rule_count` int(11) NOT NULL DEFAULT '0' COMMENT '成功规则数',
  `failed_rule_count` int(11) NOT NULL DEFAULT '0' COMMENT '失败规则数',
  `hit_count` int(11) NOT NULL DEFAULT '0' COMMENT '命中数量',
  `error_message` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '错误信息',
  `start_time` datetime DEFAULT NULL COMMENT '开始时间',
  `end_time` datetime DEFAULT NULL COMMENT '结束时间',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_ccdi_bank_tag_task_project_status` (`project_id`,`status`)
) ENGINE=InnoDB AUTO_INCREMENT=81 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='流水标签任务表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_base_staff`
--

DROP TABLE IF EXISTS `ccdi_base_staff`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_base_staff` (
  `staff_id` bigint(20) NOT NULL COMMENT '员工ID(柜员号,7位数字)',
  `name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '姓名',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '所属部门ID',
  `id_card` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '身份证号',
  `phone` varchar(11) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电话',
  `annual_income` decimal(15,2) DEFAULT NULL COMMENT 'å¹´æ”¶å…¥ï¼ˆå…ƒ/å¹´ï¼‰',
  `hire_date` date DEFAULT NULL COMMENT '入职时间',
  `is_party_member` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否党员：0-否 1-是',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '状态（0在职 1离职）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`staff_id`),
  KEY `idx_status` (`status`),
  KEY `idx_dept_id` (`dept_id`),
  KEY `idx_id_card` (`id_card`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_biz_intermediary`
--

DROP TABLE IF EXISTS `ccdi_biz_intermediary`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_biz_intermediary` (
  `biz_id` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '人员ID',
  `person_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '人员类型',
  `person_sub_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '人员子类型',
  `name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '姓名',
  `gender` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '性别',
  `id_type` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '身份证' COMMENT '证件类型',
  `person_id` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '证件号码',
  `mobile` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '手机号码',
  `wechat_no` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信号',
  `contact_address` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系地址',
  `company` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所在公司',
  `social_credit_code` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业统一信用码',
  `position` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '职位',
  `related_num_id` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联人员ID',
  `relation_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联关系',
  `data_source` varchar(20) COLLATE utf8mb4_general_ci DEFAULT 'MANUAL' COMMENT '数据来源',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注信息',
  `created_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '记录创建人',
  `updated_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '记录更新人',
  `create_time` datetime DEFAULT NULL COMMENT '记录创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '记录更新时间',
  PRIMARY KEY (`biz_id`),
  UNIQUE KEY `uk_person_id` (`person_id`),
  KEY `idx_name` (`name`),
  KEY `idx_mobile` (`mobile`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='中介人员基本信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_credit_negative_info`
--

DROP TABLE IF EXISTS `ccdi_credit_negative_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_credit_negative_info` (
  `negative_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `person_id` varchar(18) COLLATE utf8mb4_general_ci NOT NULL COMMENT '员工身份证号',
  `person_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '员工姓名',
  `query_date` date DEFAULT NULL COMMENT '征信查询日期',
  `civil_cnt` int(11) DEFAULT '0' COMMENT '民事案件笔数',
  `enforce_cnt` int(11) DEFAULT '0' COMMENT '强制执行笔数',
  `adm_cnt` int(11) DEFAULT '0' COMMENT '行政处罚笔数',
  `civil_lmt` decimal(18,2) DEFAULT '0.00' COMMENT '民事案件金额',
  `enforce_lmt` decimal(18,2) DEFAULT '0.00' COMMENT '强制执行金额',
  `adm_lmt` decimal(18,2) DEFAULT '0.00' COMMENT '行政处罚金额',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`negative_id`),
  UNIQUE KEY `uk_person_id` (`person_id`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工征信负面信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_cust_enterprise_relation`
--

DROP TABLE IF EXISTS `ccdi_cust_enterprise_relation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_cust_enterprise_relation` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键，唯一标识',
  `person_id` varchar(18) COLLATE utf8mb4_general_ci NOT NULL COMMENT '身份证号',
  `relation_person_post` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联人在企业的职务',
  `social_credit_code` varchar(18) COLLATE utf8mb4_general_ci NOT NULL COMMENT '统一社会信用代码',
  `enterprise_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业名称',
  `status` int(11) NOT NULL DEFAULT '1' COMMENT '关系是否有效',
  `remark` text COLLATE utf8mb4_general_ci COMMENT '补充说明',
  `data_source` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据来源',
  `is_employee` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是员工',
  `is_emp_family` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是员工家庭关联人',
  `is_customer` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是信贷客户',
  `is_cust_family` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是信贷客户关联人',
  `created_by` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '记录创建人',
  `updated_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '记录更新人',
  `create_time` datetime NOT NULL COMMENT '记录创建时间',
  `update_time` datetime NOT NULL COMMENT '记录更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_person_enterprise` (`person_id`,`social_credit_code`),
  KEY `idx_person_id` (`person_id`),
  KEY `idx_social_credit_code` (`social_credit_code`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='信贷客户实体关联关系表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_cust_fmy_relation`
--

DROP TABLE IF EXISTS `ccdi_cust_fmy_relation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_cust_fmy_relation` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `person_id` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '信贷客户身份证号',
  `relation_type` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '关系类型',
  `relation_name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '关系人姓名',
  `gender` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '性别：M-男，F-女，O-其他',
  `birth_date` date DEFAULT NULL COMMENT '关系人出生日期',
  `relation_cert_type` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '证件类型',
  `relation_cert_no` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '证件号码',
  `mobile_phone1` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '手机号码1',
  `mobile_phone2` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '手机号码2',
  `wechat_no1` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信名称1',
  `wechat_no2` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信名称2',
  `wechat_no3` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信名称3',
  `contact_address` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '详细联系地址',
  `relation_desc` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关系详细描述',
  `status` int(11) NOT NULL DEFAULT '1' COMMENT '状态：0-无效，1-有效',
  `effective_date` datetime DEFAULT NULL COMMENT '关系生效日期',
  `invalid_date` datetime DEFAULT NULL COMMENT '关系失效日期',
  `remark` text COLLATE utf8mb4_general_ci COMMENT '备注信息',
  `data_source` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据来源：MANUAL-手动录入，IMPORT-批量导入',
  `is_emp_family` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是员工的家庭关系：0-否',
  `is_cust_family` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否是信贷客户的家庭关系：1-是',
  `created_by` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '记录创建人',
  `updated_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '记录更新人',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '记录更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_person_cert` (`person_id`,`relation_cert_no`) COMMENT '信贷客户身份证号+关系人证件号码唯一',
  KEY `idx_person_id` (`person_id`),
  KEY `idx_relation_cert_no` (`relation_cert_no`),
  KEY `idx_status` (`status`) COMMENT '状态索引',
  KEY `idx_data_source` (`data_source`) COMMENT '数据来源索引'
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='信贷客户家庭关系表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_debts_info`
--

DROP TABLE IF EXISTS `ccdi_debts_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_debts_info` (
  `debt_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `person_id` varchar(18) COLLATE utf8mb4_general_ci NOT NULL COMMENT '员工身份证号',
  `person_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '员工姓名',
  `query_date` date DEFAULT NULL COMMENT '征信查询日期',
  `debt_main_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负债大类',
  `debt_sub_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负债小类',
  `creditor_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '债权人类型',
  `debt_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负债名称',
  `principal_balance` decimal(18,2) DEFAULT NULL COMMENT '负债本金余额',
  `debt_total_amount` decimal(18,2) DEFAULT NULL COMMENT '负债总额',
  `debt_status` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负债状态',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`debt_id`),
  KEY `idx_person_id` (`person_id`),
  KEY `idx_query_date` (`query_date`),
  KEY `idx_person_query_date` (`person_id`,`query_date`)
) ENGINE=InnoDB AUTO_INCREMENT=146 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工征信负债明细';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_enterprise_base_info`
--

DROP TABLE IF EXISTS `ccdi_enterprise_base_info`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_enterprise_base_info` (
  `social_credit_code` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '统一社会信用代码',
  `enterprise_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业名称',
  `enterprise_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业类型',
  `enterprise_nature` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业性质',
  `industry_class` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '行业分类',
  `industry_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '所属行业',
  `establish_date` date DEFAULT NULL COMMENT '成立日期',
  `register_address` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '注册地址',
  `legal_representative` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '法定代表人',
  `legal_cert_type` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '法定代表人证件类型',
  `legal_cert_no` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '法定代表人证件号码',
  `shareholder1` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '股东1',
  `shareholder2` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '股东2',
  `shareholder3` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '股东3',
  `shareholder4` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '股东4',
  `shareholder5` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '股东5',
  `status` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '经营状态',
  `risk_level` varchar(1) COLLATE utf8mb4_general_ci DEFAULT '3' COMMENT '风险等级：1-高风险, 2-中风险, 3-低风险',
  `ent_source` varchar(20) COLLATE utf8mb4_general_ci DEFAULT 'GENERAL' COMMENT '企业来源：GENERAL-一般企业, EMP_RELATION-员工关系人, CREDIT_CUSTOMER-信贷客户, INTERMEDIARY-中介, BOTH-兼有',
  `data_source` varchar(20) COLLATE utf8mb4_general_ci DEFAULT 'MANUAL' COMMENT '数据来源',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `created_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建人',
  `updated_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新人',
  PRIMARY KEY (`social_credit_code`),
  KEY `idx_ent_source` (`ent_source`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='企业主体信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_evidence`
--

DROP TABLE IF EXISTS `ccdi_evidence`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_evidence` (
  `evidence_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '证据ID',
  `project_id` bigint(20) NOT NULL COMMENT '项目ID',
  `evidence_type` varchar(32) NOT NULL COMMENT '证据类型：FLOW/MODEL/ASSET',
  `related_person_name` varchar(100) NOT NULL COMMENT '关联人员姓名',
  `related_person_id` varchar(64) DEFAULT NULL COMMENT '关联人员标识，优先存身份证号或员工号',
  `evidence_title` varchar(255) NOT NULL COMMENT '证据标题',
  `evidence_summary` varchar(1000) NOT NULL COMMENT '证据摘要',
  `source_type` varchar(64) NOT NULL COMMENT '来源类型：BANK_STATEMENT/MODEL_DETAIL/ASSET_DETAIL',
  `source_record_id` varchar(128) DEFAULT NULL COMMENT '来源记录ID',
  `source_page` varchar(100) DEFAULT NULL COMMENT '来源页面名称',
  `snapshot_json` longtext COMMENT '证据快照JSON',
  `confirm_reason` varchar(1000) NOT NULL COMMENT '确认理由/备注',
  `confirm_by` varchar(64) DEFAULT NULL COMMENT '确认人',
  `confirm_time` datetime DEFAULT NULL COMMENT '确认时间',
  `create_by` varchar(64) DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`evidence_id`),
  KEY `idx_ccdi_evidence_project` (`project_id`),
  KEY `idx_ccdi_evidence_type` (`evidence_type`),
  KEY `idx_ccdi_evidence_person` (`related_person_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='项目证据表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_file_upload_record`
--

DROP TABLE IF EXISTS `ccdi_file_upload_record`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_file_upload_record` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `project_id` bigint(20) NOT NULL COMMENT '项目ID',
  `lsfx_project_id` int(11) DEFAULT NULL COMMENT '流水分析平台项目ID',
  `log_id` int(11) DEFAULT NULL COMMENT '流水分析平台返回的logId',
  `file_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件名称',
  `file_size` bigint(20) DEFAULT NULL COMMENT '文件大小（字节）',
  `file_status` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件状态：uploading-上传中，parsing-解析中，parsed_success-解析成功，parsed_failed-解析失败',
  `enterprise_names` text COLLATE utf8mb4_general_ci COMMENT '主体名称（多个用逗号分隔）',
  `account_nos` text COLLATE utf8mb4_general_ci COMMENT '主体账号（多个用逗号分隔）',
  `error_message` text COLLATE utf8mb4_general_ci COMMENT '错误信息（解析失败时记录）',
  `upload_time` datetime NOT NULL COMMENT '上传时间',
  `upload_user` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '上传人',
  `source_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT 'UPLOAD' COMMENT '来源类型',
  `source_project_id` bigint(20) DEFAULT NULL COMMENT '来源项目ID',
  `source_project_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '来源项目名称',
  PRIMARY KEY (`id`),
  KEY `idx_project_id` (`project_id`),
  KEY `idx_log_id` (`log_id`),
  KEY `idx_file_status` (`file_status`),
  KEY `idx_upload_time` (`upload_time`),
  KEY `idx_project_status` (`project_id`,`file_status`)
) ENGINE=InnoDB AUTO_INCREMENT=183 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='项目文件上传记录表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_intermediary_enterprise_relation`
--

DROP TABLE IF EXISTS `ccdi_intermediary_enterprise_relation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_intermediary_enterprise_relation` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `intermediary_biz_id` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '所属中介biz_id',
  `social_credit_code` varchar(18) COLLATE utf8mb4_general_ci NOT NULL COMMENT '统一社会信用代码',
  `relation_person_post` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联角色/职务',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  `created_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_intermediary_enterprise` (`intermediary_biz_id`,`social_credit_code`),
  KEY `idx_intermediary_biz_id` (`intermediary_biz_id`),
  KEY `idx_social_credit_code` (`social_credit_code`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='中介关联机构关系表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_model_param`
--

DROP TABLE IF EXISTS `ccdi_model_param`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_model_param` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `project_id` bigint(20) DEFAULT '0' COMMENT '项目ID(0表示默认参数,其他值为具体项目ID)',
  `model_code` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型编码',
  `model_name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '模型名称',
  `param_code` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数编码',
  `param_name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '监测项名称',
  `param_desc` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '参数描述',
  `param_value` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '参数值',
  `param_unit` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '参数单位',
  `sort_order` int(11) DEFAULT '0' COMMENT '排序号(参数展示顺序)',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  KEY `idx_project_id` (`project_id`),
  KEY `idx_model_code` (`model_code`)
) ENGINE=InnoDB AUTO_INCREMENT=174 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='模型参数配置表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_project`
--

DROP TABLE IF EXISTS `ccdi_project`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_project` (
  `project_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '项目ID',
  `project_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '项目名称',
  `description` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目描述',
  `config_type` varchar(20) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'default' COMMENT '配置方式：default-全局默认，custom-自定义',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '0' COMMENT '项目状态：0-进行中，1-已完成，2-已归档，3-打标中，4-打标失败，5-已删除',
  `is_archived` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否归档：0-未归档，1-已归档',
  `target_count` int(11) NOT NULL DEFAULT '0' COMMENT '目标人数',
  `high_risk_count` int(11) NOT NULL DEFAULT '0' COMMENT '高风险人数',
  `medium_risk_count` int(11) NOT NULL DEFAULT '0' COMMENT '中风险人数',
  `low_risk_count` int(11) NOT NULL DEFAULT '0' COMMENT '低风险人数',
  `lsfx_project_id` int(11) DEFAULT NULL COMMENT '流水分析平台项目ID',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志：0-存在，2-删除',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`project_id`),
  KEY `idx_status` (`status`),
  KEY `idx_is_archived` (`is_archived`),
  KEY `idx_del_flag` (`del_flag`),
  KEY `idx_create_time` (`create_time`)
) ENGINE=InnoDB AUTO_INCREMENT=90339 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='纪检初核项目表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_project_overview_employee_result`
--

DROP TABLE IF EXISTS `ccdi_project_overview_employee_result`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_project_overview_employee_result` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `project_id` bigint(20) NOT NULL COMMENT '项目ID',
  `staff_id_card` varchar(18) COLLATE utf8mb4_general_ci NOT NULL COMMENT '员工身份证号',
  `staff_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '员工工号',
  `staff_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '员工姓名',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
  `dept_name` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '部门名称',
  `rule_count` int(11) NOT NULL DEFAULT '0' COMMENT '命中规则数',
  `model_count` int(11) NOT NULL DEFAULT '0' COMMENT '命中模型数',
  `hit_count` int(11) NOT NULL DEFAULT '0' COMMENT '命中次数',
  `risk_level_code` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '风险等级编码',
  `risk_point` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '风险点',
  `model_codes_csv` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '命中模型编码CSV',
  `model_names_json` json DEFAULT NULL COMMENT '命中模型名称快照',
  `hit_rules_json` json DEFAULT NULL COMMENT '命中规则快照',
  `model_hit_summary_json` json DEFAULT NULL COMMENT '模型命中汇总快照',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_ccdi_project_overview_employee_result` (`project_id`,`staff_id_card`),
  KEY `idx_ccdi_project_overview_employee_result_risk_level` (`project_id`,`risk_level_code`),
  KEY `idx_ccdi_project_overview_employee_result_dept` (`project_id`,`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=157 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='结果总览员工结果表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_project_risk_exclusion`
--

DROP TABLE IF EXISTS `ccdi_project_risk_exclusion`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_project_risk_exclusion` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `project_id` bigint(20) NOT NULL COMMENT '项目ID',
  `staff_id_card` varchar(18) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '员工身份证号',
  `rule_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '规则编码',
  `exclusion_type` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '排除类型：STATEMENT/OBJECT',
  `bank_statement_id` bigint(20) DEFAULT NULL COMMENT '流水ID，仅流水型排除使用',
  `exclude_reason` varchar(1000) COLLATE utf8mb4_general_ci NOT NULL COMMENT '排除原因',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_ccdi_project_risk_exclusion_statement` (`project_id`,`rule_code`,`exclusion_type`,`bank_statement_id`),
  UNIQUE KEY `uk_ccdi_project_risk_exclusion_object` (`project_id`,`staff_id_card`,`rule_code`,`exclusion_type`),
  KEY `idx_ccdi_project_risk_exclusion_project` (`project_id`,`exclusion_type`),
  KEY `idx_ccdi_project_risk_exclusion_staff` (`staff_id_card`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='项目结果页排除可疑记录表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_purchase_transaction`
--

DROP TABLE IF EXISTS `ccdi_purchase_transaction`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_purchase_transaction` (
  `purchase_id` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '采购事项ID',
  `purchase_category` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '采购类别',
  `project_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '项目名称',
  `subject_name` varchar(200) COLLATE utf8mb4_general_ci NOT NULL COMMENT '标的物名称',
  `subject_desc` text COLLATE utf8mb4_general_ci COMMENT '标的物描述',
  `purchase_qty` decimal(12,4) NOT NULL DEFAULT '1.0000' COMMENT '采购数量',
  `budget_amount` decimal(18,2) NOT NULL COMMENT '预算金额',
  `bid_amount` decimal(18,2) DEFAULT NULL COMMENT '中标金额',
  `actual_amount` decimal(18,2) DEFAULT NULL COMMENT '实际采购金额',
  `contract_amount` decimal(18,2) DEFAULT NULL COMMENT '合同金额',
  `settlement_amount` decimal(18,2) DEFAULT NULL COMMENT '结算金额',
  `purchase_method` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '采购方式',
  `supplier_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '中标供应商名称',
  `contact_person` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商联系人',
  `contact_phone` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商联系电话',
  `supplier_uscc` varchar(18) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商统一信用代码',
  `supplier_bank_account` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商银行账户',
  `apply_date` date NOT NULL COMMENT '采购申请日期',
  `plan_approve_date` date DEFAULT NULL COMMENT '采购计划批准日期',
  `announce_date` date DEFAULT NULL COMMENT '采购公告发布日期',
  `bid_open_date` date DEFAULT NULL COMMENT '开标日期',
  `contract_sign_date` date DEFAULT NULL COMMENT '合同签订日期',
  `expected_delivery_date` date DEFAULT NULL COMMENT '预计交货日期',
  `actual_delivery_date` date DEFAULT NULL COMMENT '实际交货日期',
  `acceptance_date` date DEFAULT NULL COMMENT '验收日期',
  `settlement_date` date DEFAULT NULL COMMENT '结算日期',
  `applicant_id` varchar(7) COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请人工号',
  `applicant_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请人姓名',
  `apply_department` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '申请部门',
  `purchase_leader_id` varchar(7) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '采购负责人工号',
  `purchase_leader_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '采购负责人姓名',
  `purchase_department` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '采购部门',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `created_by` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `updated_by` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人',
  PRIMARY KEY (`purchase_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工采购交易信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_purchase_transaction_supplier`
--

DROP TABLE IF EXISTS `ccdi_purchase_transaction_supplier`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_purchase_transaction_supplier` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `purchase_id` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '采购事项ID',
  `supplier_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '供应商名称',
  `supplier_uscc` varchar(18) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商统一信用代码',
  `contact_person` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商联系人',
  `contact_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商联系电话',
  `supplier_bank_account` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '供应商银行账户',
  `is_bid_winner` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否中标：1-是，0-否',
  `sort_order` int(11) NOT NULL DEFAULT '1' COMMENT '排序',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建人',
  `updated_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人',
  PRIMARY KEY (`id`),
  KEY `idx_purchase_id` (`purchase_id`),
  KEY `idx_purchase_bid_winner` (`purchase_id`,`is_bid_winner`)
) ENGINE=InnoDB AUTO_INCREMENT=2065 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='招投标供应商明细表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_staff_enterprise_relation`
--

DROP TABLE IF EXISTS `ccdi_staff_enterprise_relation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_staff_enterprise_relation` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键，唯一标识',
  `person_id` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '身份证号，关联员工表的外键',
  `relation_person_post` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联人在企业的职务：股东、法人、高管、实际控制人等',
  `social_credit_code` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '统一社会信用代码，关联企业主体信息表的外键',
  `enterprise_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业名称（冗余存储，便于快速查询）',
  `status` int(11) NOT NULL DEFAULT '1' COMMENT '关系是否有效：0 - 无效、1 - 有效（默认有效）',
  `remark` text COLLATE utf8mb4_general_ci COMMENT '补充说明',
  `data_source` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据来源',
  `is_employee` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是员工：0-否 1-是',
  `is_emp_family` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否是员工家庭关联人：0-否 1-是',
  `is_customer` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是信贷客户：0-否 1-是',
  `is_cust_family` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是信贷客户关联人：0-否 1-是',
  `created_by` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '记录创建人',
  `updated_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '记录更新人',
  `create_time` datetime NOT NULL COMMENT '记录创建时间',
  `update_time` datetime NOT NULL COMMENT '记录更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_person_social` (`person_id`,`social_credit_code`) COMMENT '业务唯一性约束'
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工实体关系表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_staff_fmy_relation`
--

DROP TABLE IF EXISTS `ccdi_staff_fmy_relation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_staff_fmy_relation` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `person_id` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '员工身份证号',
  `relation_type` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '关系类型',
  `relation_name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '关系人姓名',
  `gender` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '性别：M-男，F-女，O-其他',
  `birth_date` date DEFAULT NULL COMMENT '关系人出生日期',
  `relation_cert_type` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '关系人证件类型',
  `relation_cert_no` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '关系人证件号码',
  `mobile_phone1` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '手机号码1',
  `mobile_phone2` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '手机号码2',
  `annual_income` decimal(15,2) DEFAULT NULL COMMENT 'å®¶åº­æˆå‘˜å¹´æ”¶å…¥ï¼ˆå…ƒ/å¹´ï¼‰',
  `wechat_no1` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信名称1',
  `wechat_no2` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信名称2',
  `wechat_no3` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '微信名称3',
  `contact_address` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '详细联系地址',
  `relation_desc` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关系详细描述',
  `status` int(11) NOT NULL DEFAULT '1' COMMENT '状态：0-无效，1-有效',
  `effective_date` datetime DEFAULT NULL COMMENT '关系生效日期',
  `invalid_date` datetime DEFAULT NULL COMMENT '关系失效日期',
  `remark` text COLLATE utf8mb4_general_ci COMMENT '备注信息',
  `data_source` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '数据来源：MANUAL-手工录入，SYSTEM-系统同步，IMPORT-批量导入，API-接口获取',
  `is_emp_family` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否是员工的家庭关系：0-否 1-是',
  `is_cust_family` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否是信贷客户的家庭关系：0-否 1-是',
  `created_by` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '记录创建人',
  `updated_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '记录更新人',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '记录更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_person_cert` (`person_id`,`relation_cert_no`),
  KEY `idx_person_id` (`person_id`),
  KEY `idx_relation_cert_no` (`relation_cert_no`),
  KEY `idx_status` (`status`),
  KEY `idx_data_source` (`data_source`)
) ENGINE=InnoDB AUTO_INCREMENT=5609 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工家庭关系表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_staff_recruitment`
--

DROP TABLE IF EXISTS `ccdi_staff_recruitment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_staff_recruitment` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `recruit_id` varchar(32) COLLATE utf8mb4_general_ci NOT NULL COMMENT '招聘项目编号',
  `recruit_name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '招聘项目名称',
  `pos_name` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '职位名称',
  `pos_category` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '职位类别',
  `pos_desc` text COLLATE utf8mb4_general_ci NOT NULL COMMENT '职位描述',
  `cand_name` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '应聘人员姓名',
  `cand_edu` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '应聘人员学历',
  `cand_id` varchar(18) COLLATE utf8mb4_general_ci NOT NULL COMMENT '应聘人员证件号码',
  `cand_school` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '应聘人员毕业院校',
  `cand_major` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '应聘人员专业',
  `cand_grad` varchar(6) COLLATE utf8mb4_general_ci NOT NULL COMMENT '应聘人员毕业年月',
  `recruit_type` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '招聘类型：SOCIAL-社招，CAMPUS-校招',
  `admit_status` varchar(10) COLLATE utf8mb4_general_ci NOT NULL COMMENT '录用情况:录用、未录用、放弃',
  `interviewer_name1` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '面试官1姓名',
  `interviewer_id1` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '面试官1工号',
  `interviewer_name2` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '面试官2姓名',
  `interviewer_id2` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '面试官2工号',
  `created_by` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '记录创建人',
  `updated_by` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '记录更新人',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_staff_recruitment_recruit_id` (`recruit_id`),
  KEY `idx_cand_id` (`cand_id`),
  KEY `idx_admit_status` (`admit_status`),
  KEY `idx_interviewer_id1` (`interviewer_id1`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工招聘信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_staff_recruitment_work`
--

DROP TABLE IF EXISTS `ccdi_staff_recruitment_work`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_staff_recruitment_work` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `recruitment_id` bigint(20) NOT NULL COMMENT '关联招聘信息主键ID',
  `recruit_id` varchar(32) NOT NULL COMMENT '关联招聘记录编号',
  `sort_order` int(11) NOT NULL DEFAULT '1' COMMENT '排序号，1 表示最近一段经历',
  `company_name` varchar(200) NOT NULL COMMENT '工作单位',
  `department_name` varchar(100) DEFAULT NULL COMMENT '所属部门',
  `position_name` varchar(100) DEFAULT NULL COMMENT '岗位名称',
  `job_start_month` varchar(7) NOT NULL COMMENT '入职年月，格式 YYYY-MM',
  `job_end_month` varchar(7) DEFAULT NULL COMMENT '离职年月，格式 YYYY-MM',
  `departure_reason` varchar(500) DEFAULT NULL COMMENT '离职原因',
  `work_content` varchar(1000) DEFAULT NULL COMMENT '主要工作内容',
  `remark` varchar(500) DEFAULT NULL COMMENT '备注',
  `created_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  KEY `idx_recruitment_id` (`recruitment_id`),
  KEY `idx_recruitment_id_sort_order` (`recruitment_id`,`sort_order`),
  KEY `idx_recruit_id` (`recruit_id`),
  KEY `idx_recruit_id_sort_order` (`recruit_id`,`sort_order`)
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='招聘信息历史工作经历表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `ccdi_staff_transfer`
--

DROP TABLE IF EXISTS `ccdi_staff_transfer`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ccdi_staff_transfer` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `staff_id` bigint(20) NOT NULL COMMENT '员工ID,关联ccdi_base_staff.staff_id',
  `transfer_type` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动类型:PROMOTION-升职,DEMOPTION-降职,LATERAL-平调,ROTATION-轮岗,SECONDMENT-借调,DEPARTMENT_CHANGE-部门调动,POSITION_CHANGE-职位调整,RETURN-返岗,TERMINATION-离职,OTHER-其他',
  `transfer_sub_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动子类型,双聘调动、临时调动等',
  `dept_id_before` bigint(20) DEFAULT NULL COMMENT '调动前部门ID',
  `dept_name_before` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动前部门',
  `grade_before` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动前职级',
  `position_before` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动前岗位',
  `salary_level_before` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动前薪酬等级',
  `dept_id_after` bigint(20) DEFAULT NULL COMMENT '调动后部门ID',
  `dept_name_after` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动后部门',
  `grade_after` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动后职级',
  `position_after` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动后岗位',
  `salary_level_after` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '调动后薪酬等级',
  `transfer_date` date DEFAULT NULL COMMENT '调动日期',
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '记录更新时间',
  `created_by` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '创建人',
  `updated_by` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新人',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_staff_transfer_date` (`staff_id`,`dept_id_before`,`dept_id_after`,`transfer_date`),
  KEY `idx_staff_id` (`staff_id`) USING BTREE,
  KEY `idx_transfer_type` (`transfer_type`) USING BTREE,
  KEY `idx_transfer_date` (`transfer_date`) USING BTREE,
  KEY `idx_dept_before` (`dept_id_before`) USING BTREE,
  KEY `idx_dept_after` (`dept_id_after`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=415 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='员工调动记录表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `gen_table`
--

DROP TABLE IF EXISTS `gen_table`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `gen_table` (
  `table_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表描述',
  `sub_table_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联子表的表名',
  `sub_table_fk_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '子表关联的外键名',
  `class_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) COLLATE utf8mb4_general_ci DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
  `tpl_web_type` varchar(30) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '前端模板类型（element-ui模版 element-plus模版）',
  `package_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '其它生成选项',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='代码生成业务表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `gen_table_column`
--

DROP TABLE IF EXISTS `gen_table_column`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `gen_table_column` (
  `column_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_id` bigint(20) DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `sort` int(11) DEFAULT NULL COMMENT '排序',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='代码生成业务表字段';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_config`
--

DROP TABLE IF EXISTS `sys_config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_config` (
  `config_id` int(5) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='参数配置表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_dept`
--

DROP TABLE IF EXISTS `sys_dept`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_dept` (
  `dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id',
  `parent_id` bigint(20) DEFAULT '0' COMMENT '父部门id',
  `ancestors` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `order_num` int(4) DEFAULT '0' COMMENT '显示顺序',
  `leader` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '邮箱',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB AUTO_INCREMENT=110 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='部门表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_dict_data`
--

DROP TABLE IF EXISTS `sys_dict_data`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int(4) DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`)
) ENGINE=InnoDB AUTO_INCREMENT=174 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='字典数据表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_dict_type`
--

DROP TABLE IF EXISTS `sys_dict_type`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`),
  UNIQUE KEY `dict_type` (`dict_type`)
) ENGINE=InnoDB AUTO_INCREMENT=118 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='字典类型表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_job`
--

DROP TABLE IF EXISTS `sys_job`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_job` (
  `job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `job_name` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '任务名称',
  `job_group` varchar(64) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
  `invoke_target` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
  `cron_expression` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'cron执行表达式',
  `misfire_policy` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '3' COMMENT '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
  `concurrent` char(1) COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '是否并发执行（0允许 1禁止）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1暂停）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注信息',
  PRIMARY KEY (`job_id`,`job_name`,`job_group`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='定时任务调度表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_job_log`
--

DROP TABLE IF EXISTS `sys_job_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_job_log` (
  `job_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
  `job_name` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称',
  `job_group` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名',
  `invoke_target` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串',
  `job_message` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '日志信息',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '执行状态（0正常 1失败）',
  `exception_info` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '异常信息',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`job_log_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='定时任务调度日志表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_logininfor`
--

DROP TABLE IF EXISTS `sys_logininfor`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '访问ID',
  `user_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户账号',
  `ipaddr` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作系统',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '提示消息',
  `login_time` datetime DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`),
  KEY `idx_sys_logininfor_s` (`status`),
  KEY `idx_sys_logininfor_lt` (`login_time`)
) ENGINE=InnoDB AUTO_INCREMENT=900 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='系统访问记录';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_menu`
--

DROP TABLE IF EXISTS `sys_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_menu` (
  `menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
  `parent_id` bigint(20) DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int(4) DEFAULT '0' COMMENT '显示顺序',
  `path` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '组件路径',
  `query` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '路由参数',
  `route_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '路由名称',
  `is_frame` int(1) DEFAULT '1' COMMENT '是否为外链（0是 1否）',
  `is_cache` int(1) DEFAULT '0' COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2108 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='菜单权限表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_notice`
--

DROP TABLE IF EXISTS `sys_notice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_notice` (
  `notice_id` int(4) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告标题',
  `notice_type` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` longblob COMMENT '公告内容',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='通知公告表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_oper_log`
--

DROP TABLE IF EXISTS `sys_oper_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
  `title` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '模块标题',
  `business_type` int(2) DEFAULT '0' COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求方式',
  `operator_type` int(1) DEFAULT '0' COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '返回参数',
  `status` int(1) DEFAULT '0' COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime DEFAULT NULL COMMENT '操作时间',
  `cost_time` bigint(20) DEFAULT '0' COMMENT '消耗时间',
  PRIMARY KEY (`oper_id`),
  KEY `idx_sys_oper_log_bt` (`business_type`),
  KEY `idx_sys_oper_log_s` (`status`),
  KEY `idx_sys_oper_log_ot` (`oper_time`)
) ENGINE=InnoDB AUTO_INCREMENT=570 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='操作日志记录';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_post`
--

DROP TABLE IF EXISTS `sys_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_post` (
  `post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
  `post_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码',
  `post_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称',
  `post_sort` int(4) NOT NULL COMMENT '显示顺序',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='岗位信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_role`
--

DROP TABLE IF EXISTS `sys_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_role` (
  `role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
  `role_sort` int(4) NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `menu_check_strictly` tinyint(1) DEFAULT '1' COMMENT '菜单树选择项是否关联显示',
  `dept_check_strictly` tinyint(1) DEFAULT '1' COMMENT '部门树选择项是否关联显示',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='角色信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_role_dept`
--

DROP TABLE IF EXISTS `sys_role_dept`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_role_dept` (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `dept_id` bigint(20) NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`,`dept_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='角色和部门关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_role_menu`
--

DROP TABLE IF EXISTS `sys_role_menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  `menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='角色和菜单关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_user`
--

DROP TABLE IF EXISTS `sys_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_user` (
  `user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `dept_id` bigint(20) DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称',
  `user_type` varchar(2) COLLATE utf8mb4_general_ci DEFAULT '00' COMMENT '用户类型（00系统用户）',
  `email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '手机号码',
  `sex` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '头像地址',
  `password` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '密码',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '账号状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `pwd_update_date` datetime DEFAULT NULL COMMENT '密码最后更新时间',
  `create_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='用户信息表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_user_post`
--

DROP TABLE IF EXISTS `sys_user_post`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_user_post` (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `post_id` bigint(20) NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='用户与岗位关联表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Table structure for table `sys_user_role`
--

DROP TABLE IF EXISTS `sys_user_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `sys_user_role` (
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='用户和角色关联表';
/*!40101 SET character_set_client = @saved_cs_client */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-04-28  9:48:13
-- MySQL dump 10.13  Distrib 9.6.0, for macos15 (arm64)
--
-- Source: ccdi database data snapshot
-- ------------------------------------------------------
-- Server version	8.0.18

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Dumping data for table `sys_config`
--

LOCK TABLES `sys_config` WRITE;
/*!40000 ALTER TABLE `sys_config` DISABLE KEYS */;
INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'主框架页-默认皮肤样式名称','sys.index.skinName','skin-blue','Y','admin','2026-02-04 07:12:56','',NULL,'蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow'),(2,'用户管理-账号初始密码','sys.user.initPassword','123456','Y','admin','2026-02-04 07:12:56','',NULL,'初始化密码 123456'),(3,'主框架页-侧边栏主题','sys.index.sideTheme','theme-dark','Y','admin','2026-02-04 07:12:56','',NULL,'深色主题theme-dark，浅色主题theme-light'),(4,'账号自助-验证码开关','sys.account.captchaEnabled','false','Y','admin','2026-02-04 07:12:56','admin','2026-02-05 06:28:27','是否开启验证码功能（true开启，false关闭）'),(5,'账号自助-是否开启用户注册功能','sys.account.registerUser','false','Y','admin','2026-02-04 07:12:56','',NULL,'是否开启注册用户功能（true开启，false关闭）'),(6,'用户登录-黑名单列表','sys.login.blackIPList','','Y','admin','2026-02-04 07:12:56','',NULL,'设置登录IP黑名单限制，多个匹配项以;分隔，支持匹配（*通配、网段）'),(7,'用户管理-初始密码修改策略','sys.account.initPasswordModify','1','Y','admin','2026-02-04 07:12:57','',NULL,'0：初始密码修改策略关闭，没有任何提示，1：提醒用户，如果未修改初始密码，则在登录时就会提醒修改密码对话框'),(8,'用户管理-账号密码更新周期','sys.account.passwordValidateDays','0','Y','admin','2026-02-04 07:12:57','',NULL,'密码更新周期（填写数字，数据初始化值为0不限制，若修改必须为大于0小于365的正整数），如果超过这个周期登录系统时，则在登录时就会提醒修改密码对话框');
/*!40000 ALTER TABLE `sys_config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_dept`
--

LOCK TABLES `sys_dept` WRITE;
/*!40000 ALTER TABLE `sys_dept` DISABLE KEYS */;
INSERT INTO `sys_dept` (`dept_id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (100,0,'0','若依科技',0,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(101,100,'0,100','深圳总公司',1,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(102,100,'0,100','长沙分公司',2,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(103,101,'0,100,101','研发部门',1,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(104,101,'0,100,101','市场部门',2,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(105,101,'0,100,101','测试部门',3,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(106,101,'0,100,101','财务部门',4,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(107,101,'0,100,101','运维部门',5,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(108,102,'0,100,102','市场部门',1,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL),(109,102,'0,100,102','财务部门',2,'若依','15888888888','ry@qq.com','0','0','admin','2026-02-04 07:12:37','',NULL);
/*!40000 ALTER TABLE `sys_dept` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_dict_type`
--

LOCK TABLES `sys_dict_type` WRITE;
/*!40000 ALTER TABLE `sys_dict_type` DISABLE KEYS */;
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'用户性别','sys_user_sex','0','admin','2026-02-04 07:12:53','',NULL,'用户性别列表'),(2,'菜单状态','sys_show_hide','0','admin','2026-02-04 07:12:53','',NULL,'菜单状态列表'),(3,'系统开关','sys_normal_disable','0','admin','2026-02-04 07:12:53','',NULL,'系统开关列表'),(4,'任务状态','sys_job_status','0','admin','2026-02-04 07:12:53','',NULL,'任务状态列表'),(5,'任务分组','sys_job_group','0','admin','2026-02-04 07:12:53','',NULL,'任务分组列表'),(6,'系统是否','sys_yes_no','0','admin','2026-02-04 07:12:53','',NULL,'系统是否列表'),(7,'通知类型','sys_notice_type','0','admin','2026-02-04 07:12:53','',NULL,'通知类型列表'),(8,'通知状态','sys_notice_status','0','admin','2026-02-04 07:12:53','',NULL,'通知状态列表'),(9,'操作类型','sys_oper_type','0','admin','2026-02-04 07:12:53','',NULL,'操作类型列表'),(10,'系统状态','sys_common_status','0','admin','2026-02-04 07:12:54','',NULL,'登录状态列表'),(100,'人员类型','ccdi_person_type','0','admin','2026-02-04 07:46:03','',NULL,'中介黑名单-人员类型'),(101,'人员子类型','ccdi_person_sub_type','0','admin','2026-02-04 07:46:04','admin','2026-04-20 07:15:16','中介黑名单-人员子类型'),(102,'个人中介性别','ccdi_indiv_gender','0','admin','2026-02-04 07:46:04','',NULL,'中介黑名单-个人中介性别'),(103,'证件类型','ccdi_certificate_type','0','admin','2026-02-04 07:46:04','',NULL,'中介黑名单-证件类型'),(104,'主体类型','ccdi_entity_type','0','admin','2026-02-04 07:46:04','',NULL,'中介黑名单-主体类型'),(105,'企业性质','ccdi_enterprise_nature','0','admin','2026-02-04 07:46:05','',NULL,'中介黑名单-企业性质'),(106,'数据来源','ccdi_data_source','0','admin','2026-02-04 07:46:05','',NULL,'中介黑名单-数据来源'),(108,'关系类型','ccdi_relation_type','0','admin','2026-02-05 02:54:54','',NULL,'中介黑名单-人员关系类型'),(109,'员工状态','ccdi_employee_status','0','admin','2026-02-05 06:02:19','',NULL,'员工状态列表'),(110,'录用情况','ccdi_admit_status','0','admin','2026-02-06 06:04:38','',NULL,'招聘信息-录用情况'),(111,'关系状态','ccdi_relation_status','0','admin','2026-02-09 11:47:49','',NULL,'关系状态列表：0-无效，1-有效'),(113,'调动类型','ccdi_transfer_type','0','admin','2026-02-10 05:33:07','',NULL,'员工调动类型:升职、降职、平调、轮岗、借调等'),(114,'项目状态','ccdi_project_status','0','admin','2026-02-26 08:42:58','',NULL,'纪检初核项目状态'),(115,'配置方式','ccdi_config_type','0','admin','2026-02-26 08:42:58','',NULL,'项目配置方式'),(116,'资产状态','ccdi_asset_status','0','admin','2026-03-13 07:14:05','',NULL,'资产状态下拉选项'),(117,'是否标记','ccdi_yes_no_flag','0','admin','2026-04-17 02:51:09','',NULL,'是否标记列表');
/*!40000 ALTER TABLE `sys_dict_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Supplemental bootstrap data for table `sys_dict_type`
--

LOCK TABLES `sys_dict_type` WRITE;
/*!40000 ALTER TABLE `sys_dict_type` DISABLE KEYS */;
INSERT INTO `sys_dict_type` (`dict_id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (118,'招聘类型','ccdi_recruit_type','0','admin','2026-05-07 00:05:00','',NULL,'招聘信息-招聘类型');
/*!40000 ALTER TABLE `sys_dict_type` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_dict_data`
--

LOCK TABLES `sys_dict_data` WRITE;
/*!40000 ALTER TABLE `sys_dict_data` DISABLE KEYS */;
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,1,'男','0','sys_user_sex','','','Y','0','admin','2026-02-04 07:12:54','',NULL,'性别男'),(2,2,'女','1','sys_user_sex','','','N','0','admin','2026-02-04 07:12:54','',NULL,'性别女'),(3,3,'未知','2','sys_user_sex','','','N','0','admin','2026-02-04 07:12:54','',NULL,'性别未知'),(4,1,'显示','0','sys_show_hide','','primary','Y','0','admin','2026-02-04 07:12:54','',NULL,'显示菜单'),(5,2,'隐藏','1','sys_show_hide','','danger','N','0','admin','2026-02-04 07:12:54','',NULL,'隐藏菜单'),(6,1,'正常','0','sys_normal_disable','','primary','Y','0','admin','2026-02-04 07:12:54','',NULL,'正常状态'),(7,2,'停用','1','sys_normal_disable','','danger','N','0','admin','2026-02-04 07:12:54','',NULL,'停用状态'),(8,1,'正常','0','sys_job_status','','primary','Y','0','admin','2026-02-04 07:12:54','',NULL,'正常状态'),(9,2,'暂停','1','sys_job_status','','danger','N','0','admin','2026-02-04 07:12:54','',NULL,'停用状态'),(10,1,'默认','DEFAULT','sys_job_group','','','Y','0','admin','2026-02-04 07:12:54','',NULL,'默认分组'),(11,2,'系统','SYSTEM','sys_job_group','','','N','0','admin','2026-02-04 07:12:55','',NULL,'系统分组'),(12,1,'是','Y','sys_yes_no','','primary','Y','0','admin','2026-02-04 07:12:55','',NULL,'系统默认是'),(13,2,'否','N','sys_yes_no','','danger','N','0','admin','2026-02-04 07:12:55','',NULL,'系统默认否'),(14,1,'通知','1','sys_notice_type','','warning','Y','0','admin','2026-02-04 07:12:55','',NULL,'通知'),(15,2,'公告','2','sys_notice_type','','success','N','0','admin','2026-02-04 07:12:55','',NULL,'公告'),(16,1,'正常','0','sys_notice_status','','primary','Y','0','admin','2026-02-04 07:12:55','',NULL,'正常状态'),(17,2,'关闭','1','sys_notice_status','','danger','N','0','admin','2026-02-04 07:12:55','',NULL,'关闭状态'),(18,99,'其他','0','sys_oper_type','','info','N','0','admin','2026-02-04 07:12:55','',NULL,'其他操作'),(19,1,'新增','1','sys_oper_type','','info','N','0','admin','2026-02-04 07:12:55','',NULL,'新增操作'),(20,2,'修改','2','sys_oper_type','','info','N','0','admin','2026-02-04 07:12:55','',NULL,'修改操作'),(21,3,'删除','3','sys_oper_type','','danger','N','0','admin','2026-02-04 07:12:55','',NULL,'删除操作'),(22,4,'授权','4','sys_oper_type','','primary','N','0','admin','2026-02-04 07:12:55','',NULL,'授权操作'),(23,5,'导出','5','sys_oper_type','','warning','N','0','admin','2026-02-04 07:12:55','',NULL,'导出操作'),(24,6,'导入','6','sys_oper_type','','warning','N','0','admin','2026-02-04 07:12:55','',NULL,'导入操作'),(25,7,'强退','7','sys_oper_type','','danger','N','0','admin','2026-02-04 07:12:56','',NULL,'强退操作'),(26,8,'生成代码','8','sys_oper_type','','warning','N','0','admin','2026-02-04 07:12:56','',NULL,'生成操作'),(27,9,'清空数据','9','sys_oper_type','','danger','N','0','admin','2026-02-04 07:12:56','',NULL,'清空操作'),(28,1,'成功','0','sys_common_status','','primary','N','0','admin','2026-02-04 07:12:56','',NULL,'正常状态'),(29,2,'失败','1','sys_common_status','','danger','N','0','admin','2026-02-04 07:12:56','',NULL,'停用状态'),(100,1,'中介','中介','ccdi_person_type','','default','N','0','admin','2026-02-04 07:46:03','',NULL,NULL),(101,2,'职业背债人','职业背债人','ccdi_person_type','','default','N','0','admin','2026-02-04 07:46:03','',NULL,NULL),(102,3,'房产中介','房产中介','ccdi_person_type','','default','N','0','admin','2026-02-04 07:46:03','',NULL,NULL),(103,1,'本人','本人','ccdi_person_sub_type','','default','N','0','admin','2026-02-04 07:46:04','admin','2026-04-20 07:15:16','中介黑名单-人员子类型'),(104,2,'配偶','配偶','ccdi_person_sub_type','','default','N','0','admin','2026-02-04 07:46:04','admin','2026-04-20 07:15:16','中介黑名单-人员子类型'),(105,3,'子女','子女','ccdi_person_sub_type','','default','N','0','admin','2026-02-04 07:46:04','admin','2026-04-20 07:15:16','中介黑名单-人员子类型'),(106,6,'其他','其他','ccdi_person_sub_type','','default','N','0','admin','2026-02-04 07:46:04','admin','2026-04-20 07:15:16','中介黑名单-人员子类型'),(107,1,'男','M','ccdi_indiv_gender','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(108,2,'女','F','ccdi_indiv_gender','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(109,3,'其他','O','ccdi_indiv_gender','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(110,1,'身份证','身份证','ccdi_certificate_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(111,2,'护照','护照','ccdi_certificate_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(112,3,'港澳通行证','港澳通行证','ccdi_certificate_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(113,4,'台胞证','台胞证','ccdi_certificate_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(114,5,'军官证','军官证','ccdi_certificate_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(115,1,'有限责任公司','有限责任公司','ccdi_entity_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(116,2,'股份有限公司','股份有限公司','ccdi_entity_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(117,3,'合伙企业','合伙企业','ccdi_entity_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(118,4,'个体工商户','个体工商户','ccdi_entity_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(119,5,'外资企业','外资企业','ccdi_entity_type','','default','N','0','admin','2026-02-04 07:46:04','',NULL,NULL),(120,1,'国企','国企','ccdi_enterprise_nature','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(121,2,'民企','民企','ccdi_enterprise_nature','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(122,3,'外企','外企','ccdi_enterprise_nature','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(123,4,'合资','合资','ccdi_enterprise_nature','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(124,9,'其他','其他','ccdi_enterprise_nature','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(125,1,'手动录入','MANUAL','ccdi_data_source','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(126,2,'系统同步','SYSTEM','ccdi_data_source','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(127,3,'批量导入','IMPORT','ccdi_data_source','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(128,4,'接口获取','API','ccdi_data_source','','default','N','0','admin','2026-02-04 07:46:05','',NULL,NULL),(134,1,'配偶','配偶','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(135,2,'父亲','父亲','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(136,3,'母亲','母亲','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(137,4,'子女','子女','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(138,5,'兄弟','兄弟','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(139,6,'姐妹','姐妹','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(140,7,'合伙人','合伙人','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(141,8,'同事','同事','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(142,9,'其他','其他','ccdi_relation_type','','default','N','0','admin','2026-02-05 02:54:55','',NULL,NULL),(143,1,'在职','1','ccdi_employee_status','','primary','N','0','admin','2026-02-05 06:02:23','',NULL,'在职状态'),(144,2,'离职','0','ccdi_employee_status','','danger','N','0','admin','2026-02-05 06:02:23','',NULL,'离职状态'),(145,1,'录用','录用','ccdi_admit_status',NULL,'primary','N','0','admin','2026-02-06 06:04:44','',NULL,'已录用该候选人'),(146,2,'未录用','未录用','ccdi_admit_status',NULL,'danger','N','0','admin','2026-02-06 06:04:44','',NULL,'未录用该候选人'),(147,3,'放弃','放弃','ccdi_admit_status',NULL,'info','N','0','admin','2026-02-06 06:04:44','',NULL,'候选人放弃'),(148,2,'无效','0','ccdi_relation_status',NULL,'danger','N','0','admin','2026-02-09 11:47:53','',NULL,'关系状态：无效'),(149,1,'有效','1','ccdi_relation_status',NULL,'primary','Y','0','admin','2026-02-09 11:47:56','',NULL,'关系状态：有效'),(150,1,'升职','PROMOTION','ccdi_transfer_type','','primary','N','0','admin','2026-02-10 05:33:20','',NULL,'员工升职'),(151,2,'降职','DEMOPTION','ccdi_transfer_type','','danger','N','0','admin','2026-02-10 05:33:20','',NULL,'员工降职'),(152,3,'平调','LATERAL','ccdi_transfer_type','','info','N','0','admin','2026-02-10 05:33:20','',NULL,'平级调动'),(153,4,'轮岗','ROTATION','ccdi_transfer_type','','warning','N','0','admin','2026-02-10 05:33:20','',NULL,'岗位轮换'),(154,5,'借调','SECONDMENT','ccdi_transfer_type','','info','N','0','admin','2026-02-10 05:33:20','',NULL,'临时借调到其他部门'),(155,6,'部门调动','DEPARTMENT_CHANGE','ccdi_transfer_type','','success','N','0','admin','2026-02-10 05:33:20','',NULL,'部门之间调动'),(156,7,'职位调整','POSITION_CHANGE','ccdi_transfer_type','','primary','N','0','admin','2026-02-10 05:33:20','',NULL,'职位调整'),(157,8,'返岗','RETURN','ccdi_transfer_type','','info','N','0','admin','2026-02-10 05:33:20','',NULL,'返回原岗位'),(158,9,'离职','TERMINATION','ccdi_transfer_type','','danger','N','0','admin','2026-02-10 05:33:20','',NULL,'员工离职'),(159,10,'其他','OTHER','ccdi_transfer_type','','info','N','0','admin','2026-02-10 05:33:20','',NULL,'其他类型调动'),(160,1,'进行中','0','ccdi_project_status','','primary','Y','0','admin','2026-02-26 08:42:58','',NULL,NULL),(161,2,'已完成','1','ccdi_project_status','','success','N','0','admin','2026-02-26 08:42:58','',NULL,NULL),(162,3,'已归档','2','ccdi_project_status','','info','N','0','admin','2026-02-26 08:42:58','',NULL,NULL),(163,1,'全局默认模型参数配置','default','ccdi_config_type','','primary','Y','0','admin','2026-02-26 08:42:58','',NULL,NULL),(164,2,'自定义项目规则参数配置','custom','ccdi_config_type','','warning','N','0','admin','2026-02-26 08:42:58','',NULL,NULL),(165,1,'正常','正常','ccdi_asset_status','','success','Y','0','admin','2026-03-13 07:14:06','',NULL,NULL),(166,2,'冻结','冻结','ccdi_asset_status','','warning','N','0','admin','2026-03-13 07:14:06','',NULL,NULL),(167,3,'处置中','处置中','ccdi_asset_status','','primary','N','0','admin','2026-03-13 07:14:06','',NULL,NULL),(168,4,'报废','报废','ccdi_asset_status','','info','N','0','admin','2026-03-13 07:14:06','',NULL,NULL),(169,4,'打标中','3','ccdi_project_status','','warning','N','0','admin','2026-03-18 07:56:00','',NULL,NULL),(174,5,'打标失败','4','ccdi_project_status','','danger','N','0','admin','2026-05-27 00:00:00','',NULL,NULL),(175,6,'已删除','5','ccdi_project_status','','danger','N','0','admin','2026-07-02 00:00:00','',NULL,'项目逻辑删除状态'),(170,1,'是','1','ccdi_yes_no_flag','','primary','N','0','admin','2026-04-17 02:51:09','',NULL,'是'),(171,2,'否','0','ccdi_yes_no_flag','','danger','Y','0','admin','2026-04-17 02:51:09','',NULL,'否'),(172,4,'父母','父母','ccdi_person_sub_type','','default','N','0','codex','2026-04-20 02:11:36','admin','2026-04-20 07:15:16','中介黑名单-人员子类型'),(173,5,'兄弟姐妹','兄弟姐妹','ccdi_person_sub_type','','default','N','0','codex','2026-04-20 02:11:36','admin','2026-04-20 07:15:16','中介黑名单-人员子类型');
/*!40000 ALTER TABLE `sys_dict_data` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Supplemental bootstrap data for table `sys_dict_data`
--

LOCK TABLES `sys_dict_data` WRITE;
/*!40000 ALTER TABLE `sys_dict_data` DISABLE KEYS */;
INSERT INTO `sys_dict_data` (`dict_code`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (174,1,'社招','SOCIAL','ccdi_recruit_type','','success','Y','0','admin','2026-05-07 00:05:00','',NULL,'社会招聘'),(175,2,'校招','CAMPUS','ccdi_recruit_type','','info','N','0','admin','2026-05-07 00:05:00','',NULL,'校园招聘');
/*!40000 ALTER TABLE `sys_dict_data` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_post`
--

LOCK TABLES `sys_post` WRITE;
/*!40000 ALTER TABLE `sys_post` DISABLE KEYS */;
INSERT INTO `sys_post` (`post_id`, `post_code`, `post_name`, `post_sort`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'ceo','董事长',1,'0','admin','2026-02-04 07:12:38','',NULL,''),(2,'se','项目经理',2,'0','admin','2026-02-04 07:12:38','',NULL,''),(3,'hr','人力资源',3,'0','admin','2026-02-04 07:12:38','',NULL,''),(4,'user','普通员工',4,'0','admin','2026-02-04 07:12:38','',NULL,'');
/*!40000 ALTER TABLE `sys_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_role`
--

LOCK TABLES `sys_role` WRITE;
/*!40000 ALTER TABLE `sys_role` DISABLE KEYS */;
INSERT INTO `sys_role` (`role_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'超级管理员','admin',1,'1',1,1,'0','0','admin','2026-02-04 07:12:38','',NULL,'超级管理员'),(2,'普通角色','common',2,'2',1,1,'0','0','admin','2026-02-04 07:12:39','admin','2026-02-10 02:43:46','普通角色');
/*!40000 ALTER TABLE `sys_role` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_menu`
--

LOCK TABLES `sys_menu` WRITE;
/*!40000 ALTER TABLE `sys_menu` DISABLE KEYS */;
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query`, `route_name`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'系统管理',0,10,'system',NULL,'','',1,0,'M','0','0','','system','admin','2026-02-04 07:12:39','admin','2026-02-26 02:36:43','系统管理目录'),(2,'系统监控',0,11,'monitor',NULL,'','',1,0,'M','0','0','','monitor','admin','2026-02-04 07:12:39','admin','2026-02-26 02:36:49','系统监控目录'),(3,'系统工具',0,12,'tool',NULL,'','',1,0,'M','0','0','','tool','admin','2026-02-04 07:12:39','admin','2026-02-26 02:36:53','系统工具目录'),(100,'用户管理',1,1,'user','system/user/index','','',1,0,'C','0','0','system:user:list','user','admin','2026-02-04 07:12:39','',NULL,'用户管理菜单'),(101,'角色管理',1,2,'role','system/role/index','','',1,0,'C','0','0','system:role:list','peoples','admin','2026-02-04 07:12:39','',NULL,'角色管理菜单'),(102,'菜单管理',1,3,'menu','system/menu/index','','',1,0,'C','0','0','system:menu:list','tree-table','admin','2026-02-04 07:12:39','',NULL,'菜单管理菜单'),(103,'部门管理',1,4,'dept','system/dept/index','','',1,0,'C','0','0','system:dept:list','tree','admin','2026-02-04 07:12:39','',NULL,'部门管理菜单'),(104,'岗位管理',1,5,'post','system/post/index','','',1,0,'C','0','0','system:post:list','post','admin','2026-02-04 07:12:39','',NULL,'岗位管理菜单'),(105,'字典管理',1,6,'dict','system/dict/index','','',1,0,'C','0','0','system:dict:list','dict','admin','2026-02-04 07:12:39','',NULL,'字典管理菜单'),(106,'参数设置',1,7,'config','system/config/index','','',1,0,'C','0','0','system:config:list','edit','admin','2026-02-04 07:12:39','',NULL,'参数设置菜单'),(107,'通知公告',1,8,'notice','system/notice/index','','',1,0,'C','0','0','system:notice:list','message','admin','2026-02-04 07:12:40','',NULL,'通知公告菜单'),(108,'日志管理',1,9,'log','','','',1,0,'M','0','0','','log','admin','2026-02-04 07:12:40','',NULL,'日志管理菜单'),(109,'在线用户',2,1,'online','monitor/online/index','','',1,0,'C','0','0','monitor:online:list','online','admin','2026-02-04 07:12:40','',NULL,'在线用户菜单'),(110,'定时任务',2,2,'job','monitor/job/index','','',1,0,'C','0','0','monitor:job:list','job','admin','2026-02-04 07:12:40','',NULL,'定时任务菜单'),(111,'数据监控',2,3,'druid','monitor/druid/index','','',1,0,'C','0','0','monitor:druid:list','druid','admin','2026-02-04 07:12:40','',NULL,'数据监控菜单'),(112,'服务监控',2,4,'server','monitor/server/index','','',1,0,'C','0','0','monitor:server:list','server','admin','2026-02-04 07:12:40','',NULL,'服务监控菜单'),(113,'缓存监控',2,5,'cache','monitor/cache/index','','',1,0,'C','0','0','monitor:cache:list','redis','admin','2026-02-04 07:12:40','',NULL,'缓存监控菜单'),(114,'缓存列表',2,6,'cacheList','monitor/cache/list','','',1,0,'C','0','0','monitor:cache:list','redis-list','admin','2026-02-04 07:12:40','',NULL,'缓存列表菜单'),(115,'表单构建',3,1,'build','tool/build/index','','',1,0,'C','0','0','tool:build:list','build','admin','2026-02-04 07:12:40','',NULL,'表单构建菜单'),(116,'代码生成',3,2,'gen','tool/gen/index','','',1,0,'C','0','0','tool:gen:list','code','admin','2026-02-04 07:12:40','',NULL,'代码生成菜单'),(117,'系统接口',3,3,'swagger','tool/swagger/index','','',1,0,'C','0','0','tool:swagger:list','swagger','admin','2026-02-04 07:12:40','',NULL,'系统接口菜单'),(500,'操作日志',108,1,'operlog','monitor/operlog/index','','',1,0,'C','0','0','monitor:operlog:list','form','admin','2026-02-04 07:12:40','',NULL,'操作日志菜单'),(501,'登录日志',108,2,'logininfor','monitor/logininfor/index','','',1,0,'C','0','0','monitor:logininfor:list','logininfor','admin','2026-02-04 07:12:40','',NULL,'登录日志菜单'),(1000,'用户查询',100,1,'','','','',1,0,'F','0','0','system:user:query','#','admin','2026-02-04 07:12:41','',NULL,''),(1001,'用户新增',100,2,'','','','',1,0,'F','0','0','system:user:add','#','admin','2026-02-04 07:12:41','',NULL,''),(1002,'用户修改',100,3,'','','','',1,0,'F','0','0','system:user:edit','#','admin','2026-02-04 07:12:41','',NULL,''),(1003,'用户删除',100,4,'','','','',1,0,'F','0','0','system:user:remove','#','admin','2026-02-04 07:12:41','',NULL,''),(1004,'用户导出',100,5,'','','','',1,0,'F','0','0','system:user:export','#','admin','2026-02-04 07:12:41','',NULL,''),(1005,'用户导入',100,6,'','','','',1,0,'F','0','0','system:user:import','#','admin','2026-02-04 07:12:41','',NULL,''),(1006,'重置密码',100,7,'','','','',1,0,'F','0','0','system:user:resetPwd','#','admin','2026-02-04 07:12:41','',NULL,''),(1007,'角色查询',101,1,'','','','',1,0,'F','0','0','system:role:query','#','admin','2026-02-04 07:12:41','',NULL,''),(1008,'角色新增',101,2,'','','','',1,0,'F','0','0','system:role:add','#','admin','2026-02-04 07:12:41','',NULL,''),(1009,'角色修改',101,3,'','','','',1,0,'F','0','0','system:role:edit','#','admin','2026-02-04 07:12:41','',NULL,''),(1010,'角色删除',101,4,'','','','',1,0,'F','0','0','system:role:remove','#','admin','2026-02-04 07:12:41','',NULL,''),(1011,'角色导出',101,5,'','','','',1,0,'F','0','0','system:role:export','#','admin','2026-02-04 07:12:41','',NULL,''),(1012,'菜单查询',102,1,'','','','',1,0,'F','0','0','system:menu:query','#','admin','2026-02-04 07:12:41','',NULL,''),(1013,'菜单新增',102,2,'','','','',1,0,'F','0','0','system:menu:add','#','admin','2026-02-04 07:12:41','',NULL,''),(1014,'菜单修改',102,3,'','','','',1,0,'F','0','0','system:menu:edit','#','admin','2026-02-04 07:12:42','',NULL,''),(1015,'菜单删除',102,4,'','','','',1,0,'F','0','0','system:menu:remove','#','admin','2026-02-04 07:12:42','',NULL,''),(1016,'部门查询',103,1,'','','','',1,0,'F','0','0','system:dept:query','#','admin','2026-02-04 07:12:42','',NULL,''),(1017,'部门新增',103,2,'','','','',1,0,'F','0','0','system:dept:add','#','admin','2026-02-04 07:12:42','',NULL,''),(1018,'部门修改',103,3,'','','','',1,0,'F','0','0','system:dept:edit','#','admin','2026-02-04 07:12:42','',NULL,''),(1019,'部门删除',103,4,'','','','',1,0,'F','0','0','system:dept:remove','#','admin','2026-02-04 07:12:42','',NULL,''),(1020,'岗位查询',104,1,'','','','',1,0,'F','0','0','system:post:query','#','admin','2026-02-04 07:12:42','',NULL,''),(1021,'岗位新增',104,2,'','','','',1,0,'F','0','0','system:post:add','#','admin','2026-02-04 07:12:42','',NULL,''),(1022,'岗位修改',104,3,'','','','',1,0,'F','0','0','system:post:edit','#','admin','2026-02-04 07:12:42','',NULL,''),(1023,'岗位删除',104,4,'','','','',1,0,'F','0','0','system:post:remove','#','admin','2026-02-04 07:12:42','',NULL,''),(1024,'岗位导出',104,5,'','','','',1,0,'F','0','0','system:post:export','#','admin','2026-02-04 07:12:42','',NULL,''),(1025,'字典查询',105,1,'#','','','',1,0,'F','0','0','system:dict:query','#','admin','2026-02-04 07:12:42','',NULL,''),(1026,'字典新增',105,2,'#','','','',1,0,'F','0','0','system:dict:add','#','admin','2026-02-04 07:12:42','',NULL,''),(1027,'字典修改',105,3,'#','','','',1,0,'F','0','0','system:dict:edit','#','admin','2026-02-04 07:12:43','',NULL,''),(1028,'字典删除',105,4,'#','','','',1,0,'F','0','0','system:dict:remove','#','admin','2026-02-04 07:12:43','',NULL,''),(1029,'字典导出',105,5,'#','','','',1,0,'F','0','0','system:dict:export','#','admin','2026-02-04 07:12:43','',NULL,''),(1030,'参数查询',106,1,'#','','','',1,0,'F','0','0','system:config:query','#','admin','2026-02-04 07:12:43','',NULL,''),(1031,'参数新增',106,2,'#','','','',1,0,'F','0','0','system:config:add','#','admin','2026-02-04 07:12:43','',NULL,''),(1032,'参数修改',106,3,'#','','','',1,0,'F','0','0','system:config:edit','#','admin','2026-02-04 07:12:43','',NULL,''),(1033,'参数删除',106,4,'#','','','',1,0,'F','0','0','system:config:remove','#','admin','2026-02-04 07:12:43','',NULL,''),(1034,'参数导出',106,5,'#','','','',1,0,'F','0','0','system:config:export','#','admin','2026-02-04 07:12:43','',NULL,''),(1035,'公告查询',107,1,'#','','','',1,0,'F','0','0','system:notice:query','#','admin','2026-02-04 07:12:43','',NULL,''),(1036,'公告新增',107,2,'#','','','',1,0,'F','0','0','system:notice:add','#','admin','2026-02-04 07:12:43','',NULL,''),(1037,'公告修改',107,3,'#','','','',1,0,'F','0','0','system:notice:edit','#','admin','2026-02-04 07:12:43','',NULL,''),(1038,'公告删除',107,4,'#','','','',1,0,'F','0','0','system:notice:remove','#','admin','2026-02-04 07:12:43','',NULL,''),(1039,'操作查询',500,1,'#','','','',1,0,'F','0','0','monitor:operlog:query','#','admin','2026-02-04 07:12:43','',NULL,''),(1040,'操作删除',500,2,'#','','','',1,0,'F','0','0','monitor:operlog:remove','#','admin','2026-02-04 07:12:44','',NULL,''),(1041,'日志导出',500,3,'#','','','',1,0,'F','0','0','monitor:operlog:export','#','admin','2026-02-04 07:12:44','',NULL,''),(1042,'登录查询',501,1,'#','','','',1,0,'F','0','0','monitor:logininfor:query','#','admin','2026-02-04 07:12:44','',NULL,''),(1043,'登录删除',501,2,'#','','','',1,0,'F','0','0','monitor:logininfor:remove','#','admin','2026-02-04 07:12:44','',NULL,''),(1044,'日志导出',501,3,'#','','','',1,0,'F','0','0','monitor:logininfor:export','#','admin','2026-02-04 07:12:44','',NULL,''),(1045,'账户解锁',501,4,'#','','','',1,0,'F','0','0','monitor:logininfor:unlock','#','admin','2026-02-04 07:12:44','',NULL,''),(1046,'在线查询',109,1,'#','','','',1,0,'F','0','0','monitor:online:query','#','admin','2026-02-04 07:12:44','',NULL,''),(1047,'批量强退',109,2,'#','','','',1,0,'F','0','0','monitor:online:batchLogout','#','admin','2026-02-04 07:12:44','',NULL,''),(1048,'单条强退',109,3,'#','','','',1,0,'F','0','0','monitor:online:forceLogout','#','admin','2026-02-04 07:12:44','',NULL,''),(1049,'任务查询',110,1,'#','','','',1,0,'F','0','0','monitor:job:query','#','admin','2026-02-04 07:12:44','',NULL,''),(1050,'任务新增',110,2,'#','','','',1,0,'F','0','0','monitor:job:add','#','admin','2026-02-04 07:12:44','',NULL,''),(1051,'任务修改',110,3,'#','','','',1,0,'F','0','0','monitor:job:edit','#','admin','2026-02-04 07:12:44','',NULL,''),(1052,'任务删除',110,4,'#','','','',1,0,'F','0','0','monitor:job:remove','#','admin','2026-02-04 07:12:44','',NULL,''),(1053,'状态修改',110,5,'#','','','',1,0,'F','0','0','monitor:job:changeStatus','#','admin','2026-02-04 07:12:44','',NULL,''),(1054,'任务导出',110,6,'#','','','',1,0,'F','0','0','monitor:job:export','#','admin','2026-02-04 07:12:45','',NULL,''),(1055,'生成查询',116,1,'#','','','',1,0,'F','0','0','tool:gen:query','#','admin','2026-02-04 07:12:45','',NULL,''),(1056,'生成修改',116,2,'#','','','',1,0,'F','0','0','tool:gen:edit','#','admin','2026-02-04 07:12:45','',NULL,''),(1057,'生成删除',116,3,'#','','','',1,0,'F','0','0','tool:gen:remove','#','admin','2026-02-04 07:12:45','',NULL,''),(1058,'导入代码',116,4,'#','','','',1,0,'F','0','0','tool:gen:import','#','admin','2026-02-04 07:12:45','',NULL,''),(1059,'预览代码',116,5,'#','','','',1,0,'F','0','0','tool:gen:preview','#','admin','2026-02-04 07:12:45','',NULL,''),(1060,'生成代码',116,6,'#','','','',1,0,'F','0','0','tool:gen:code','#','admin','2026-02-04 07:12:45','',NULL,''),(2000,'信息维护',0,0,'maintain',NULL,NULL,NULL,1,0,'M','0','0','','clipboard','admin','2026-02-04 07:39:59','admin','2026-02-10 02:43:58','信息维护目录'),(2001,'中介库管理',2000,8,'intermediary','ccdiIntermediary/index',NULL,NULL,1,0,'C','0','0','ccdi:intermediary:list','peoples','admin','2026-02-04 07:40:00','admin','2026-02-05 03:15:54','中介黑名单管理菜单'),(2002,'员工信息维护',2000,1,'baseStaff','ccdiBaseStaff/index',NULL,NULL,1,0,'C','0','0','ccdi:baseStaff:list','user','admin','2026-02-04 07:40:00','admin','2026-02-04 07:42:23','员工信息维护菜单'),(2010,'中介黑名单查询',2001,1,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:intermediary:query','#','admin','2026-02-04 07:40:00','',NULL,''),(2011,'中介黑名单新增',2001,2,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:intermediary:add','#','admin','2026-02-04 07:40:00','',NULL,''),(2012,'中介黑名单修改',2001,3,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:intermediary:edit','#','admin','2026-02-04 07:40:00','',NULL,''),(2013,'中介黑名单删除',2001,4,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:intermediary:remove','#','admin','2026-02-04 07:40:00','',NULL,''),(2015,'中介黑名单导入',2001,6,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:intermediary:import','#','admin','2026-02-04 07:40:00','',NULL,''),(2020,'员工信息查询',2002,1,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:baseStaff:query','#','admin','2026-02-04 07:40:00','',NULL,''),(2021,'员工信息新增',2002,2,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:baseStaff:add','#','admin','2026-02-04 07:40:00','',NULL,''),(2022,'员工信息修改',2002,3,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:baseStaff:edit','#','admin','2026-02-04 07:40:00','',NULL,''),(2023,'员工信息删除',2002,4,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:baseStaff:remove','#','admin','2026-02-04 07:40:00','',NULL,''),(2025,'员工信息导入',2002,6,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:baseStaff:import','#','admin','2026-02-04 07:40:00','',NULL,''),(2030,'招聘信息维护',2000,2,'staffRecruitment','ccdiStaffRecruitment/index',NULL,'',1,0,'C','0','0','','shopping','admin','2026-02-05 07:44:03','admin','2026-04-23 02:57:37','招聘信息管理菜单'),(2031,'招聘信息查询',2030,1,'','',NULL,'',1,0,'F','0','0','ccdi:staffRecruitment:list','','admin','2026-02-05 07:44:11','',NULL,''),(2032,'招聘信息详情',2030,2,'','',NULL,'',1,0,'F','0','0','ccdi:staffRecruitment:query','','admin','2026-02-05 07:44:11','',NULL,''),(2033,'招聘信息新增',2030,3,'','',NULL,'',1,0,'F','0','0','ccdi:staffRecruitment:add','','admin','2026-02-05 07:44:11','',NULL,''),(2034,'招聘信息修改',2030,4,'','',NULL,'',1,0,'F','0','0','ccdi:staffRecruitment:edit','','admin','2026-02-05 07:44:11','',NULL,''),(2035,'招聘信息删除',2030,5,'','',NULL,'',1,0,'F','0','0','ccdi:staffRecruitment:remove','','admin','2026-02-05 07:44:11','',NULL,''),(2037,'招聘信息导入',2030,7,'','',NULL,'',1,0,'F','0','0','ccdi:staffRecruitment:import','','admin','2026-02-05 07:44:11','',NULL,''),(2038,'招投标信息维护',2000,12,'purchaseTransaction','ccdiPurchaseTransaction/index',NULL,'',1,0,'C','0','0','ccdi:purchaseTransaction:list','shopping','admin','2026-02-06 09:06:34','admin','2026-04-22 06:50:09','招投标信息维护菜单'),(2039,'招投标信息查询',2038,1,'',NULL,NULL,'',1,0,'','0','0','ccdi:purchaseTransaction:query','#','admin','2026-02-06 09:06:41','admin','2026-04-22 06:50:09',''),(2040,'招投标信息新增',2038,2,'',NULL,NULL,'',1,0,'','0','0','ccdi:purchaseTransaction:add','#','admin','2026-02-06 09:06:41','admin','2026-04-22 06:50:09',''),(2041,'招投标信息修改',2038,3,'',NULL,NULL,'',1,0,'','0','0','ccdi:purchaseTransaction:edit','#','admin','2026-02-06 09:06:41','admin','2026-04-22 06:50:09',''),(2042,'招投标信息删除',2038,4,'',NULL,NULL,'',1,0,'','0','0','ccdi:purchaseTransaction:remove','#','admin','2026-02-06 09:06:41','admin','2026-04-22 06:50:09',''),(2044,'招投标信息导入',2038,6,'',NULL,NULL,'',1,0,'','0','0','ccdi:purchaseTransaction:import','#','admin','2026-02-06 09:06:41','admin','2026-04-22 06:50:09',''),(2045,'员工亲属实体关联',2000,5,'staffEnterpriseRelation','ccdiStaffEnterpriseRelation/index',NULL,NULL,1,0,'C','0','0','ccdi:staffEnterpriseRelation:list','tree','admin','2026-02-09 11:47:58','admin','2026-04-23 09:41:38','员工亲属实体关联菜单'),(2046,'员工亲属实体关联查询',2045,1,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:staffEnterpriseRelation:query','#','admin','2026-02-09 11:48:01','admin','2026-04-23 09:41:38',''),(2047,'员工亲属实体关联',2045,2,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:staffEnterpriseRelation:list','#','admin','2026-02-09 11:48:04','admin','2026-04-23 09:41:38','员工亲属实体关联菜单'),(2048,'员工亲属实体关联新增',2045,3,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:staffEnterpriseRelation:add','#','admin','2026-02-09 11:48:08','admin','2026-04-23 09:41:38',''),(2049,'员工亲属实体关联修改',2045,4,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:staffEnterpriseRelation:edit','#','admin','2026-02-09 11:48:11','admin','2026-04-23 09:41:38',''),(2050,'员工亲属实体关联删除',2045,5,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:staffEnterpriseRelation:remove','#','admin','2026-02-09 11:48:13','admin','2026-04-23 09:41:38',''),(2052,'员工亲属实体关联导入',2045,7,'',NULL,NULL,NULL,1,0,'F','0','0','ccdi:staffEnterpriseRelation:import','#','admin','2026-02-09 11:48:19','admin','2026-04-23 09:41:38',''),(2053,'员工亲属关系维护',2000,4,'staffFmyRelation','ccdiStaffFmyRelation/index',NULL,'',1,0,'C','0','0','ccdi:staffFmyRelation:list','peoples','admin','2026-02-09 14:07:41','',NULL,'员工亲属关系信息管理菜单'),(2054,'亲属关系查询',2053,1,'','',NULL,'',1,0,'F','0','0','ccdi:staffFmyRelation:query','#','admin','2026-02-09 14:07:45','',NULL,''),(2055,'亲属关系新增',2053,2,'','',NULL,'',1,0,'F','0','0','ccdi:staffFmyRelation:add','#','admin','2026-02-09 14:07:45','',NULL,''),(2056,'亲属关系修改',2053,3,'','',NULL,'',1,0,'F','0','0','ccdi:staffFmyRelation:edit','#','admin','2026-02-09 14:07:45','',NULL,''),(2057,'亲属关系删除',2053,4,'','',NULL,'',1,0,'F','0','0','ccdi:staffFmyRelation:remove','#','admin','2026-02-09 14:07:45','',NULL,''),(2059,'亲属关系导入',2053,6,'','',NULL,'',1,0,'F','0','0','ccdi:staffFmyRelation:import','#','admin','2026-02-09 14:07:45','',NULL,''),(2060,'员工调动记录',2000,3,'staffTransfer','ccdiStaffTransfer/index',NULL,NULL,1,0,'C','0','0','ccdi:staffTransfer:list','peoples','admin','2026-02-10 05:33:38','',NULL,'员工调动记录管理菜单'),(2061,'员工调动记录查询',2060,1,'',NULL,NULL,'',1,0,'F','0','0','ccdi:staffTransfer:query','#','admin','2026-02-10 05:33:41','',NULL,''),(2062,'员工调动记录新增',2060,2,'',NULL,NULL,'',1,0,'F','0','0','ccdi:staffTransfer:add','#','admin','2026-02-10 05:33:41','',NULL,''),(2063,'员工调动记录修改',2060,3,'',NULL,NULL,'',1,0,'F','0','0','ccdi:staffTransfer:edit','#','admin','2026-02-10 05:33:41','',NULL,''),(2064,'员工调动记录删除',2060,4,'',NULL,NULL,'',1,0,'F','0','0','ccdi:staffTransfer:remove','#','admin','2026-02-10 05:33:41','',NULL,''),(2066,'员工调动记录导入',2060,6,'',NULL,NULL,'',1,0,'F','0','0','ccdi:staffTransfer:import','#','admin','2026-02-10 05:33:41','',NULL,''),(2068,'信贷客户家庭关系',2000,10,'custFmyRelation','ccdiCustFmyRelation/index',NULL,'',1,0,'C','0','0','ccdi:custFmyRelation:list','peoples','admin','2026-02-11 08:59:12','',NULL,'信贷客户家庭关系菜单'),(2069,'信贷客户家庭关系查询',2068,1,'#','',NULL,'',1,0,'F','0','0','ccdi:custFmyRelation:query','#','admin','2026-02-11 08:59:18','',NULL,''),(2070,'信贷客户家庭关系新增',2068,2,'#','',NULL,'',1,0,'F','0','0','ccdi:custFmyRelation:add','#','admin','2026-02-11 08:59:18','',NULL,''),(2071,'信贷客户家庭关系修改',2068,3,'#','',NULL,'',1,0,'F','0','0','ccdi:custFmyRelation:edit','#','admin','2026-02-11 08:59:18','',NULL,''),(2072,'信贷客户家庭关系删除',2068,4,'#','',NULL,'',1,0,'F','0','0','ccdi:custFmyRelation:remove','#','admin','2026-02-11 08:59:18','',NULL,''),(2074,'信贷客户家庭关系导入',2068,6,'#','',NULL,'',1,0,'F','0','0','ccdi:custFmyRelation:import','#','admin','2026-02-11 08:59:18','',NULL,''),(2075,'信贷客户实体关联',2000,11,'custEnterpriseRelation','ccdiCustEnterpriseRelation/index',NULL,'',1,0,'C','0','0','ccdi:custEnterpriseRelation:list','peoples','admin','2026-02-13 01:52:52','',NULL,'信贷客户实体关联菜单'),(2076,'信贷客户实体关联查询',2075,1,'#','',NULL,'',1,0,'F','0','0','ccdi:custEnterpriseRelation:query','#','admin','2026-02-13 01:53:05','',NULL,''),(2077,'信贷客户实体关联新增',2075,2,'#','',NULL,'',1,0,'F','0','0','ccdi:custEnterpriseRelation:add','#','admin','2026-02-13 01:53:05','',NULL,''),(2078,'信贷客户实体关联修改',2075,3,'#','',NULL,'',1,0,'F','0','0','ccdi:custEnterpriseRelation:edit','#','admin','2026-02-13 01:53:05','',NULL,''),(2079,'信贷客户实体关联删除',2075,4,'#','',NULL,'',1,0,'F','0','0','ccdi:custEnterpriseRelation:remove','#','admin','2026-02-13 01:53:05','',NULL,''),(2081,'信贷客户实体关联导入',2075,6,'#','',NULL,'',1,0,'F','0','0','ccdi:custEnterpriseRelation:import','#','admin','2026-02-13 01:53:05','',NULL,''),(2082,'模型参数配置',0,1,'modelParam','ccdi/modelParam/index',NULL,'',1,0,'C','0','0','ccdi:modelParam:list','edit','admin','2026-02-26 02:20:36','admin','2026-02-26 02:36:35','模型参数配置菜单'),(2083,'模型参数查询',2082,1,'#','',NULL,'',1,0,'F','0','0','ccdi:modelParam:query','#','admin','2026-02-26 02:20:47','',NULL,''),(2084,'模型参数保存',2082,2,'#','',NULL,'',1,0,'F','0','0','ccdi:modelParam:save','#','admin','2026-02-26 02:20:47','',NULL,''),(2085,'纪检初核管理',0,1,'ccdi',NULL,NULL,'',1,0,'M','1','0','','monitor','admin','2026-02-26 08:43:07','admin','2026-02-28 02:32:53',''),(2086,'项目管理',2085,1,'project','ccdiProject/index',NULL,'',1,0,'C','1','0','ccdi:project:list','project','admin','2026-02-26 08:43:15','admin','2026-02-28 02:32:44',''),(2087,'创建项目',2086,1,'',NULL,NULL,'',1,0,'F','0','0','ccdi:project:add','#','admin','2026-02-26 08:43:25','',NULL,''),(2088,'编辑项目',2086,2,'',NULL,NULL,'',1,0,'F','0','0','ccdi:project:edit','#','admin','2026-02-26 08:43:25','',NULL,''),(2089,'删除项目',2086,3,'',NULL,NULL,'',1,0,'F','0','0','ccdi:project:remove','#','admin','2026-02-26 08:43:25','',NULL,''),(2090,'查询项目',2086,4,'',NULL,NULL,'',1,0,'F','0','0','ccdi:project:query','#','admin','2026-02-26 08:43:25','',NULL,''),(2091,'征信记录维护',2000,6,'creditInfo','ccdiCreditInfo/index',NULL,'',1,0,'C','0','0','ccdi:creditInfo:list','documentation','admin','2026-03-23 12:40:50','admin','2026-04-23 02:58:01','员工征信维护菜单'),(2092,'征信维护查询',2091,1,'','',NULL,'',1,0,'F','0','0','ccdi:creditInfo:query','#','admin','2026-03-23 12:40:50','',NULL,''),(2093,'征信维护上传',2091,2,'','',NULL,'',1,0,'F','0','0','ccdi:creditInfo:upload','#','admin','2026-03-23 12:40:50','',NULL,''),(2094,'征信维护删除',2091,3,'','',NULL,'',1,0,'F','0','0','ccdi:creditInfo:remove','#','admin','2026-03-23 12:40:50','',NULL,''),(2095,'账户库管理',2000,9,'accountInfo','ccdiAccountInfo/index',NULL,'',1,0,'C','0','0','ccdi:accountInfo:list','documentation','admin','2026-04-13 09:25:33','',NULL,'账户库管理菜单'),(2096,'账户查询',2095,1,'','',NULL,'',1,0,'F','0','0','ccdi:accountInfo:query','#','admin','2026-04-13 09:25:33','',NULL,''),(2097,'账户新增',2095,2,'','',NULL,'',1,0,'F','0','0','ccdi:accountInfo:add','#','admin','2026-04-13 09:25:33','',NULL,''),(2098,'账户修改',2095,3,'','',NULL,'',1,0,'F','0','0','ccdi:accountInfo:edit','#','admin','2026-04-13 09:25:33','',NULL,''),(2099,'账户删除',2095,4,'','',NULL,'',1,0,'F','0','0','ccdi:accountInfo:remove','#','admin','2026-04-13 09:25:33','',NULL,''),(2100,'账户导入',2095,5,'','',NULL,'',1,0,'F','0','0','ccdi:accountInfo:import','#','admin','2026-04-14 01:32:18','',NULL,''),(2102,'实体库管理',2000,7,'enterpriseBaseInfo','ccdiEnterpriseBaseInfo/index',NULL,'',1,0,'C','0','0','ccdi:enterpriseBaseInfo:list','documentation','admin','2026-04-17 06:01:57','',NULL,'实体库管理菜单'),(2103,'实体库查询',2102,1,'','',NULL,'',1,0,'F','0','0','ccdi:enterpriseBaseInfo:query','#','admin','2026-04-17 06:01:57','',NULL,''),(2104,'实体库新增',2102,2,'','',NULL,'',1,0,'F','0','0','ccdi:enterpriseBaseInfo:add','#','admin','2026-04-17 06:01:57','',NULL,''),(2105,'实体库修改',2102,3,'','',NULL,'',1,0,'F','0','0','ccdi:enterpriseBaseInfo:edit','#','admin','2026-04-17 06:01:58','',NULL,''),(2106,'实体库删除',2102,4,'','',NULL,'',1,0,'F','0','0','ccdi:enterpriseBaseInfo:remove','#','admin','2026-04-17 06:01:58','',NULL,''),(2107,'实体库导入',2102,5,'','',NULL,'',1,0,'F','0','0','ccdi:enterpriseBaseInfo:import','#','admin','2026-04-17 06:01:58','',NULL,'');
/*!40000 ALTER TABLE `sys_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_user`
--

LOCK TABLES `sys_user` WRITE;
/*!40000 ALTER TABLE `sys_user` DISABLE KEYS */;
INSERT INTO `sys_user` (`user_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `pwd_update_date`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,103,'admin','若依','00','ry@163.com','15888888888','1','','$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2','0','0','127.0.0.1','2026-04-28 09:42:44','2026-02-04 07:12:38','admin','2026-02-04 07:12:38','',NULL,'管理员'),(2,105,'ry','若依','00','ry@qq.com','15666666666','1','','$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2','0','0','127.0.0.1','2026-02-04 07:12:38','2026-02-04 07:12:38','admin','2026-02-04 07:12:38','',NULL,'测试员'),(3,100,'test','test','00','','','0','','$2a$10$A9lx.u0cK3c2iGXYfZakeeRw5SJ3dzCYT39LWjeEnim11yroCM7a6','0','0','172.18.0.1','2026-04-27 11:25:50',NULL,'admin','2026-02-05 03:17:41','',NULL,NULL);
/*!40000 ALTER TABLE `sys_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_role_dept`
--

LOCK TABLES `sys_role_dept` WRITE;
/*!40000 ALTER TABLE `sys_role_dept` DISABLE KEYS */;
INSERT INTO `sys_role_dept` (`role_id`, `dept_id`) VALUES (2,100),(2,101),(2,105);
/*!40000 ALTER TABLE `sys_role_dept` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_role_menu`
--

LOCK TABLES `sys_role_menu` WRITE;
/*!40000 ALTER TABLE `sys_role_menu` DISABLE KEYS */;
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (1,2086),(1,2087),(1,2088),(1,2089),(1,2090),(1,2095),(1,2096),(1,2097),(1,2098),(1,2099),(1,2100),(2,1),(2,2),(2,3),(2,100),(2,101),(2,102),(2,103),(2,104),(2,105),(2,106),(2,107),(2,108),(2,109),(2,110),(2,111),(2,112),(2,113),(2,114),(2,115),(2,116),(2,117),(2,500),(2,501),(2,1000),(2,1001),(2,1002),(2,1003),(2,1004),(2,1005),(2,1006),(2,1007),(2,1008),(2,1009),(2,1010),(2,1011),(2,1012),(2,1013),(2,1014),(2,1015),(2,1016),(2,1017),(2,1018),(2,1019),(2,1020),(2,1021),(2,1022),(2,1023),(2,1024),(2,1025),(2,1026),(2,1027),(2,1028),(2,1029),(2,1030),(2,1031),(2,1032),(2,1033),(2,1034),(2,1035),(2,1036),(2,1037),(2,1038),(2,1039),(2,1040),(2,1041),(2,1042),(2,1043),(2,1044),(2,1045),(2,1046),(2,1047),(2,1048),(2,1049),(2,1050),(2,1051),(2,1052),(2,1053),(2,1054),(2,1055),(2,1056),(2,1057),(2,1058),(2,1059),(2,1060),(2,2000),(2,2001),(2,2002),(2,2010),(2,2011),(2,2012),(2,2013),(2,2015),(2,2020),(2,2021),(2,2022),(2,2023),(2,2025),(2,2030),(2,2031),(2,2032),(2,2033),(2,2034),(2,2035),(2,2037),(2,2038),(2,2039),(2,2040),(2,2041),(2,2042),(2,2044),(2,2045),(2,2046),(2,2047),(2,2048),(2,2049),(2,2050),(2,2052),(2,2053),(2,2054),(2,2055),(2,2056),(2,2057),(2,2059);
/*!40000 ALTER TABLE `sys_role_menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_user_post`
--

LOCK TABLES `sys_user_post` WRITE;
/*!40000 ALTER TABLE `sys_user_post` DISABLE KEYS */;
INSERT INTO `sys_user_post` (`user_id`, `post_id`) VALUES (1,1),(2,2);
/*!40000 ALTER TABLE `sys_user_post` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_user_role`
--

LOCK TABLES `sys_user_role` WRITE;
/*!40000 ALTER TABLE `sys_user_role` DISABLE KEYS */;
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (1,1),(2,2),(3,2);
/*!40000 ALTER TABLE `sys_user_role` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_job`
--

LOCK TABLES `sys_job` WRITE;
/*!40000 ALTER TABLE `sys_job` DISABLE KEYS */;
INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'系统默认（无参）','DEFAULT','ryTask.ryNoParams','0/10 * * * * ?','3','1','1','admin','2026-02-04 07:12:57','',NULL,''),(2,'系统默认（有参）','DEFAULT','ryTask.ryParams(\'ry\')','0/15 * * * * ?','3','1','1','admin','2026-02-04 07:12:57','',NULL,''),(3,'系统默认（多参）','DEFAULT','ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)','0/20 * * * * ?','3','1','1','admin','2026-02-04 07:12:57','',NULL,'');
/*!40000 ALTER TABLE `sys_job` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `sys_notice`
--

LOCK TABLES `sys_notice` WRITE;
/*!40000 ALTER TABLE `sys_notice` DISABLE KEYS */;
INSERT INTO `sys_notice` (`notice_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'温馨提醒：2018-07-01 若依新版本发布啦','2',_binary '新版本内容','0','admin','2026-02-04 07:12:58','',NULL,'管理员'),(2,'维护通知：2018-07-01 若依系统凌晨维护','1',_binary '维护内容','0','admin','2026-02-04 07:12:58','',NULL,'管理员');
/*!40000 ALTER TABLE `sys_notice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping data for table `ccdi_bank_tag_rule`
--

LOCK TABLES `ccdi_bank_tag_rule` WRITE;
/*!40000 ALTER TABLE `ccdi_bank_tag_rule` DISABLE KEYS */;
INSERT INTO `ccdi_bank_tag_rule` (`id`, `model_code`, `model_name`, `rule_code`, `rule_name`, `indicator_code`, `result_type`, `risk_level`, `business_caliber`, `enabled`, `sort_order`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1,'LARGE_TRANSACTION','大额交易','HOUSE_OR_CAR_EXPENSE','房车消费支出交易','HOUSE_OR_CAR_EXPENSE','STATEMENT','HIGH','识别房产、购车等大额消费支出流水',1,10,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(2,'LARGE_TRANSACTION','大额交易','TAX_EXPENSE','税务支出交易','TAX_EXPENSE','STATEMENT','HIGH','识别税务类大额支出流水',1,20,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(3,'LARGE_TRANSACTION','大额交易','SINGLE_LARGE_INCOME','大额单笔收入','SINGLE_TRANSACTION_AMOUNT','STATEMENT','HIGH','识别超过单笔阈值的收入流水',1,30,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(4,'LARGE_TRANSACTION','大额交易','CUMULATIVE_INCOME','累计收入超限','CUMULATIVE_TRANSACTION_AMOUNT','OBJECT','HIGH','识别累计收入超过阈值的对象',1,40,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(5,'LARGE_TRANSACTION','大额交易','ANNUAL_TURNOVER','年流水交易额超限','ANNUAL_TURNOVER','OBJECT','HIGH','识别年交易额超过阈值的对象',1,50,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(6,'LARGE_TRANSACTION','大额交易','LARGE_CASH_DEPOSIT','大额存现交易','LARGE_CASH_DEPOSIT','STATEMENT','HIGH','识别大额现金存入流水',1,60,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(7,'LARGE_TRANSACTION','大额交易','FREQUENT_CASH_DEPOSIT','短时间多次存现','FREQUENT_CASH_DEPOSIT','OBJECT','HIGH','识别短时间多次现金存入对象',1,70,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(8,'LARGE_TRANSACTION','大额交易','LARGE_TRANSFER','大额转账交易','FREQUENT_TRANSFER','STATEMENT','HIGH','识别大额转账流水',1,80,'system','2026-03-16 11:24:29','system','2026-03-18 03:33:49','初始化规则'),(50,'ABNORMAL_TRANSACTION','异常交易','ABNORMAL_CUSTOMER_TRANSACTION','与客户之间非正常资金往来',NULL,'STATEMENT','HIGH','员工及关系人与客户及关系人之间有超过1000元以上的资金往来；客户指信贷类客户包括贷款户、担保人，中介库人员，包括中介注册的主体及主体关系人。',1,10,'system','2026-03-18 03:33:49',NULL,'2026-03-18 03:33:49','占位规则，待补充真实SQL'),(51,'ABNORMAL_TRANSACTION','异常交易','LOW_INCOME_RELATIVE_LARGE_TRANSACTION','低收入亲属大额交易',NULL,'OBJECT','GENERAL','关系人中没有收入或月收入低于3000元的人员，累计交易金额超过10万元。',1,20,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别低收入关系人累计交易超10万元的员工对象'),(52,'SUSPICIOUS_GAMBLING','疑似赌博','MULTI_PARTY_GAMBLING_TRANSFER','疑似赌博交易',NULL,'OBJECT','HIGH','多人（2人及以上）、多次（2次以上）、相近时间（同一天）内，有转账、微信转账、支付宝转账发生，且额度在可疑区间。金额区间可在排查设置页面进行设置',1,10,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别同日多对手方且金额落在可疑区间的疑似赌博对象'),(53,'SUSPICIOUS_GAMBLING','疑似赌博','GAMBLING_SENSITIVE_KEYWORD','疑似敏感交易',NULL,'STATEMENT','HIGH','备注或交易摘要、对手有“游戏、抖币、体彩、福彩”等字眼。',1,20,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别摘要或对手方命中赌博敏感词的支出流水'),(54,'SUSPICIOUS_RELATION','可疑关系','SPECIAL_AMOUNT_TRANSACTION','特殊金额交易',NULL,'STATEMENT',NULL,'除与配偶、子女外，发生特殊金额交易，如1314元、520元等具有特殊含义的金额。',1,10,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别与非配偶子女发生的特殊金额交易'),(55,'SUSPICIOUS_PART_TIME','可疑兼职','MONTHLY_FIXED_INCOME','疑似兼职','MONTHLY_FIXED_INCOME','OBJECT',NULL,'除本行工资收入外，每月有固定收入，固定收入金额自行设置。',1,10,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别近12个月持续出现稳定月度非工资收入的员工对象'),(56,'SUSPICIOUS_PART_TIME','可疑兼职','FIXED_COUNTERPARTY_TRANSFER','疑似兼职',NULL,'OBJECT',NULL,'每季或每年从固定交易对手转入金额，金额可设区间值，如5000-10000。',1,20,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别固定交易对手季度转入金额落在设定区间的员工对象'),(57,'SUSPICIOUS_PART_TIME','可疑兼职','SUSPICIOUS_INCOME_KEYWORD','疑似兼职',NULL,'STATEMENT','HIGH','转入资金摘要有“工资”、“分红”、“红利”、“利息（非银行结息）”等收入',1,30,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别非本行工资代发的收入关键词转入流水'),(58,'SUSPICIOUS_PROPERTY','可疑财产','HOUSE_REGISTRATION_MISMATCH','购房交易与房产登记不匹配',NULL,'STATEMENT',NULL,'员工及关系人有购房交易，但名下房产无新增登记；有新增登记购房，但无相关购房交易记录。',1,10,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别购房支出但当前房产登记口径缺失的流水'),(59,'SUSPICIOUS_PROPERTY','可疑财产','PROPERTY_FEE_REGISTRATION_MISMATCH','物业缴费与房产登记不匹配',NULL,'STATEMENT',NULL,'员工及关系人有物业缴费记录，但名下房产无新增登记。',1,20,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别物业缴费但当前房产登记口径缺失的流水'),(60,'SUSPICIOUS_PROPERTY','可疑财产','TAX_ASSET_REGISTRATION_MISMATCH','大额纳税与资产登记不匹配',NULL,'STATEMENT',NULL,'员工及关系人有5000元以上的纳税记录，但当前资产登记口径下无房产登记。',1,30,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别大额纳税但当前房产登记口径缺失的流水'),(61,'SUSPICIOUS_PROPERTY','可疑财产','INCOME_ASSET_MISMATCH','收入资产不符',NULL,'STATEMENT','HIGH','豪华房产价值超家庭年收入10倍',1,40,'system','2026-03-18 03:33:49',NULL,'2026-03-18 03:33:49','占位规则，待补充真实SQL'),(62,'SUSPICIOUS_FOREIGN_EXCHANGE','可疑外汇交易','FOREX_BUY_AMT','可疑外汇交易','SINGLE_PURCHASE_AMOUNT','STATEMENT',NULL,'单笔购汇金额超限',1,10,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别单笔购汇金额超过阈值的流水'),(63,'SUSPICIOUS_FOREIGN_EXCHANGE','可疑外汇交易','FOREX_SELL_AMT','可疑外汇交易','SINGLE_SETTLEMENT_AMOUNT','STATEMENT',NULL,'单笔结汇金额超限',1,20,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别单笔结汇金额超过阈值的流水'),(64,'SUSPICIOUS_FOREIGN_EXCHANGE','可疑外汇交易','CROSS_BORDER_AMT','可疑外汇交易','CROSS_BORDER_AMT','STATEMENT',NULL,'单笔跨境汇款金额超限',1,30,'system','2026-03-18 03:33:49',NULL,'2026-03-18 03:33:49','占位规则，待补充真实SQL'),(65,'SUSPICIOUS_INTEREST_PAYMENT','可疑付息','INTEREST_PAYMENT_BY_OTHERS','可疑付息',NULL,'OBJECT','HIGH','客户经理管户的客户在智柜、柜面连续代交利息，且代交人数超过2人。',1,10,'system','2026-03-18 03:33:49',NULL,'2026-03-18 03:33:49','占位规则，待补充真实SQL'),(66,'SUSPICIOUS_PURCHASE','可疑采购','LARGE_PURCHASE_TRANSACTION','可疑采购',NULL,'STATEMENT',NULL,'单笔采购金额超过10万元。',1,10,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别单笔采购金额超过10万元的采购事项'),(67,'SUSPICIOUS_PURCHASE','可疑采购','SUPPLIER_CONCENTRATION','可疑采购',NULL,'OBJECT',NULL,'单个供应商采购额占总采购额比例超过70%。',1,20,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别单个供应商采购额占比超过70%的员工对象'),(68,'ABNORMAL_BEHAVIOR','异常行为','STOCK_TFR_LARGE','可疑银证大额转账','STOCK_TFR_LARGE','STATEMENT',NULL,'家庭老人/非关系人银证大额转账',1,10,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别银证转账金额超过阈值的流水'),(69,'ABNORMAL_BEHAVIOR','异常行为','WITHDRAW_CNT','微信支付宝频繁提现','WITHDRAW_CNT','OBJECT',NULL,'微信、支付宝单日提现次数超过设置次数',1,20,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别微信支付宝单日提现次数超过阈值的对象'),(70,'ABNORMAL_BEHAVIOR','异常行为','WITHDRAW_AMT','微信支付宝提现超额','WITHDRAW_AMT','OBJECT',NULL,'微信、支付宝单日累计提现金额超过限额',1,30,'system','2026-03-18 03:33:49',NULL,'2026-03-18 03:33:49','占位规则，待补充真实SQL'),(71,'ABNORMAL_BEHAVIOR','异常行为','SALARY_QUICK_TRANSFER','工资快速转出',NULL,'OBJECT',NULL,'工资发放后24小时内转出超过80%的资金。',1,40,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别工资入账24小时内快速转出的员工对象'),(72,'ABNORMAL_BEHAVIOR','异常行为','SALARY_UNUSED','工资无使用记录',NULL,'OBJECT',NULL,'工资发放后除代扣项目外，连续30天无消费或转账支出记录。',1,50,'system','2026-03-18 03:33:49','system','2026-03-20 08:30:27','真实规则：识别工资入账后30天内无消费或转账支出的员工对象'),(73,'ABNORMAL_BEHAVIOR','异常行为','LARGE_STOCK_TRADING','大额炒股','STOCK_TFR_LARGE','STATEMENT','HIGH','单次三方资管交易金额超过100万元。',1,60,'system','2026-03-18 03:33:49','system','2026-03-20 07:35:03','真实规则：识别单笔三方资管交易金额超过阈值的流水'),(74,'ABNORMAL_BEHAVIOR','异常行为','PROXY_ACCOUNT_OPERATION','疑似代理他人账户',NULL,'OBJECT',NULL,NULL,1,70,'system','2026-03-18 03:33:49',NULL,'2026-03-18 03:33:49','占位规则，待补充真实SQL'),(75,'ABNORMAL_ACCOUNT','异常账户','SUDDEN_ACCOUNT_CLOSURE','突然销户',NULL,'OBJECT','HIGH','员工本人账户已销户，且销户日前30天内仍存在交易记录。',1,10,'system','2026-03-31 08:34:50','system','2026-03-31 11:56:43','真实规则：识别员工本人账户销户前30天内仍有交易的员工对象'),(76,'ABNORMAL_ACCOUNT','异常账户','DORMANT_ACCOUNT_LARGE_ACTIVATION','休眠账户大额启用',NULL,'OBJECT','HIGH','员工本人账户开户后长期未使用，首次启用后出现大额资金流动。',1,20,'system','2026-03-31 08:34:50','system','2026-03-31 11:56:43','真实规则：识别长期休眠后首次启用即出现大额资金流动的员工对象');
/*!40000 ALTER TABLE `ccdi_bank_tag_rule` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-04-28  9:48:37
-- MySQL dump 10.13  Distrib 9.6.0, for macos15 (arm64)
--
-- Source: ccdi database data snapshot
-- ------------------------------------------------------
-- Server version	8.0.18

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Dumping data for table `ccdi_model_param`
--
-- WHERE:  project_id = 0

LOCK TABLES `ccdi_model_param` WRITE;
/*!40000 ALTER TABLE `ccdi_model_param` DISABLE KEYS */;
INSERT INTO `ccdi_model_param` (`id`, `project_id`, `model_code`, `model_name`, `param_code`, `param_name`, `param_desc`, `param_value`, `param_unit`, `sort_order`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (90,0,'ABNORMAL_BEHAVIOR','异常行为模型','STOCK_TFR_LARGE','银证转账大额金额','','1000','元',1,'admin','2026-03-18 03:33:50','admin','2026-03-20 08:09:54','系统默认参数'),(92,0,'ABNORMAL_BEHAVIOR','异常行为模型','WITHDRAW_AMT','微信、支付宝单日提现金额','','5000','元/日',3,'admin','2026-03-18 03:33:50','admin','2026-03-20 08:08:11','系统默认参数'),(91,0,'ABNORMAL_BEHAVIOR','异常行为模型','WITHDRAW_CNT','微信、支付宝单日提现次数','','3','次/日',2,'admin','2026-03-18 03:33:50','','2026-03-18 03:33:50','系统默认参数'),(89,0,'LARGE_TRANSACTION','大额交易模型','ANNUAL_TURNOVER','年累计交易额','年累计交易额超过该金额','10000','元',3,'admin','2026-03-18 03:33:50','admin','2026-03-20 08:09:54','系统默认参数'),(2,0,'LARGE_TRANSACTION','大额交易模型','CUMULATIVE_TRANSACTION_AMOUNT','累计大额收入金额','年累计收入超过该金额','10000','元',2,'admin','2026-03-16 03:12:45','admin','2026-03-20 08:09:54','系统默认参数'),(5,0,'LARGE_TRANSACTION','大额交易模型','FREQUENT_CASH_DEPOSIT','单日多次存现次数','24小时内累计存现超过','2','次',5,'admin','2026-03-16 03:12:45','admin','2026-03-18 08:19:41','系统默认参数'),(6,0,'LARGE_TRANSACTION','大额交易模型','FREQUENT_TRANSFER','单笔大额转账金额','单笔转账金额超过','5000','元',6,'admin','2026-03-16 03:12:45','admin','2026-03-20 08:07:47','系统默认参数'),(4,0,'LARGE_TRANSACTION','大额交易模型','LARGE_CASH_DEPOSIT','单笔大额存现金额','单笔存现金额超过','5000','元',4,'admin','2026-03-16 03:12:45','admin','2026-03-18 08:21:53','系统默认参数'),(1,0,'LARGE_TRANSACTION','大额交易模型','SINGLE_TRANSACTION_AMOUNT','单笔大额收入金额','单笔收入超过该金额','1000','元',1,'admin','2026-03-16 03:12:45','admin','2026-03-20 08:09:54','系统默认参数'),(11,0,'SUSPICIOUS_FOREIGN_EXCHANGE','可疑外汇交易模型','CROSS_BORDER_REMITTANCE','跨境汇款金额','跨境汇款金额超过','2000','美元/笔',3,'admin','2026-03-16 03:12:45','admin','2026-03-20 08:09:54','系统默认参数'),(9,0,'SUSPICIOUS_FOREIGN_EXCHANGE','可疑外汇交易模型','SINGLE_PURCHASE_AMOUNT','单笔购汇金额','单笔购汇超过该金额','5000','美元/笔',1,'admin','2026-03-16 03:12:45','admin','2026-03-20 08:09:54','系统默认参数'),(10,0,'SUSPICIOUS_FOREIGN_EXCHANGE','可疑外汇交易模型','SINGLE_SETTLEMENT_AMOUNT','单笔结汇金额','单笔结汇超过该金额','5000','美元/笔',2,'admin','2026-03-16 03:12:45','admin','2026-03-20 08:09:54','系统默认参数'),(94,0,'SUSPICIOUS_GAMBLING','疑似赌博交易模型','MULTI_PARTY_AMT_MAX','疑似赌博金额上限','','5000','元',2,'admin','2026-03-18 03:33:50','','2026-03-18 03:33:50','系统默认参数'),(93,0,'SUSPICIOUS_GAMBLING','疑似赌博交易模型','MULTI_PARTY_AMT_MIN','疑似赌博金额下限','','500','元',1,'admin','2026-03-18 03:33:50','','2026-03-18 03:33:50','系统默认参数'),(82,0,'SUSPICIOUS_PART_TIME','可疑兼职模型','FIXED_COUNTERPARTY_TRANSFER_MAX','季度稳定收入金额上限','每季从固定交易对手转入金额上限','15000','元/季',3,'admin','2026-03-17 09:00:46','system','2026-03-18 03:33:50','系统默认参数'),(81,0,'SUSPICIOUS_PART_TIME','可疑兼职模型','FIXED_COUNTERPARTY_TRANSFER_MIN','季度稳定收入金额下限','每季从固定交易对手转入金额下限','3000','元/季',2,'admin','2026-03-17 09:00:46','system','2026-03-18 03:33:50','系统默认参数'),(7,0,'SUSPICIOUS_PART_TIME','可疑兼职模型','MONTHLY_FIXED_INCOME','月度非本行工资收入金额','除本行工资外,每月固定收入超过','5000','元/月',1,'admin','2026-03-16 03:12:45','system','2026-03-18 03:33:50','系统默认参数');
/*!40000 ALTER TABLE `ccdi_model_param` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-04-28  9:48:48
