|
|
|
@ -18,7 +18,7 @@ CREATE TABLE `lyr-one`.`archives_borrow_apply` (
|
|
|
|
|
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '描述',
|
|
|
|
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
|
|
|
|
`update_time` datetime NULL DEFAULT NULL COMMENT '修改日期',
|
|
|
|
|
`deleted` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci 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;
|
|
|
|
|
|
|
|
|
@ -50,9 +50,9 @@ CREATE TABLE `lyr-one`.`setting_file_category` (
|
|
|
|
|
`create_time` datetime NULL DEFAULT NULL COMMENT '创建日期',
|
|
|
|
|
`update_time` datetime NULL DEFAULT NULL COMMENT '修改日期',
|
|
|
|
|
`create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '制单人',
|
|
|
|
|
`deleted` tinyint(1) 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;
|
|
|
|
|
) ENGINE = MyISAM AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '档案分类表' ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
-- 查询档案设置id进行赋值
|
|
|
|
|
SELECT `id` INTO @menuId FROM system_menu WHERE `name` = '档案设置';
|
|
|
|
|