diff --git a/sql/borrow_apply20230913JS.sql b/sql/borrow_apply20230913JS.sql index 1bb723f7..0088770d 100644 --- a/sql/borrow_apply20230913JS.sql +++ b/sql/borrow_apply20230913JS.sql @@ -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` = '档案设置'; diff --git a/sql/ea_electronic20230911JS.sql b/sql/ea_electronic20230911JS.sql index 7707e4b6..8765772a 100644 --- a/sql/ea_electronic20230911JS.sql +++ b/sql/ea_electronic20230911JS.sql @@ -28,7 +28,7 @@ CREATE TABLE `lyr-one`.`ea_electronic_assets` ( `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 = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '资产档案表' ROW_FORMAT = Dynamic;