-- 新增档案鉴定历史表 CREATE TABLE `lyr-one`.`archives_authenticate` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id', `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '档案类型', `date` datetime NULL DEFAULT NULL COMMENT '鉴定时间', `position` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '档案位置', `time_limit` datetime NULL DEFAULT NULL COMMENT '保存期限', `record_id` int(11) NULL DEFAULT NULL COMMENT '归档id', `user_id` bigint(20) NULL DEFAULT NULL COMMENT '鉴定人', `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '鉴定人名称', `record_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '归档名称', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建人', `updater` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新者', `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间', `dept_id` bigint(20) NULL DEFAULT NULL COMMENT '部门id', `dept_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门名称', `company_id` bigint(20) NULL DEFAULT NULL COMMENT '业务实体id', `company` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务实体名称', `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', `tenant_id` bigint(20) NULL DEFAULT NULL COMMENT '住户编号', `deleted` bit(1) NULL DEFAULT b'0' COMMENT '是否删除', PRIMARY KEY (`id`) USING BTREE ) ENGINE = MyISAM AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '档案鉴定表' ROW_FORMAT = Dynamic; -- 新增档案鉴定列表,鉴定历史列表 INSERT INTO `lyr-one`.`system_menu` ( `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 ( '鉴定管理', '', 1, 1, 0, '/fileAuth', 'checkbox', NULL, NULL, 0, b'1', b'1', b'1', '', '2023-09-14 13:45:31', '', '2023-09-14 15:26:21', b'0'); SET @menuId = LAST_INSERT_ID(); INSERT INTO `lyr-one`.`system_menu` ( `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 ('鉴定', 'fileAuth:authenticate:list', 2, 1, @menuId, 'authenticate', 'clipboard', 'fileAuth/authenticate/index', 'authenticate', 0, b'1', b'1', b'1', '', '2023-09-14 13:57:30', '', '2023-09-14 13:57:30', b'0'); INSERT INTO `lyr-one`.`system_menu` ( `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 ( '鉴定历史记录', 'fileAuth:authRecord:list', 2, 2, @menuId, 'authRecord', 'build', 'fileAuth/authRecord/index', 'authRecord', 0, b'1', b'1', b'1', '', '2023-09-14 13:59:15', '', '2023-09-14 13:59:38', b'0');