@ -3,15 +3,15 @@
Source Server : 127 . 0 . 0 . 1 MySQL
Source Server Type : MySQL
Source Server Version : 80 034
Source Host : localhost : 3306
Source Server Version : 80 200 ( 8 . 2 . 0 )
Source Host : 127. 0 . 0 . 1 : 3306
Source Schema : ruoyi - vue - pro
Target Server Type : MySQL
Target Server Version : 80 034
Target Server Version : 80 200 ( 8 . 2 . 0 )
File Encoding : 65001
Date : 18/ 11 / 2023 17 : 48 : 18
Date : 30/ 11 / 2023 21 : 13 : 06
* /
SET NAMES utf8mb4 ;
@ -385,7 +385,7 @@ CREATE TABLE `infra_api_error_log` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1964 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 系统异常日志 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2018 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 系统异常日志 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of infra_api_error_log
@ -423,7 +423,7 @@ CREATE TABLE `infra_codegen_column` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1905 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 代码生成表字段定义 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2000 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 代码生成表字段定义 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of infra_codegen_column
@ -461,7 +461,7 @@ CREATE TABLE `infra_codegen_table` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 46 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 代码生成表定义 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 1 55 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 代码生成表定义 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of infra_codegen_table
@ -568,7 +568,7 @@ CREATE TABLE `infra_demo02_category` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 示例分类表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 示例分类表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of infra_demo02_category
@ -579,6 +579,7 @@ INSERT INTO `infra_demo02_category` (`id`, `name`, `parent_id`, `creator`, `crea
INSERT INTO ` infra_demo02_category ` ( ` id ` , ` name ` , ` parent_id ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 3 , ' 怪怪 ' , 0 , '1' , ' 2023 - 11 - 16 20 : 24 : 32 ' , '1' , ' 2023 - 11 - 16 20 : 24 : 32 ' , b '0' , 1 ) ;
INSERT INTO ` infra_demo02_category ` ( ` id ` , ` name ` , ` parent_id ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 4 , ' 小番茄 ' , 2 , '1' , ' 2023 - 11 - 16 20 : 24 : 39 ' , '1' , ' 2023 - 11 - 16 20 : 24 : 39 ' , b '0' , 1 ) ;
INSERT INTO ` infra_demo02_category ` ( ` id ` , ` name ` , ` parent_id ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 5 , ' 大番茄 ' , 2 , '1' , ' 2023 - 11 - 16 20 : 24 : 46 ' , '1' , ' 2023 - 11 - 16 20 : 24 : 46 ' , b '0' , 1 ) ;
INSERT INTO ` infra_demo02_category ` ( ` id ` , ` name ` , ` parent_id ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 6 , ' 11 ' , 3 , '1' , ' 2023 - 11 - 24 19 : 29 : 34 ' , '1' , ' 2023 - 11 - 24 19 : 29 : 34 ' , b '0' , 1 ) ;
COMMIT ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -651,7 +652,7 @@ CREATE TABLE `infra_demo03_student` (
` name ` varchar ( 100 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ' ' COMMENT ' 名字 ' ,
` sex ` tinyint NOT NULL COMMENT ' 性别 ' ,
` birthday ` datetime NOT NULL COMMENT ' 出生日期 ' ,
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_ unicode _ci NOT NULL COMMENT ' 简介 ' ,
` description ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_ 0900_ai _ci NOT NULL COMMENT ' 简介 ' ,
` creator ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT ' ' COMMENT ' 创建者 ' ,
` create_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT ' 创建时间 ' ,
` updater ` varchar ( 64 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT ' ' COMMENT ' 更新者 ' ,
@ -765,7 +766,7 @@ CREATE TABLE `infra_job` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 定时任务表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 定时任务表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of infra_job
@ -806,7 +807,7 @@ CREATE TABLE `infra_job_log` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 23 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 定时任务日志表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 23 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 定时任务日志表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of infra_job_log
@ -834,7 +835,7 @@ CREATE TABLE `member_address` (
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_userId ` ( ` user_id ` ASC ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = ' 用户收件地址 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = ' 用户收件地址 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_address
@ -893,7 +894,7 @@ CREATE TABLE `member_experience_record` (
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_user_id ` ( ` user_id ` ASC ) USING BTREE COMMENT ' 会员经验记录 - 用户编号 ' ,
INDEX ` idx_user_biz_type ` ( ` user_id ` ASC , ` biz_type ` ASC ) USING BTREE COMMENT ' 会员经验记录 - 用户业务类型 '
) ENGINE = InnoDB AUTO_INCREMENT = 4 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员经验记录 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 4 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员经验记录 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_experience_record
@ -951,7 +952,7 @@ CREATE TABLE `member_group` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 用户分组 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 用户分组 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_group
@ -979,7 +980,7 @@ CREATE TABLE `member_level` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员等级 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员等级 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_level
@ -1009,7 +1010,7 @@ CREATE TABLE `member_level_record` (
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_user_id ` ( ` user_id ` ASC ) USING BTREE COMMENT ' 会员等级记录 - 用户编号 '
) ENGINE = InnoDB AUTO_INCREMENT = 2 0 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员等级记录 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员等级记录 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_level_record
@ -1039,7 +1040,7 @@ CREATE TABLE `member_point_record` (
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` index_userId ` ( ` user_id ` ASC ) USING BTREE ,
INDEX ` index_title ` ( ` title ` ASC ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 0 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 用户积分记录 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 6 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 用户积分记录 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_point_record
@ -1179,7 +1180,7 @@ CREATE TABLE `member_tag` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员标签 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 会员标签 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_tag
@ -1221,7 +1222,7 @@ CREATE TABLE `member_user` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 49 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = ' 会员用户 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2 50 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = ' 会员用户 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of member_user
@ -1289,7 +1290,7 @@ CREATE TABLE `system_dict_data` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 47 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 字典数据表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 14 55 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 字典数据表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_dict_data
@ -1604,6 +1605,14 @@ INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `st
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1444 , 10 , ' 主表 ( 标准模式 ) ' , ' 10 ' , ' infra_codegen_template_type ' , 0 , ' default ' , ' ' , ' ' , '1' , ' 2023 - 11 - 14 12 : 32 : 49 ' , '1' , ' 2023 - 11 - 14 12 : 32 : 49 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1445 , 11 , ' 主表 ( ERP 模式 ) ' , ' 11 ' , ' infra_codegen_template_type ' , 0 , ' default ' , ' ' , ' ' , '1' , ' 2023 - 11 - 14 12 : 33 : 05 ' , '1' , ' 2023 - 11 - 14 12 : 33 : 05 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1446 , 12 , ' 主表 ( 内嵌模式 ) ' , ' 12 ' , ' infra_codegen_template_type ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 14 12 : 33 : 31 ' , '1' , ' 2023 - 11 - 14 12 : 33 : 31 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1447 , 1 , ' 负责人 ' , '1' , ' crm_permission_level ' , 0 , ' default ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 09 : 53 : 12 ' , '1' , ' 2023 - 11 - 30 09 : 53 : 12 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1448 , 2 , ' 只读 ' , '2' , ' crm_permission_level ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 09 : 53 : 29 ' , '1' , ' 2023 - 11 - 30 09 : 53 : 29 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1449 , 3 , ' 读写 ' , '3' , ' crm_permission_level ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 09 : 53 : 36 ' , '1' , ' 2023 - 11 - 30 09 : 53 : 36 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1450 , 0 , ' 未提交 ' , '0' , ' crm_audit_status ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 18 : 56 : 59 ' , '1' , ' 2023 - 11 - 30 18 : 56 : 59 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1451 , 10 , ' 审批中 ' , ' 10 ' , ' crm_audit_status ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 18 : 57 : 10 ' , '1' , ' 2023 - 11 - 30 18 : 57 : 10 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1452 , 20 , ' 审核通过 ' , ' 20 ' , ' crm_audit_status ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 18 : 57 : 24 ' , '1' , ' 2023 - 11 - 30 18 : 57 : 24 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1453 , 30 , ' 审核不通过 ' , ' 30 ' , ' crm_audit_status ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 18 : 57 : 32 ' , '1' , ' 2023 - 11 - 30 18 : 57 : 32 ' , b '0' ) ;
INSERT INTO ` system_dict_data ` ( ` id ` , ` sort ` , ` label ` , ` value ` , ` dict_type ` , ` status ` , ` color_type ` , ` css_class ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 1454 , 40 , ' 已取消 ' , ' 40 ' , ' crm_audit_status ' , 0 , ' ' , ' ' , ' ' , '1' , ' 2023 - 11 - 30 18 : 57 : 42 ' , '1' , ' 2023 - 11 - 30 18 : 57 : 42 ' , b '0' ) ;
COMMIT ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -1624,7 +1633,7 @@ CREATE TABLE `system_dict_type` (
` deleted_time ` datetime NULL DEFAULT NULL COMMENT ' 删除时间 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
UNIQUE INDEX ` dict_type ` ( ` type ` ASC ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 60 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 字典类型表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 60 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 字典类型表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_dict_type
@ -1704,6 +1713,8 @@ INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creat
INSERT INTO ` system_dict_type ` ( ` id ` , ` name ` , ` type ` , ` status ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` deleted_time ` ) VALUES ( 600 , ' Banner 位置 ' , ' promotion_banner_position ' , 0 , ' ' , '1' , ' 2023 - 10 - 08 07 : 24 : 25 ' , '1' , ' 2023 - 11 - 04 13 : 04 : 02 ' , b '0' , ' 1970 - 01 - 01 00 : 00 : 00 ' ) ;
INSERT INTO ` system_dict_type ` ( ` id ` , ` name ` , ` type ` , ` status ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` deleted_time ` ) VALUES ( 601 , ' 社交类型 ' , ' system_social_type ' , 0 , ' ' , '1' , ' 2023 - 11 - 04 13 : 03 : 54 ' , '1' , ' 2023 - 11 - 04 13 : 03 : 54 ' , b '0' , ' 1970 - 01 - 01 00 : 00 : 00 ' ) ;
INSERT INTO ` system_dict_type ` ( ` id ` , ` name ` , ` type ` , ` status ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` deleted_time ` ) VALUES ( 604 , ' 产品状态 ' , ' crm_product_status ' , 0 , ' ' , '1' , ' 2023 - 10 - 30 21 : 47 : 59 ' , '1' , ' 2023 - 10 - 30 21 : 48 : 45 ' , b '0' , ' 1970 - 01 - 01 00 : 00 : 00 ' ) ;
INSERT INTO ` system_dict_type ` ( ` id ` , ` name ` , ` type ` , ` status ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` deleted_time ` ) VALUES ( 605 , ' CRM 数据权限的级别 ' , ' crm_permission_level ' , 0 , ' ' , '1' , ' 2023 - 11 - 30 09 : 51 : 59 ' , '1' , ' 2023 - 11 - 30 09 : 51 : 59 ' , b '0' , ' 1970 - 01 - 01 00 : 00 : 00 ' ) ;
INSERT INTO ` system_dict_type ` ( ` id ` , ` name ` , ` type ` , ` status ` , ` remark ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` deleted_time ` ) VALUES ( 606 , ' CRM 审批状态 ' , ' crm_audit_status ' , 0 , ' ' , '1' , ' 2023 - 11 - 30 18 : 56 : 23 ' , '1' , ' 2023 - 11 - 30 18 : 56 : 23 ' , b '0' , ' 1970 - 01 - 01 00 : 00 : 00 ' ) ;
COMMIT ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -1723,7 +1734,7 @@ CREATE TABLE `system_error_code` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5932 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 错误码表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 6039 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 错误码表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_error_code
@ -1752,7 +1763,7 @@ CREATE TABLE `system_login_log` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 26 4 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 系统访问记录 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 26 6 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 系统访问记录 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_login_log
@ -1817,7 +1828,7 @@ CREATE TABLE `system_mail_log` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 35 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 邮件日志表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 35 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 邮件日志表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_mail_log
@ -1882,7 +1893,7 @@ CREATE TABLE `system_menu` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 04 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 菜单权限表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 25 26 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 菜单权限表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_menu
@ -2292,7 +2303,7 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2302 , ' 支付通知查询 ' , ' pay : notify : query ' , 3 , 1 , 2301 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 07 - 20 04 : 41 : 32 ' , ' ' , ' 2023 - 07 - 20 04 : 41 : 32 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2303 , ' 拼团活动 ' , ' ' , 2 , 3 , 2030 , ' combination ' , ' fa : group ' , ' ' , ' ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 08 - 12 17 : 19 : 54 ' , '1' , ' 2023 - 08 - 12 17 : 20 : 05 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2304 , ' 拼团商品 ' , ' ' , 2 , 1 , 2303 , ' acitivity ' , ' ep : apple ' , ' mall / promotion / combination / activity / index ' , ' PromotionCombinationActivity ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 08 - 12 17 : 22 : 03 ' , '1' , ' 2023 - 08 - 12 17 : 22 : 29 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2305 , ' 拼团活动查询 ' , ' promotion : combination - activity : query ' , 3 , 1 , 2304 , ' ' , ' ' , ' ' , ' ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 08 - 12 17 : 54 : 32 ' , '1' , ' 2023 - 08- 12 17 : 54 : 32 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2305 , ' 拼团活动查询 ' , ' promotion : combination - activity : query ' , 3 , 1 , 2304 , ' ' , ' ' , ' ' , ' ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 08 - 12 17 : 54 : 32 ' , '1' , ' 2023 - 11- 24 11 : 57 : 40 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2306 , ' 拼团活动创建 ' , ' promotion : combination - activity : create ' , 3 , 2 , 2304 , ' ' , ' ' , ' ' , ' ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 08 - 12 17 : 54 : 49 ' , '1' , ' 2023 - 08 - 12 17 : 54 : 49 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2307 , ' 拼团活动更新 ' , ' promotion : combination - activity : update ' , 3 , 3 , 2304 , ' ' , ' ' , ' ' , ' ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 08 - 12 17 : 55 : 04 ' , '1' , ' 2023 - 08 - 12 17 : 55 : 04 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2308 , ' 拼团活动删除 ' , ' promotion : combination - activity : delete ' , 3 , 4 , 2304 , ' ' , ' ' , ' ' , ' ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 08 - 12 17 : 55 : 23 ' , '1' , ' 2023 - 08 - 12 17 : 55 : 23 ' , b '0' ) ;
@ -2457,6 +2468,16 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2494 , ' 学生删除 ' , ' infra : demo03 - student : delete ' , 3 , 4 , 2490 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 16 12 : 53 : 37 ' , ' ' , ' 2023 - 11 - 16 12 : 53 : 37 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2495 , ' 学生导出 ' , ' infra : demo03 - student : export ' , 3 , 5 , 2490 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 16 12 : 53 : 37 ' , ' ' , ' 2023 - 11 - 16 12 : 53 : 37 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2497 , ' 主子表 ( ERP ) ' , ' ' , 2 , 11 , 1070 , ' demo03 - erp ' , ' ep : calendar ' , ' infra / demo / demo03 / erp / index ' , ' Demo03StudentERP ' , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 16 15 : 50 : 59 ' , '1' , ' 2023 - 11 - 17 13 : 19 : 56 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2516 , ' 客户公海配置 ' , ' ' , 2 , 0 , 2524 , ' customer - pool - config ' , ' ep : data - analysis ' , ' crm / config / customerPoolConfig / index ' , ' CrmCustomerPoolConfig ' , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 31 ' , '1' , ' 2023 - 11 - 26 20 : 08 : 14 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2517 , ' 客户公海配置保存 ' , ' crm : customer - pool - config : update ' , 3 , 1 , 2516 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 31 ' , ' ' , ' 2023 - 11 - 18 13 : 33 : 31 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2518 , ' 客户限制配置 ' , ' ' , 2 , 0 , 2524 , ' customer - limit - config ' , ' ep : avatar ' , ' crm / config / customerLimitConfig / index ' , ' CrmCustomerLimitConfig ' , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , '1' , ' 2023 - 11 - 26 20 : 07 : 04 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2519 , ' 客户限制配置查询 ' , ' crm : customer - limit - config : query ' , 3 , 1 , 2518 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2520 , ' 客户限制配置创建 ' , ' crm : customer - limit - config : create ' , 3 , 2 , 2518 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2521 , ' 客户限制配置更新 ' , ' crm : customer - limit - config : update ' , 3 , 3 , 2518 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2522 , ' 客户限制配置删除 ' , ' crm : customer - limit - config : delete ' , 3 , 4 , 2518 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2523 , ' 客户限制配置导出 ' , ' crm : customer - limit - config : export ' , 3 , 5 , 2518 , ' ' , ' ' , ' ' , NULL , 0 , b '1' , b '1' , b '1' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , ' ' , ' 2023 - 11 - 18 13 : 33 : 53 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2524 , ' 系统配置 ' , ' ' , 1 , 99 , 2397 , ' config ' , ' ep : connection ' , ' ' , ' ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 11 - 18 21 : 58 : 00 ' , '1' , ' 2023 - 11 - 18 21 : 58 : 00 ' , b '0' ) ;
INSERT INTO ` system_menu ` ( ` id ` , ` name ` , ` permission ` , ` type ` , ` sort ` , ` parent_id ` , ` path ` , ` icon ` , ` component ` , ` component_name ` , ` status ` , ` visible ` , ` keep_alive ` , ` always_show ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` ) VALUES ( 2525 , ' WebSocket 测试 ' , ' ' , 2 , 7 , 2 , ' websocket ' , ' ep : connection ' , ' infra / webSocket / index ' , ' InfraWebSocket ' , 0 , b '1' , b '1' , b '1' , '1' , ' 2023 - 11 - 23 19 : 41 : 55 ' , '1' , ' 2023 - 11 - 24 19 : 22 : 30 ' , b '0' ) ;
COMMIT ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -2483,7 +2504,7 @@ CREATE TABLE `system_notice` (
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BEGIN ;
INSERT INTO ` system_notice ` ( ` id ` , ` title ` , ` content ` , ` type ` , ` status ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 1 , ' 芋道的公众 ' , ' < p > 新版本内容133 < / p > ' , 1 , 0 , ' admin ' , ' 2021 - 01 - 05 17 : 03 : 48 ' , '1' , ' 2022 - 05 - 04 21 : 00 : 20 ' , b '0' , 1 ) ;
INSERT INTO ` system_notice ` ( ` id ` , ` title ` , ` content ` , ` type ` , ` status ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 2 , ' 维护通知 : 2018 - 07 - 01 若依 系统凌晨维护' , ' < p > < img src = \ " http://test.yudao.iocoder.cn/b7cb3cf49b4b3258bf7309a09dd2f4e5.jpg \" alt= \" \" data-href= \" \" style= \" \" />1111</p>', 2, 1, 'admin', '2021-01-05 17:03:48', '1', '2023-11- 11 12:51:1 1', b'0', 1);
INSERT INTO ` system_notice ` ( ` id ` , ` title ` , ` content ` , ` type ` , ` status ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 2 , ' 维护通知 : 2018 - 07 - 01 系统凌晨维护' , ' < p > < img src = \ " http://test.yudao.iocoder.cn/b7cb3cf49b4b3258bf7309a09dd2f4e5.jpg \" alt= \" \" data-href= \" \" style= \" \" />1111</p>', 2, 1, 'admin', '2021-01-05 17:03:48', '1', '2023-11- 23 23:37:4 1', b'0', 1);
INSERT INTO ` system_notice ` ( ` id ` , ` title ` , ` content ` , ` type ` , ` status ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 4 , ' 我是测试标题 ' , ' < p > 哈哈哈哈123 < / p > ' , 1 , 0 , ' 110 ' , ' 2022 - 02 - 22 01 : 01 : 25 ' , ' 110 ' , ' 2022 - 02 - 22 01 : 01 : 46 ' , b '0' , 121 ) ;
COMMIT ;
@ -2547,7 +2568,7 @@ CREATE TABLE `system_notify_template` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 站内信模板表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 站内信模板表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_notify_template
@ -2577,7 +2598,7 @@ CREATE TABLE `system_oauth2_access_token` (
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_access_token ` ( ` access_token ` ASC ) USING BTREE ,
INDEX ` idx_refresh_token ` ( ` refresh_token ` ASC ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 46 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' OAuth2 访问令牌 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 3 58 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' OAuth2 访问令牌 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_oauth2_access_token
@ -2699,7 +2720,7 @@ CREATE TABLE `system_oauth2_refresh_token` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 11 15 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' OAuth2 刷新令牌 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 11 32 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' OAuth2 刷新令牌 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_oauth2_refresh_token
@ -2739,7 +2760,7 @@ CREATE TABLE `system_operate_log` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 090 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 操作日志记录 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 9 175 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 操作日志记录 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_operate_log
@ -2765,7 +2786,7 @@ CREATE TABLE `system_post` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 岗位信息表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 岗位信息表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_post
@ -3739,7 +3760,7 @@ CREATE TABLE `system_sms_code` (
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
INDEX ` idx_mobile ` ( ` mobile ` ASC ) USING BTREE COMMENT ' 手机号 '
) ENGINE = InnoDB AUTO_INCREMENT = 53 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 手机验证码 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 53 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 手机验证码 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_sms_code
@ -3766,8 +3787,6 @@ CREATE TABLE `system_sms_log` (
` user_type ` tinyint NULL DEFAULT NULL COMMENT ' 用户类型 ' ,
` send_status ` tinyint NOT NULL DEFAULT 0 COMMENT ' 发送状态 ' ,
` send_time ` datetime NULL DEFAULT NULL COMMENT ' 发送时间 ' ,
` send_code ` int NULL DEFAULT NULL COMMENT ' 发送结果的编码 ' ,
` send_msg ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT ' 发送结果的提示 ' ,
` api_send_code ` varchar ( 63 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT ' 短信 API 发送结果的编码 ' ,
` api_send_msg ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT ' 短信 API 发送失败的提示 ' ,
` api_request_id ` varchar ( 255 ) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT ' 短信 API 发送返回的唯一请求 ID ' ,
@ -3782,7 +3801,7 @@ CREATE TABLE `system_sms_log` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 50 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 短信日志 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 50 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 短信日志 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_sms_log
@ -3812,7 +3831,7 @@ CREATE TABLE `system_sms_template` (
` update_time ` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ' 更新时间 ' ,
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 短信模板 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 1 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 短信模板 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_sms_template
@ -3882,7 +3901,7 @@ CREATE TABLE `system_social_user` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 社交用户表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 2 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 社交用户表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_social_user
@ -3907,7 +3926,7 @@ CREATE TABLE `system_social_user_bind` (
` deleted ` bit ( 1 ) NOT NULL DEFAULT b '0' COMMENT ' 是否删除 ' ,
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 0 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 社交绑定表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 8 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 社交绑定表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_social_user_bind
@ -4077,13 +4096,13 @@ CREATE TABLE `system_users` (
` tenant_id ` bigint NOT NULL DEFAULT 0 COMMENT ' 租户编号 ' ,
PRIMARY KEY ( ` id ` ) USING BTREE ,
UNIQUE INDEX ` idx_username ` ( ` username ` ASC , ` update_time ` ASC , ` tenant_id ` ASC ) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 用户信息表 ' ;
) ENGINE = InnoDB AUTO_INCREMENT = 12 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = ' 用户信息表 ' ;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Records of system_users
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BEGIN ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 1 , ' admin ' , ' $2a$10$mRMIYLDtRHlf6 . 9ipiqH1 . Z . bh / R9dO9d5iHiGYPigi6r5KOoR2Wm ' , ' 芋道源码 ' , ' 管理员 ' , 103 , ' [ 1 ] ' , ' aoteman @126.com ' , ' 15612345678 ' , 1 , ' http : / / 127 . 0 . 0 . 1 : 48080 / admin - api / infra / file / 4 / get / 37e56010ecbee472cdd821ac4b608e151e62a74d9633f15d085aee026eedeb60 . png ' , 0 , ' 0: 0 : 0 : 0 : 0 : 0 : 0 : 1 ' , ' 2023 - 11 - 18 17 : 19 : 3 0' , ' admin ' , ' 2021 - 01 - 05 17 : 03 : 47 ' , NULL , ' 2023 - 11 - 18 17 : 19 : 3 0' , b '0' , 1 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 1 , ' admin ' , ' $2a$10$mRMIYLDtRHlf6 . 9ipiqH1 . Z . bh / R9dO9d5iHiGYPigi6r5KOoR2Wm ' , ' 芋道源码 ' , ' 管理员 ' , 103 , ' [ 1 ] ' , ' aoteman @126.com ' , ' 15612345678 ' , 1 , ' http : / / 127 . 0 . 0 . 1 : 48080 / admin - api / infra / file / 4 / get / 37e56010ecbee472cdd821ac4b608e151e62a74d9633f15d085aee026eedeb60 . png ' , 0 , ' 127. 0 . 0 . 1 ' , ' 2023 - 11 - 30 09 : 16 : 0 0' , ' admin ' , ' 2021 - 01 - 05 17 : 03 : 47 ' , NULL , ' 2023 - 11 - 30 09 : 16 : 0 0' , b '0' , 1 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 100 , ' yudao ' , ' $2a$10$11U48RhyJ5pSBYWSn12AD . / ld671 . ycSzJHbyrtpeoMeYiw31eo8a ' , ' 芋道 ' , ' 不要吓我 ' , 104 , ' [ 1 ] ' , ' yudao @iocoder.cn ' , ' 15601691300 ' , 1 , ' ' , 1 , ' 127 . 0 . 0 . 1 ' , ' 2022 - 07 - 09 23 : 03 : 33 ' , ' ' , ' 2021 - 01 - 07 09 : 07 : 17 ' , NULL , ' 2022 - 07 - 09 23 : 03 : 33 ' , b '0' , 1 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 103 , ' yuanma ' , ' $2a$10$YMpimV4T6BtDhIaA8jSW . u8UTGBeGhc / qwXP4oxoMr4mOw9 . qttt6 ' , ' 源码 ' , NULL , 106 , NULL , ' yuanma @iocoder.cn ' , ' 15601701300 ' , 0 , ' ' , 0 , ' 127 . 0 . 0 . 1 ' , ' 2022 - 07 - 08 01 : 26 : 27 ' , ' ' , ' 2021 - 01 - 13 23 : 50 : 35 ' , NULL , ' 2022 - 07 - 08 01 : 26 : 27 ' , b '0' , 1 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 104 , ' test ' , ' $2a$10$GP8zvqHB / / TekuzYZSBYAuBQJiNq1 . fxQVDYJ . uBCOnWCtDVKE4H6 ' , ' 测试号 ' , NULL , 107 , ' [ 1 , 2 ] ' , ' 111 @qq.com ' , ' 15601691200 ' , 1 , ' ' , 0 , ' 0 : 0 : 0 : 0 : 0 : 0 : 0 : 1 ' , ' 2023 - 09 - 24 18 : 21 : 19 ' , ' ' , ' 2021 - 01 - 21 02 : 13 : 53 ' , NULL , ' 2023 - 09 - 24 18 : 21 : 19 ' , b '0' , 1 ) ;
@ -4098,7 +4117,7 @@ INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`,
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 115 , ' aotemane ' , ' $2a$10$ / WCwGHu1eq0wOVDd / u8HweJ0gJCHyLS6T7ndCqI8UXZAQom1etk2e ' , '1' , ' 11 ' , 101 , ' [ ] ' , ' ' , ' ' , 1 , ' ' , 0 , ' ' , NULL , '1' , ' 2022 - 04 - 30 02 : 55 : 43 ' , '1' , ' 2022 - 06 - 22 13 : 34 : 58 ' , b '0' , 1 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 116 , ' 15601691302 ' , ' $2a$10$L5C4S0U6adBWMvFv1Wwl4 . DI / NwYS3WIfLj5Q . Naqr5II8CmqsDZ6 ' , ' 小豆 ' , NULL , NULL , NULL , ' ' , ' ' , 0 , ' ' , 0 , ' ' , NULL , '1' , ' 2022 - 05 - 17 10 : 07 : 10 ' , '1' , ' 2022 - 05 - 17 10 : 07 : 10 ' , b '0' , 124 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 117 , ' admin123 ' , ' $2a$10$WI8Gg / lpZQIrOEZMHqka7OdFaD4Nx . B / qY8ZGTTUKrOJwaHFqibaC ' , ' 测试号 ' , ' 1111 ' , 100 , ' [ 2 ] ' , ' ' , ' 15601691234 ' , 1 , ' ' , 0 , ' ' , NULL , '1' , ' 2022 - 07 - 09 17 : 40 : 26 ' , '1' , ' 2022 - 07 - 09 17 : 40 : 26 ' , b '0' , 1 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 118 , ' goudan ' , ' $2a$10$Lrb71muL . s5 / AFjQ2IHkzOFlAFwUToH . zQL7bnghvTDt / QptjGgF6 ' , ' 狗蛋 ' , NULL , 103 , ' [ 1 ] ' , ' ' , ' ' , 2 , ' ' , 0 , ' ' , NULL , '1' , ' 2022 - 07 - 09 17 : 44 : 43 ' , '1' , ' 202 2- 12 - 31 17 : 29 : 13 ' , b '0' , 1 ) ;
INSERT INTO ` system_users ` ( ` id ` , ` username ` , ` password ` , ` nickname ` , ` remark ` , ` dept_id ` , ` post_ids ` , ` email ` , ` mobile ` , ` sex ` , ` avatar ` , ` status ` , ` login_ip ` , ` login_date ` , ` creator ` , ` create_time ` , ` updater ` , ` update_time ` , ` deleted ` , ` tenant_id ` ) VALUES ( 118 , ' goudan ' , ' $2a$10$Lrb71muL . s5 / AFjQ2IHkzOFlAFwUToH . zQL7bnghvTDt / QptjGgF6 ' , ' 狗蛋 ' , NULL , 103 , ' [ 1 ] ' , ' ' , ' ' , 2 , ' ' , 0 , ' ' , NULL , '1' , ' 2022 - 07 - 09 17 : 44 : 43 ' , '1' , ' 202 3- 11 - 18 19 : 02 : 13 ' , b '0' , 1 ) ;
COMMIT ;
SET FOREIGN_KEY_CHECKS = 1 ;