-- 内网和政务网需要改为obpm2_security CREATE TABLE obpm2.`t_platform_operate_log` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键', `tenant_user_id` varchar(100) DEFAULT NULL COMMENT '用户id', `employee_id` varchar(100) DEFAULT NULL COMMENT '职员id', `real_name` varchar(30) DEFAULT NULL COMMENT '姓名', `operate_type` tinyint(4) DEFAULT NULL COMMENT '操作类型:1修改用户姓名,2重新实名认证,3企业审批通过,4企业审批不通过,5重置密码', `operate_user_id` varchar(100) DEFAULT NULL COMMENT '被操作的用户id', `operate_time` datetime DEFAULT NULL COMMENT '操作时间', `operate_content` varchar(500) DEFAULT NULL COMMENT '操作内容', `operate_reason` varchar(500) DEFAULT NULL COMMENT '操作原因', `ip_address` varchar(30) DEFAULT NULL COMMENT 'IP地址', PRIMARY KEY (`id`) USING BTREE, KEY `index_platform_operate_log_tenant_user_id` (`tenant_user_id`) USING BTREE, KEY `index_platform_operate_log_employee_id` (`employee_id`) USING BTREE, KEY `index_platform_operate_log_real_name` (`real_name`) USING BTREE, KEY `index_platform_operate_log_operate_user_id` (`operate_user_id`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='平台操作日志表';