CREATE TABLE `operate_service_logs` (
`operate_service_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`table_name` varchar(45) NOT NULL COMMENT '表名',
`operate_type` tinyint(4) NOT NULL COMMENT '操作类型:\n0:添加\n1:删除\n2:修改\n3:其它',
`create_time` bigint(20) NOT NULL DEFAULT '0' COMMENT '创建时间',
`update_time` bigint(20) NOT NULL DEFAULT '0' COMMENT '修改时间',
`create_user_id` bigint(20) NOT NULL COMMENT '创建人',
`opreate_content` text NOT NULL COMMENT '操作内容 内容为本次操作的json 串\n格式:\n{\nid:1,name:3\n}',
PRIMARY KEY (`operate_service_log_id`) COMMENT '/* comment truncated */ /*操作类型索引*/',
KEY `table_name_index` (`table_name`) USING BTREE COMMENT '/* comment truncated */ /*操作表名称索引*/',
KEY `oprate_type_index` (`operate_type`) USING BTREE COMMENT '/* comment truncated */ /*操作类型索引*/'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='操作日志表';
CREATE TABLE `dictionarys` (
`dictionary_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`dic_name` varchar(70) NOT NULL COMMENT '字典名称',
`dic_group` varchar(50) NOT NULL COMMENT '分类',
`dic_code` varchar(50) NOT NULL COMMENT '类型编码',
`dic_order` tinyint(4) NOT NULL COMMENT '排序',
`create_time` bigint(20) NOT NULL COMMENT '创建时间',
`update_time` bigint(20) NOT NULL COMMENT '修改时间',
`parent_id` bigint(20) NOT NULL comment '父级标签id',
`create_user_id` bigint(20) NOT NULL comment '创建用户id',
`is_deleted` tinyint(2) NOT NULL COMMENT '是否删除\n0未删除\n1已删除',
PRIMARY KEY (`dictionary_id`),
KEY `dic_group_index` (`dic_group`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='数据字典表';