修复正式考试批题错误
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
Target Server Version : 80046 (8.0.46-0ubuntu0.22.04.2)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 10/06/2026 20:42:07
|
||||
Date: 11/06/2026 23:00:41
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@@ -43,7 +43,7 @@ CREATE TABLE `collection` (
|
||||
INDEX `idx_department`(`department` ASC) USING BTREE,
|
||||
INDEX `idx_owner_type`(`owner_type` ASC) USING BTREE,
|
||||
INDEX `idx_visibility`(`visibility` ASC) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 31 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '知识库存放路径表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '知识库存放路径表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of collection
|
||||
@@ -51,6 +51,8 @@ CREATE TABLE `collection` (
|
||||
INSERT INTO `collection` VALUES (23, 'dept_1_kb', '/knowledge/dept_1_kb', '1', '总公司', 'department', 'public', NULL, '部门1知识库', '自动创建的向量库', '2026-06-02 14:05:53', '2026-06-02 14:05:53', 'LATEST', NULL, NULL);
|
||||
INSERT INTO `collection` VALUES (28, 'dept_3_kb', '/knowledge/dept_3_kb', '1', '技术部', 'department', 'public', NULL, '部门3知识库', '自动创建的向量库', '2026-06-10 04:58:28', '2026-06-10 04:58:28', 'LATEST', NULL, NULL);
|
||||
INSERT INTO `collection` VALUES (30, 'dept_6_kb', '/knowledge/dept_6_kb', '1', '人事部门', 'department', 'public', NULL, '部门6知识库', '自动创建的向量库', '2026-06-10 06:19:34', '2026-06-10 06:19:34', 'LATEST', NULL, NULL);
|
||||
INSERT INTO `collection` VALUES (31, 'dept_5_kb', '/knowledge/dept_5_kb', '1', '管理部门', 'department', 'public', NULL, '部门5知识库', '自动创建的向量库', '2026-06-10 14:06:57', '2026-06-10 14:06:57', 'LATEST', NULL, NULL);
|
||||
INSERT INTO `collection` VALUES (32, 'dept_4_kb', '/knowledge/dept_4_kb', '1', '采购部门', 'department', 'public', NULL, '部门4知识库', '自动创建的向量库', '2026-06-11 13:24:09', '2026-06-11 13:24:09', 'LATEST', NULL, NULL);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for collection_file
|
||||
@@ -72,16 +74,16 @@ CREATE TABLE `collection_file` (
|
||||
INDEX `idx_doc_name`(`doc_name` ASC) USING BTREE,
|
||||
INDEX `idx_file_id`(`file_id` ASC) USING BTREE,
|
||||
CONSTRAINT `fk_collection_file_file` FOREIGN KEY (`file_id`) REFERENCES `file` (`id`) ON DELETE SET NULL ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 61 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '向量库文件关联表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 65 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '向量库文件关联表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of collection_file
|
||||
-- ----------------------------
|
||||
INSERT INTO `collection_file` VALUES (42, 'dept_1_kb', '1.docx', 72, 'resources/rule/总公司/南京分公司/技术部/1/v1/1.docx', '.docx', 1, '2026-06-02 22:06:41', '2026-06-05 16:10:42');
|
||||
INSERT INTO `collection_file` VALUES (49, 'dept_1_kb', '需求分析.docx', 74, 'resources/rule/总公司/需求分析/v5/需求分析.docx', '.docx', 1, '2026-06-04 10:23:36', '2026-06-04 10:23:36');
|
||||
INSERT INTO `collection_file` VALUES (55, 'dept_1_kb', '3.docx', 71, 'resources/rule/总公司/3/v1/3.docx', '.docx', 1, '2026-06-10 11:48:05', '2026-06-10 11:48:05');
|
||||
INSERT INTO `collection_file` VALUES (57, 'dept_3_kb', 'longrule.docx', 76, 'resources/rule/总公司/南京分公司/技术部/longrule/v1/longrule.docx', '.docx', 1, '2026-06-10 13:01:38', '2026-06-10 13:01:38');
|
||||
INSERT INTO `collection_file` VALUES (59, 'dept_1_kb', '参考样例.pdf', 79, 'resources/rule/总公司/参考样例/v8/参考样例.pdf', '.pdf', 1, '2026-06-10 13:14:08', '2026-06-10 13:14:08');
|
||||
INSERT INTO `collection_file` VALUES (63, 'dept_1_kb', '需求分析.docx', 74, 'resources/rule/总公司/需求分析/v5/需求分析.docx', '.docx', 1, '2026-06-10 22:36:32', '2026-06-10 22:36:32');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for context_conversation
|
||||
@@ -320,12 +322,13 @@ CREATE TABLE `exam_assignment` (
|
||||
INDEX `idx_status`(`status` ASC) USING BTREE,
|
||||
CONSTRAINT `fk_exam_assignment_dept` FOREIGN KEY (`dept_id`) REFERENCES `department` (`id`) ON DELETE SET NULL ON UPDATE RESTRICT,
|
||||
CONSTRAINT `fk_exam_assignment_paper` FOREIGN KEY (`paper_id`) REFERENCES `exam_paper` (`paper_id`) ON DELETE CASCADE ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 70 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '试卷分配表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 79 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '试卷分配表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of exam_assignment
|
||||
-- ----------------------------
|
||||
INSERT INTO `exam_assignment` VALUES (69, '4e1c48d5-2019-48b6-a31b-2fea3ebf1b6f', NULL, '[1]', '[]', '[]', '2026-06-10 11:11:17', NULL, 'active', '2026-06-10 11:11:17', '2026-06-10 11:11:17');
|
||||
INSERT INTO `exam_assignment` VALUES (77, 'ff10df62-4fd4-4bc4-8f8b-4dfb348aae8b', NULL, '[1]', '[]', '[]', '2026-06-11 14:12:04', NULL, 'active', '2026-06-11 14:12:04', '2026-06-11 14:12:04');
|
||||
INSERT INTO `exam_assignment` VALUES (78, '724a7aaf-6e31-4f38-a5b3-ece2ecb00ff0', NULL, '[1]', '[]', '[]', '2026-06-11 14:30:14', NULL, 'active', '2026-06-11 14:30:14', '2026-06-11 14:30:14');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for exam_paper
|
||||
@@ -354,12 +357,13 @@ CREATE TABLE `exam_paper` (
|
||||
INDEX `idx_status`(`status` ASC) USING BTREE,
|
||||
INDEX `idx_publish_time`(`publish_time` ASC) USING BTREE,
|
||||
CONSTRAINT `fk_exam_paper_user` FOREIGN KEY (`created_by`) REFERENCES `user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 58 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '试卷基础信息表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 67 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '试卷基础信息表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of exam_paper
|
||||
-- ----------------------------
|
||||
INSERT INTO `exam_paper` VALUES (57, '4e1c48d5-2019-48b6-a31b-2fea3ebf1b6f', '自动生成的试卷', NULL, 4.00, 120, 2, '[\"ea6a7f44-9077-4f19-b10e-8239a5198f4d\", \"9d59e7c5-edfc-4517-9fb5-780b389b66fb\"]', '本部门', 'published', 1, '2026-06-10 11:11:11', '2026-06-10 11:11:17', '2026-06-10 11:11:17', NULL, 1);
|
||||
INSERT INTO `exam_paper` VALUES (65, 'ff10df62-4fd4-4bc4-8f8b-4dfb348aae8b', '自动生成的试卷', NULL, 4.00, 120, 2, '[\"ea6a7f44-9077-4f19-b10e-8239a5198f4d\", \"9d59e7c5-edfc-4517-9fb5-780b389b66fb\"]', '本部门', 'published', 1, '2026-06-11 14:11:57', '2026-06-11 14:12:04', '2026-06-11 14:12:04', NULL, 1);
|
||||
INSERT INTO `exam_paper` VALUES (66, '724a7aaf-6e31-4f38-a5b3-ece2ecb00ff0', '自动生成的试卷', NULL, 4.00, 120, 2, '[\"ea6a7f44-9077-4f19-b10e-8239a5198f4d\", \"9d59e7c5-edfc-4517-9fb5-780b389b66fb\"]', '本部门', 'published', 1, '2026-06-11 14:30:07', '2026-06-11 14:30:14', '2026-06-11 14:30:14', NULL, 1);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for exam_record
|
||||
@@ -392,14 +396,17 @@ CREATE TABLE `exam_record` (
|
||||
INDEX `fk_exam_record_graded_by`(`graded_by` ASC) USING BTREE,
|
||||
CONSTRAINT `fk_exam_record_graded_by` FOREIGN KEY (`graded_by`) REFERENCES `user` (`id`) ON DELETE SET NULL ON UPDATE RESTRICT,
|
||||
CONSTRAINT `fk_exam_record_user` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 242 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '考试记录表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 269 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '考试记录表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of exam_record
|
||||
-- ----------------------------
|
||||
INSERT INTO `exam_record` VALUES (239, '17f5be59-3d81-480a-98bb-1e1a2a4556e6', '4e1c48d5-2019-48b6-a31b-2fea3ebf1b6f', 'formal_exam', 1, 'graded', 0.00, '2026-06-10 11:11:49', '2026-06-10 11:11:49', NULL, 30, '2026-06-10 11:11:19', '2026-06-10 11:11:19', '2026-06-10 11:11:17', '2026-06-10 11:11:49');
|
||||
INSERT INTO `exam_record` VALUES (240, 'ff860338-99ed-4211-bf85-fce6605c8fcc', '4e1c48d5-2019-48b6-a31b-2fea3ebf1b6f', 'formal_exam', 3, 'not_started', 0.00, NULL, NULL, NULL, 0, NULL, NULL, '2026-06-10 11:11:17', '2026-06-10 11:11:17');
|
||||
INSERT INTO `exam_record` VALUES (241, '26b9fac0-3f92-4d71-a5dc-3e8b432bd580', '4e1c48d5-2019-48b6-a31b-2fea3ebf1b6f', 'formal_exam', 4, 'not_started', 0.00, NULL, NULL, NULL, 0, NULL, NULL, '2026-06-10 11:11:17', '2026-06-10 11:11:17');
|
||||
INSERT INTO `exam_record` VALUES (263, '683de5c4-cce6-47b4-8518-a582dce02ca4', 'ff10df62-4fd4-4bc4-8f8b-4dfb348aae8b', 'formal_exam', 1, 'graded', 4.00, '2026-06-11 14:29:12', '2026-06-11 14:29:12', NULL, 1022, '2026-06-11 14:12:09', '2026-06-11 14:12:09', '2026-06-11 14:12:04', '2026-06-11 14:29:12');
|
||||
INSERT INTO `exam_record` VALUES (264, '0325d9e2-6397-478f-b17c-000a8b1de499', 'ff10df62-4fd4-4bc4-8f8b-4dfb348aae8b', 'formal_exam', 3, 'not_started', 0.00, NULL, NULL, NULL, 0, NULL, NULL, '2026-06-11 14:12:04', '2026-06-11 14:12:04');
|
||||
INSERT INTO `exam_record` VALUES (265, '46a245cf-f014-4d3b-aad5-d970ceecdab8', 'ff10df62-4fd4-4bc4-8f8b-4dfb348aae8b', 'formal_exam', 4, 'not_started', 0.00, NULL, NULL, NULL, 0, NULL, NULL, '2026-06-11 14:12:04', '2026-06-11 14:12:04');
|
||||
INSERT INTO `exam_record` VALUES (266, 'd49d38c1-8ede-4998-97a7-a4ae87d1a10d', '724a7aaf-6e31-4f38-a5b3-ece2ecb00ff0', 'formal_exam', 1, 'graded', 4.00, '2026-06-11 14:30:21', '2026-06-11 14:30:21', NULL, 6, '2026-06-11 14:30:15', '2026-06-11 14:30:15', '2026-06-11 14:30:14', '2026-06-11 14:30:21');
|
||||
INSERT INTO `exam_record` VALUES (267, 'd87c6789-38c8-4a5d-a151-580dd8d35307', '724a7aaf-6e31-4f38-a5b3-ece2ecb00ff0', 'formal_exam', 3, 'not_started', 0.00, NULL, NULL, NULL, 0, NULL, NULL, '2026-06-11 14:30:14', '2026-06-11 14:30:14');
|
||||
INSERT INTO `exam_record` VALUES (268, 'b3142e25-fe23-4b15-8605-3ab9995706d5', '724a7aaf-6e31-4f38-a5b3-ece2ecb00ff0', 'formal_exam', 4, 'not_started', 0.00, NULL, NULL, NULL, 0, NULL, NULL, '2026-06-11 14:30:14', '2026-06-11 14:30:14');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for faq
|
||||
@@ -516,20 +523,23 @@ CREATE TABLE `file` (
|
||||
INDEX `idx_file_category`(`file_category` ASC) USING BTREE,
|
||||
INDEX `idx_audit_status`(`audit_status` ASC) USING BTREE,
|
||||
INDEX `idx_file_status`(`status` ASC) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 81 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件管理表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 84 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件管理表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of file
|
||||
-- ----------------------------
|
||||
INSERT INTO `file` VALUES (70, '2.docx', 'resources/rule/总公司/2/v1/2.docx', 775988, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, 'dept_1_kb/2.docx', '2026-06-02 14:11:01', '2026-06-10 05:26:37', 'FAILED', 'GENERATED', 'VECTORIZE_FAILED', '向量化失败: 向量化失败[AI端错误]: 文件上传到向量库失败: I/O error on POST request for \"http://localhost:5001/documents/upload\": Unexpected end of file from server (耗时 154115 毫秒)', '向量化失败[AI端错误]: 文件上传到向量库失败: I/O error on POST request for \"http://localhost:5001/documents/upload\": Unexpected end of file from server (耗时 154115 毫秒)', NULL);
|
||||
INSERT INTO `file` VALUES (71, '3.docx', 'resources/rule/总公司/3/v1/3.docx', 1454500, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, 'dept_1_kb/3.docx', '2026-06-02 14:11:12', '2026-06-10 04:58:48', 'INDEXED', 'GENERATED', 'EXAM_GENERATED', '题目生成完成', '生成成功,共4道题', NULL);
|
||||
INSERT INTO `file` VALUES (72, '1.docx', 'resources/rule/总公司/南京分公司/技术部/1/v1/1.docx', 483352, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 3, NULL, 1, 'rule', NULL, 1, 1, 'dept_3_kb/1.docx', '2026-06-03 02:01:08', '2026-06-09 06:42:02', 'INDEXED', 'GENERATED', 'EXAM_GENERATED', '题目生成完成', '生成成功,共5道题', NULL);
|
||||
INSERT INTO `file` VALUES (74, '需求分析.docx', 'resources/rule/总公司/需求分析/v5/需求分析.docx', 15330, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, 'dept_1_kb/需求分析.docx', '2026-06-04 02:07:06', '2026-06-04 17:51:16', 'INDEXED', 'GENERATED', 'EXAM_GENERATED', '题目生成完成', '生成成功,共1道题\n\n【AI分析结果】\n{\"question_types\":{\"fill_blank\":0,\"multiple_choice\":0,\"single_choice\":1,\"subjective\":0,\"true_false\":0},\"reason\":\"文档内容极简仅含标题,无实质知识点,适宜输出1道单选题覆盖基础概念。\",\"suitable_types\":[\"single_choice\"],\"total_knowledge_points\":0}', '{}');
|
||||
INSERT INTO `file` VALUES (71, '3.docx', 'resources/rule/总公司/3/v1/3.docx', 1454500, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, 'dept_1_kb/3.docx', '2026-06-02 14:11:12', '2026-06-11 14:59:50', 'INDEXED', 'GENERATED', 'EXAM_GENERATED', '题目生成完成', '生成成功,共1道题', NULL);
|
||||
INSERT INTO `file` VALUES (72, '1.docx', 'resources/rule/总公司/南京分公司/技术部/1/v1/1.docx', 483352, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 3, NULL, 1, 'rule', NULL, 1, 1, 'dept_3_kb/1.docx', '2026-06-03 02:01:08', '2026-06-11 14:49:41', 'INDEXED', 'GENERATED', 'EXAM_GENERATED', '题目生成完成', '生成成功,共2道题', NULL);
|
||||
INSERT INTO `file` VALUES (74, '需求分析.docx', 'resources/rule/总公司/需求分析/v5/需求分析.docx', 15330, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, 'dept_1_kb/需求分析.docx', '2026-06-04 02:07:06', '2026-06-10 14:36:35', 'INDEXED', 'FAILED', 'EXAM_GENERATE_FAILED', '题目生成失败: 生成失败[AI端错误]: 生成题目失败: POST请求失败: 500 INTERNAL SERVER ERROR: \"{\"error_code\":\"EXAM_ERROR\",\"message\":\"AI \\u5206\\u6790\\u540e\\u672a\\u751f\\u6210\\u6709\\u6548\\u9898\\u578b\\u914d\\u7f6e\",\"status\":\"failed\",\"status_code\":5020,\"success\":false}<EOL>\"', '生成失败[AI端错误]: 生成题目失败: POST请求失败: 500 INTERNAL SERVER ERROR: \"{\"error_code\":\"EXAM_ERROR\",\"message\":\"AI \\u5206\\u6790\\u540e\\u672a\\u751f\\u6210\\u6709\\u6548\\u9898\\u578b\\u914d\\u7f6e\",\"status\":\"failed\",\"status_code\":5020,\"success\":false}<EOL>\"', '{}');
|
||||
INSERT INTO `file` VALUES (75, '参考样例.pdf', 'resources/rule/总公司/参考样例/v7/参考样例.pdf', 3588003, 'application/pdf', '.pdf', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, NULL, '2026-06-04 07:40:55', '2026-06-04 15:40:55', 'PENDING', 'UNGENERATED', 'UPLOADED', '文件已上传', NULL, NULL);
|
||||
INSERT INTO `file` VALUES (76, 'longrule.docx', 'resources/rule/总公司/南京分公司/技术部/longrule/v1/longrule.docx', 14675, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 3, NULL, 1, 'rule', NULL, 1, 1, 'dept_3_kb/longrule.docx', '2026-06-04 13:21:25', '2026-06-10 05:02:16', 'INDEXED', 'GENERATED', 'EXAM_GENERATED', '题目生成完成', '生成成功,共3道题\n\n【AI分析结果】\n{\"question_types\":{\"fill_blank\":1,\"multiple_choice\":0,\"single_choice\":2,\"subjective\":0,\"true_false\":1},\"reason\":\"知识点较基础,适合选择题和判断题。\",\"suitable_types\":[\"single_choice\",\"true_false\",\"fill_blank\"],\"total_knowledge_points\":4}', NULL);
|
||||
INSERT INTO `file` VALUES (78, 'test.docx', 'resources/rule/总公司/南京分公司/人事部门/test/v4/test.docx', 16182, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 6, NULL, 1, 'rule', NULL, 0, 1, 'dept_6_kb/test.docx', '2026-06-10 05:02:17', '2026-06-10 05:06:05', 'DELETED', 'GENERATED', 'DELETED', '文件已软删除', '生成成功,共4道题', NULL);
|
||||
INSERT INTO `file` VALUES (79, '参考样例.pdf', 'resources/rule/总公司/参考样例/v8/参考样例.pdf', 3588003, 'application/pdf', '.pdf', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, 'dept_1_kb/参考样例.pdf', '2026-06-10 05:10:01', '2026-06-10 05:20:07', 'INDEXED', 'FAILED', 'EXAM_GENERATE_FAILED', '题目生成失败: 生成失败[AI端错误]: 生成题目失败: POST请求失败: I/O error on POST request for \"http://localhost:5001/exam/generate-smart\": Unexpected end of file from server', '生成失败[AI端错误]: 生成题目失败: POST请求失败: I/O error on POST request for \"http://localhost:5001/exam/generate-smart\": Unexpected end of file from server', NULL);
|
||||
INSERT INTO `file` VALUES (80, 'test.docx', 'resources/rule/总公司/南京分公司/人事部门/test/v5/test.docx', 16182, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 6, NULL, 1, 'rule', NULL, 0, 1, 'dept_6_kb/test.docx', '2026-06-10 06:19:01', '2026-06-10 06:34:49', 'DELETED', 'GENERATED', 'DELETED', '文件已软删除', '生成成功,共9道题\n\n【AI分析结果】\n{\"question_types\":{\"fill_blank\":2,\"multiple_choice\":0,\"single_choice\":5,\"subjective\":0,\"true_false\":3},\"reason\":\"知识点较具体,适合单选、判断和填空题。\",\"suitable_types\":[\"single_choice\",\"true_false\",\"fill_blank\"],\"total_knowledge_points\":10}', NULL);
|
||||
INSERT INTO `file` VALUES (81, 'test.docx', 'resources/rule/总公司/南京分公司/管理部门/test/v1/test.docx', 16182, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 5, NULL, 1, 'rule', NULL, 0, 1, 'dept_5_kb/test.docx', '2026-06-10 14:06:19', '2026-06-10 14:09:40', 'DELETED', 'GENERATED', 'DELETED', '文件已软删除', '生成成功,共3道题', NULL);
|
||||
INSERT INTO `file` VALUES (82, '需求分析.docx', 'resources/rule/总公司/需求分析/v6/需求分析.docx', 15330, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 1, NULL, 1, 'rule', NULL, 1, 1, 'dept_1_kb/需求分析.docx', '2026-06-10 14:30:59', '2026-06-10 14:36:44', 'PENDING', 'FAILED', 'UPLOADED', '文件已上传', '生成失败[AI端错误]: 生成题目失败: POST请求失败: 500 INTERNAL SERVER ERROR: \"{\"error_code\":\"EXAM_ERROR\",\"message\":\"AI \\u5206\\u6790\\u540e\\u672a\\u751f\\u6210\\u6709\\u6548\\u9898\\u578b\\u914d\\u7f6e\",\"status\":\"failed\",\"status_code\":5020,\"success\":false}<EOL>\"', NULL);
|
||||
INSERT INTO `file` VALUES (83, 'test.docx', 'resources/rule/总公司/南京分公司/采购部门/test/v1/test.docx', 16182, 'application/vnd.openxmlformats-officedocument.word', '.docx', NULL, 1, 4, NULL, 1, 'rule', NULL, 0, 1, 'dept_4_kb/test.docx', '2026-06-11 13:23:41', '2026-06-11 13:29:25', 'DELETED', 'GENERATED', 'DELETED', '文件已软删除', '生成成功,共4道题', NULL);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for operation_log
|
||||
@@ -675,7 +685,7 @@ CREATE TABLE `question` (
|
||||
INDEX `idx_created_at`(`created_at` ASC) USING BTREE,
|
||||
INDEX `idx_knowledge_base_path`(`knowledge_base_path` ASC) USING BTREE,
|
||||
INDEX `idx_question_is_deleted`(`is_deleted` ASC) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 831 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '题目表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 856 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '题目表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of question
|
||||
@@ -748,6 +758,31 @@ INSERT INTO `question` VALUES (827, 'c58d752c-b7f1-48a6-9d5d-54d1d3aba62a', 'tru
|
||||
INSERT INTO `question` VALUES (828, '98d7f08e-a538-42fa-b501-c5aa0b5ef9d8', 'true_false', 3, NULL, 1.00, '1.0', '80', '根据文档内容,住宿登记必须坚持实名、实数、实时、实情原则。', NULL, NULL, '[\"test.docx_3\"]', 22, 0, 0, NULL, NULL, '{\"data\": {}, \"stem\": \"根据文档内容,住宿登记必须坚持实名、实数、实时、实情原则。\", \"answer\": \"true\", \"explanation\": \"文档中明确提到住宿登记坚持‘实名、实数、实时、实情’原则。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-10 06:24:40', '2026-06-10 06:24:40', 0);
|
||||
INSERT INTO `question` VALUES (829, '07fc1bfb-bef7-4554-b825-639fed682ae9', 'true_false', 3, NULL, 1.00, '1.0', '80', '管理人员的日常监督检查职责包括定期核查登记台账和系统上传记录。', NULL, NULL, '[\"test.docx_5\"]', 22, 0, 0, NULL, NULL, '{\"data\": {}, \"stem\": \"管理人员的日常监督检查职责包括定期核查登记台账和系统上传记录。\", \"answer\": \"true\", \"explanation\": \"根据文档内容,管理人员负责日常监督检查,并需要定期核查登记台账和系统上传记录。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-10 06:24:40', '2026-06-10 06:24:40', 0);
|
||||
INSERT INTO `question` VALUES (830, '508c9b41-3e9e-43df-98df-51111e124b0a', 'fill_blank', 3, NULL, 2.00, '1.0', '80', '住宿登记坚持____、实数、实时、实情原则,做到一人一证、人证相符、逐人登记、及时上传。', NULL, NULL, '[\"test.docx_3\"]', 22, 0, 0, NULL, NULL, '{\"data\": {\"blank_count\": 1}, \"stem\": \"住宿登记坚持____、实数、实时、实情原则,做到一人一证、人证相符、逐人登记、及时上传。\", \"answer\": [[\"实名\"]], \"explanation\": \"根据文档内容,住宿登记坚持实名、实数、实时、实情原则。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-10 06:24:40', '2026-06-10 06:24:40', 0);
|
||||
INSERT INTO `question` VALUES (831, '307d5249-7380-4b5b-aa60-d906ad0803fc', 'single_choice', 3, NULL, 2.00, '1.0', '81', '根据文档内容,住宿登记坚持哪项原则?', NULL, NULL, '[\"test.docx_3\"]', 22, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"实名、实数、实时、实情\"}, {\"key\": \"B\", \"content\": \"实名、实数、实情、实际\"}, {\"key\": \"C\", \"content\": \"实名、实数、实时、实价\"}, {\"key\": \"D\", \"content\": \"实名、实数、实况、实情\"}]}, \"stem\": \"根据文档内容,住宿登记坚持哪项原则?\", \"answer\": \"A\", \"explanation\": \"根据文档内容,住宿登记坚持的是“实名、实数、实时、实情”原则。\", \"referenced_chunk_ids\": null}', 'deprecated', '文件向量化数据已被删除,题目自动标记为已废止', '2026-06-10 14:08:04', '2026-06-10 14:09:40', 1);
|
||||
INSERT INTO `question` VALUES (832, '6b6622db-469e-4213-a83a-49a600fd7012', 'multiple_choice', 3, NULL, 4.00, '1.0', '81', '根据文档内容,因管理失职造成治安隐患、被主管部门处罚的,应追究谁的责任?', NULL, NULL, '[\"test.docx_21\"]', 22, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"仅追究门店员工责任\"}, {\"key\": \"B\", \"content\": \"追究门店管理人员及负责人责任\"}, {\"key\": \"C\", \"content\": \"追究上级主管部门责任\"}, {\"key\": \"D\", \"content\": \"追究外部合作方责任\"}]}, \"stem\": \"根据文档内容,因管理失职造成治安隐患、被主管部门处罚的,应追究谁的责任?\", \"answer\": \"B\", \"explanation\": \"根据文档第二十一条规定,因管理失职造成治安隐患、被主管部门处罚的,应追究门店管理人员及负责人责任。\", \"referenced_chunk_ids\": null}', 'deprecated', '文件向量化数据已被删除,题目自动标记为已废止', '2026-06-10 14:08:04', '2026-06-10 14:09:40', 1);
|
||||
INSERT INTO `question` VALUES (833, '5f636876-95d4-45d7-8e37-6b194c16c12d', 'subjective', 3, NULL, 10.00, '1.0', '81', '根据文档内容,简述住宿登记中‘实名登记原则’的具体要求。', NULL, NULL, '[\"test.docx_3\"]', 22, 0, 0, NULL, NULL, '{\"data\": {}, \"stem\": \"根据文档内容,简述住宿登记中‘实名登记原则’的具体要求。\", \"answer\": [\"住宿登记坚持实名、实数、实时、实情原则,做到一人一证、人证相符、逐人登记、及时上传。\"], \"explanation\": \"根据文档内容,住宿登记的‘实名登记原则’具体包括:实名、实数、实时、实情,同时要确保一人一证、人证相符、逐人登记,并及时上传信息。\", \"referenced_chunk_ids\": null}', 'deprecated', '文件向量化数据已被删除,题目自动标记为已废止', '2026-06-10 14:08:04', '2026-06-10 14:09:40', 1);
|
||||
INSERT INTO `question` VALUES (834, '3c8ea7a2-42bb-441b-afb1-e98a878c4c9c', 'single_choice', 3, NULL, 2.00, '1.0', '83', '根据第一章总则的内容,以下哪一项是文档的核心目标?', NULL, NULL, '[\"test.docx_0\"]', 22, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"提高工作效率\"}, {\"key\": \"B\", \"content\": \"明确组织架构\"}, {\"key\": \"C\", \"content\": \"规范操作流程\"}, {\"key\": \"D\", \"content\": \"确保合规性\"}]}, \"stem\": \"根据第一章总则的内容,以下哪一项是文档的核心目标?\", \"answer\": \"C\", \"explanation\": \"根据第一章总则的内容,规范操作流程是文档的核心目标。\", \"referenced_chunk_ids\": null}', 'deprecated', '文件向量化数据已被删除,题目自动标记为已废止', '2026-06-11 13:27:04', '2026-06-11 13:29:25', 1);
|
||||
INSERT INTO `question` VALUES (835, '30f97109-e2da-4f46-bb4d-75008ac8d484', 'multiple_choice', 3, NULL, 4.00, '1.0', '83', '根据文档内容,因管理失职造成治安隐患、被主管部门处罚的,应追究谁的责任?', NULL, NULL, '[\"test.docx_21\"]', 22, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"仅追究门店员工责任\"}, {\"key\": \"B\", \"content\": \"追究门店管理人员及负责人责任\"}, {\"key\": \"C\", \"content\": \"追究上级主管部门责任\"}, {\"key\": \"D\", \"content\": \"追究所有门店员工责任\"}]}, \"stem\": \"根据文档内容,因管理失职造成治安隐患、被主管部门处罚的,应追究谁的责任?\", \"answer\": \"B\", \"explanation\": \"根据文档第二十一条规定,因管理失职造成治安隐患、被主管部门处罚的,应追究门店管理人员及负责人责任。\", \"referenced_chunk_ids\": null}', 'deprecated', '文件向量化数据已被删除,题目自动标记为已废止', '2026-06-11 13:27:04', '2026-06-11 13:29:25', 1);
|
||||
INSERT INTO `question` VALUES (836, '0876a664-dde2-4378-b73d-2c4b59a61eba', 'multiple_choice', 3, NULL, 4.00, '1.0', '83', '根据文档内容,管理人员在日常监督检查中需要定期核查以下哪一项?', NULL, NULL, '[\"test.docx_5\"]', 22, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"系统上传记录\"}, {\"key\": \"B\", \"content\": \"员工薪资\"}, {\"key\": \"C\", \"content\": \"设备采购清单\"}, {\"key\": \"D\", \"content\": \"部门会议纪要\"}]}, \"stem\": \"根据文档内容,管理人员在日常监督检查中需要定期核查以下哪一项?\", \"answer\": \"A\", \"explanation\": \"根据文档第五条内容,管理人员负责日常监督检查,定期核查登记台账和系统上传记录。因此,正确答案是A。\", \"referenced_chunk_ids\": null}', 'deprecated', '文件向量化数据已被删除,题目自动标记为已废止', '2026-06-11 13:27:04', '2026-06-11 13:29:25', 1);
|
||||
INSERT INTO `question` VALUES (837, '644f396b-c40c-4ef4-9234-d1493ad2f639', 'multiple_choice', 3, NULL, 4.00, '1.0', '83', '根据文档内容,以下哪项行为是被明确禁止的?', NULL, NULL, '[\"test.docx_15\"]', 22, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"保护旅客个人隐私与信息安全\"}, {\"key\": \"B\", \"content\": \"泄露、倒卖、私自查阅旅客身份登记信息\"}, {\"key\": \"C\", \"content\": \"合理使用旅客身份信息\"}, {\"key\": \"D\", \"content\": \"合法存储旅客身份信息\"}]}, \"stem\": \"根据文档内容,以下哪项行为是被明确禁止的?\", \"answer\": \"B\", \"explanation\": \"根据文档第十五条,严禁泄露、倒卖、私自查阅旅客身份登记信息,因此选项B是正确答案。\", \"referenced_chunk_ids\": null}', 'deprecated', '文件向量化数据已被删除,题目自动标记为已废止', '2026-06-11 13:27:04', '2026-06-11 13:29:25', 1);
|
||||
INSERT INTO `question` VALUES (838, 'f58bb6ec-fb1c-442d-a187-c84aa58da90a', 'single_choice', 3, NULL, 2.00, '1.0', '71', '在日常维护管理内容中,以下哪项是与吸烟场所巡查直接相关的?', NULL, NULL, '[\"dept_1_kb/3.docx_158\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"标识标牌保洁\"}, {\"key\": \"B\", \"content\": \"吸烟场所巡查\"}, {\"key\": \"C\", \"content\": \"电气线路防盗\"}, {\"key\": \"D\", \"content\": \"设施设备报修\"}]}, \"stem\": \"在日常维护管理内容中,以下哪项是与吸烟场所巡查直接相关的?\", \"answer\": \"B\", \"explanation\": \"根据文档内容,吸烟场所巡查是日常维护管理内容中的一个明确主题,与其他如标识标牌、设施设备等并列。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:48:42', '2026-06-11 14:48:42', 0);
|
||||
INSERT INTO `question` VALUES (839, '019b1a25-8fa4-4253-af47-9a17b75871af', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,吸烟点的定义是什么?', NULL, NULL, '[\"3.docx_33\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"指可以随意吸烟的地点\"}, {\"key\": \"B\", \"content\": \"指仅投放吸烟柱的地点,该地点仅供满足吸烟者的需求所用\"}, {\"key\": \"C\", \"content\": \"指提供烟酒销售的场所\"}, {\"key\": \"D\", \"content\": \"指禁止吸烟的区域\"}]}, \"stem\": \"根据文档内容,吸烟点的定义是什么?\", \"answer\": \"B\", \"explanation\": \"根据文档内容,吸烟点是指仅投放吸烟柱的地点,该地点仅供满足吸烟者的需求所用。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:48:42', '2026-06-11 14:48:42', 0);
|
||||
INSERT INTO `question` VALUES (840, '112b1920-1390-4fec-ad35-6f9e5a933933', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,第一章总则的核心主题是什么?', NULL, NULL, '[\"dept_1_kb/3.docx_116\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"具体操作流程\"}, {\"key\": \"B\", \"content\": \"第一章 总则\"}, {\"key\": \"C\", \"content\": \"部门职责划分\"}, {\"key\": \"D\", \"content\": \"财务管理制度\"}]}, \"stem\": \"根据文档内容,第一章总则的核心主题是什么?\", \"answer\": \"B\", \"explanation\": \"文档中明确指出第一章总则的主题是“第一章 总则”,因此答案为B。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:48:42', '2026-06-11 14:48:42', 0);
|
||||
INSERT INTO `question` VALUES (841, 'e189310e-5798-4efd-b7d5-003144f8ec19', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,第一章建设目的的核心目标是什么?', NULL, NULL, '[\"dept_1_kb/3.docx_1\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"明确项目背景\"}, {\"key\": \"B\", \"content\": \"阐述项目建设的必要性\"}, {\"key\": \"C\", \"content\": \"介绍技术实现方案\"}, {\"key\": \"D\", \"content\": \"规划项目实施步骤\"}]}, \"stem\": \"根据文档内容,第一章建设目的的核心目标是什么?\", \"answer\": \"B\", \"explanation\": \"文档中提到第一章建设目的主要围绕项目的必要性和意义展开,因此选项B最符合核心目标。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:48:42', '2026-06-11 14:48:42', 0);
|
||||
INSERT INTO `question` VALUES (842, '765a8b44-0c64-4c71-b319-4679fbf2cfdb', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据附件2的内容,附件2的主题是什么?', NULL, NULL, '[\"dept_1_kb/3.docx_153\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"第八章 附则\"}, {\"key\": \"B\", \"content\": \"附件1\"}, {\"key\": \"C\", \"content\": \"第八章 附则 > 附件2\"}, {\"key\": \"D\", \"content\": \"附件3\"}]}, \"stem\": \"根据附件2的内容,附件2的主题是什么?\", \"answer\": \"C\", \"explanation\": \"根据文档内容,附件2的主题明确为“第八章 附则 > 附件2”。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:48:42', '2026-06-11 14:48:42', 0);
|
||||
INSERT INTO `question` VALUES (843, '746fb0a0-7b52-49e7-88de-370eb8bdb34a', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,移交清单的份数是?', NULL, NULL, '[\"3.docx_152\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"一式一份\"}, {\"key\": \"B\", \"content\": \"一式两份\"}, {\"key\": \"C\", \"content\": \"一式三份\"}, {\"key\": \"D\", \"content\": \"一式四份\"}]}, \"stem\": \"根据文档内容,移交清单的份数是?\", \"answer\": \"B\", \"explanation\": \"根据文档中提到的‘本清单一式两份,甲乙双方各持一份’,可以确定移交清单为一式两份。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:48:42', '2026-06-11 14:48:42', 0);
|
||||
INSERT INTO `question` VALUES (844, 'c4e7a8b3-3747-44a6-9cf8-f257b780710e', 'single_choice', 3, NULL, 2.00, '1.0', '72', '市场状态的计算公式是?', NULL, NULL, '[\"dept_1_kb/1.docx_79\"]', 73, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"市场状态=指标值\"}, {\"key\": \"B\", \"content\": \"市场状态=二级指标均值*权重\"}, {\"key\": \"C\", \"content\": \"市场状态=指标值+权重\"}, {\"key\": \"D\", \"content\": \"市场状态=指标值/权重\"}]}, \"stem\": \"市场状态的计算公式是?\", \"answer\": \"B\", \"explanation\": \"根据文档内容,市场状态的计算公式为:市场状态=二级指标均值*权重。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:49:41', '2026-06-11 14:49:41', 0);
|
||||
INSERT INTO `question` VALUES (845, 'a9c931e2-fea0-41b0-b75f-d70d01630245', 'fill_blank', 3, NULL, 2.00, '1.0', '72', '市场状态的计算公式为:___。', NULL, NULL, '[\"dept_1_kb/1.docx_79\"]', 73, 0, 0, NULL, NULL, '{\"data\": {\"blank_count\": 1}, \"stem\": \"市场状态的计算公式为:___。\", \"answer\": [[\"市场状态=+二级指标均值\\\\*权重\"]], \"explanation\": \"根据文档内容,市场状态的计算公式为市场状态=+二级指标均值\\\\*权重。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:49:41', '2026-06-11 14:49:41', 0);
|
||||
INSERT INTO `question` VALUES (846, 'ad3b8f22-5923-420e-b04d-8f47135f7c79', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,吸烟点的定义是:', NULL, NULL, '[\"3.docx_33\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"仅投放吸烟柱的地点,该地点仅供满足吸烟者的需求所用。\"}, {\"key\": \"B\", \"content\": \"可以吸烟的公共场所,不限制吸烟者的行为。\"}, {\"key\": \"C\", \"content\": \"只允许非吸烟者进入的区域。\"}, {\"key\": \"D\", \"content\": \"所有人员都可以自由吸烟的场所。\"}]}, \"stem\": \"根据文档内容,吸烟点的定义是:\", \"answer\": \"A\", \"explanation\": \"根据文档内容,吸烟点的定义是‘仅投放吸烟柱的地点,该地点仅供满足吸烟者的需求所用’,因此选项A正确。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (847, 'c9f12564-bbdb-4db5-aa11-ee2dde5de512', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,第一章总则的核心目的是什么?', NULL, NULL, '[\"dept_1_kb/3.docx_116\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"明确组织的结构和职责\"}, {\"key\": \"B\", \"content\": \"阐述文件的整体框架和适用范围\"}, {\"key\": \"C\", \"content\": \"规定具体的业务操作流程\"}, {\"key\": \"D\", \"content\": \"制定财务预算和审计制度\"}]}, \"stem\": \"根据文档内容,第一章总则的核心目的是什么?\", \"answer\": \"B\", \"explanation\": \"文档中提到‘第一章 总则’的主题是‘第一章 总则’,其核心内容是阐述文件的整体框架和适用范围。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (848, 'ec8bca07-15a5-49df-b479-cd0a21ab65e9', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,第一章建设目的的核心目标是什么?', NULL, NULL, '[\"dept_1_kb/3.docx_1\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"明确项目的技术实现方式\"}, {\"key\": \"B\", \"content\": \"阐述项目的背景和意义\"}, {\"key\": \"C\", \"content\": \"描述项目的实施步骤\"}, {\"key\": \"D\", \"content\": \"分析项目的市场前景\"}]}, \"stem\": \"根据文档内容,第一章建设目的的核心目标是什么?\", \"answer\": \"B\", \"explanation\": \"根据文档中提到的【第一章 建设目的】主题,其核心在于阐述项目的背景和意义。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (849, '7a165ad9-a923-4b0a-8551-a62e5d407a2d', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据附件2的内容,附件2的主题是什么?', NULL, NULL, '[\"dept_1_kb/3.docx_153\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"第八章 附则\"}, {\"key\": \"B\", \"content\": \"附件1\"}, {\"key\": \"C\", \"content\": \"第八章 附则 > 附件2\"}, {\"key\": \"D\", \"content\": \"附件3\"}]}, \"stem\": \"根据附件2的内容,附件2的主题是什么?\", \"answer\": \"C\", \"explanation\": \"根据文档内容,附件2的主题明确为“第八章 附则 > 附件2”。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (850, '0b2f9496-44ae-4682-84c4-bf1b19cd9eba', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,移交清单的份数是?', NULL, NULL, '[\"3.docx_152\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"一式一份\"}, {\"key\": \"B\", \"content\": \"一式两份\"}, {\"key\": \"C\", \"content\": \"一式三份\"}, {\"key\": \"D\", \"content\": \"一式四份\"}]}, \"stem\": \"根据文档内容,移交清单的份数是?\", \"answer\": \"B\", \"explanation\": \"根据文档中提到的‘本清单一式两份,甲乙双方各持一份’,可以确定移交清单的份数是一式两份。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (851, '08ea7c34-3df1-4f9f-9f70-cdb5c6e56b99', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,调查环卫工人处置落地烟头的工作量属于以下哪一类调查?', NULL, NULL, '[\"3.docx_122\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"对城管及其他相关政府部门的调查\"}, {\"key\": \"B\", \"content\": \"对环卫部门的调查\"}, {\"key\": \"C\", \"content\": \"对市民生活习惯的调查\"}, {\"key\": \"D\", \"content\": \"对城市绿化情况的调查\"}]}, \"stem\": \"根据文档内容,调查环卫工人处置落地烟头的工作量属于以下哪一类调查?\", \"answer\": \"B\", \"explanation\": \"文档中明确提到3.对环卫部门的调查,其内容包括调查环卫工人处置落地烟头的工作量情况。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (852, '2352936b-c477-40ad-9c43-988cbfb8e92a', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,以下哪项属于4A级及以上景区的特征?', NULL, NULL, '[\"dept_1_kb/3.docx_15\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"人流量较小\"}, {\"key\": \"B\", \"content\": \"交通便利,人流量大\"}, {\"key\": \"C\", \"content\": \"仅限于自然景区\"}, {\"key\": \"D\", \"content\": \"不包括人文景区\"}]}, \"stem\": \"根据文档内容,以下哪项属于4A级及以上景区的特征?\", \"answer\": \"B\", \"explanation\": \"根据文档内容,4A级及以上景区的特征是交通便利,人流量大。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (853, 'ab894d45-e07e-462d-80bb-5f526214cff2', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,吸烟场所的规划和建设应优先满足以下哪类功能?', NULL, NULL, '[\"3.docx_7\", \"3.docx_8\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"扩展功能\"}, {\"key\": \"B\", \"content\": \"基础功能\"}, {\"key\": \"C\", \"content\": \"安全保障功能\"}, {\"key\": \"D\", \"content\": \"互动体验功能\"}]}, \"stem\": \"根据文档内容,吸烟场所的规划和建设应优先满足以下哪类功能?\", \"answer\": \"B\", \"explanation\": \"根据文档第四条的内容,吸烟场所的规划和建设必须首先满足基础功能,然后根据实际场景导入扩展功能。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (854, '2aff8157-767b-42f0-9782-ca36a648046a', 'single_choice', 3, NULL, 2.00, '1.0', '71', '根据文档内容,以下哪项属于C1类办公楼的定义范围?', NULL, NULL, '[\"dept_1_kb/3.docx_27\"]', 84, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"国家机关的室内会议室\"}, {\"key\": \"B\", \"content\": \"位于中心商务区、交通便捷、入住率较高的高等级写字楼\"}, {\"key\": \"C\", \"content\": \"公用事业的室外营业区\"}, {\"key\": \"D\", \"content\": \"金融机构的室外办公区域\"}]}, \"stem\": \"根据文档内容,以下哪项属于C1类办公楼的定义范围?\", \"answer\": \"B\", \"explanation\": \"根据文档内容,C1类办公楼的定义包括位于中心商务区、具有标志性和代表性、交通便捷、入住率较高的高等级写字楼。其他选项如国家机关的室内会议室、公用事业和金融机构的营业区均被明确排除在C1类办公楼之外。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:54:16', '2026-06-11 14:54:16', 0);
|
||||
INSERT INTO `question` VALUES (855, 'bdb9726b-2cba-4e64-85ae-9113f154e100', 'single_choice', 3, NULL, 2.00, '1.0', '71', '以下哪一项属于场所分类的A1类别?', NULL, NULL, '[\"dept_1_kb/3.docx_171\"]', 72, 0, 0, NULL, NULL, '{\"data\": {\"options\": [{\"key\": \"A\", \"content\": \"卫生医疗机构\"}, {\"key\": \"B\", \"content\": \"公园、广场、旅游景区和大型场馆\"}, {\"key\": \"C\", \"content\": \"车站、机场、码头、交通枢纽及高速服务区\"}, {\"key\": \"D\", \"content\": \"城镇道路、街道\"}]}, \"stem\": \"以下哪一项属于场所分类的A1类别?\", \"answer\": \"B\", \"explanation\": \"根据文档内容,A1类别明确包括公园、广场、旅游景区和大型场馆。\", \"referenced_chunk_ids\": null}', 'pending', NULL, '2026-06-11 14:59:50', '2026-06-11 14:59:50', 0);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for role
|
||||
@@ -947,29 +982,21 @@ CREATE TABLE `user_answer` (
|
||||
INDEX `idx_created_at`(`created_at` ASC) USING BTREE,
|
||||
CONSTRAINT `fk_user_answer_question` FOREIGN KEY (`question_id`) REFERENCES `question` (`question_id`) ON DELETE CASCADE ON UPDATE RESTRICT,
|
||||
CONSTRAINT `fk_user_answer_user` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 402 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户答题记录表' ROW_FORMAT = DYNAMIC;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 451 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户答题记录表' ROW_FORMAT = DYNAMIC;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of user_answer
|
||||
-- ----------------------------
|
||||
INSERT INTO `user_answer` VALUES (378, 1, 'dd7c6ff8-faad-47ea-a844-e22b5090d219', 'single_choice', 'formal_exam', '35402037-40f1-4119-b1d6-6ed68d7268f8', NULL, '\"A\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 05:27:19', '2026-06-10 05:27:19');
|
||||
INSERT INTO `user_answer` VALUES (379, 1, 'a79742d8-4914-41c4-9c0e-1710859e5195', 'fill_blank', 'formal_exam', '35402037-40f1-4119-b1d6-6ed68d7268f8', NULL, '[\"1\", \"1\"]', 0.00, 2.00, 0, 'ai', NULL, NULL, NULL, 0, 0, '2026-06-10 05:27:19', '2026-06-10 05:27:19');
|
||||
INSERT INTO `user_answer` VALUES (383, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', 'a310b3e9-e1c6-4afb-9945-abd7565cfcb5', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 06:37:47', '2026-06-10 06:37:47');
|
||||
INSERT INTO `user_answer` VALUES (384, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', 'a310b3e9-e1c6-4afb-9945-abd7565cfcb5', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 06:37:47', '2026-06-10 06:37:47');
|
||||
INSERT INTO `user_answer` VALUES (385, 1, '409c8cc2-7bcd-46ce-9e86-c4d817f3a704', 'single_choice', 'formal_exam', 'a310b3e9-e1c6-4afb-9945-abd7565cfcb5', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 06:37:47', '2026-06-10 06:37:47');
|
||||
INSERT INTO `user_answer` VALUES (386, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', 'd55c332f-4de2-42ec-9859-d3dc2f68c8b5', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:47:18', '2026-06-10 10:47:18');
|
||||
INSERT INTO `user_answer` VALUES (387, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', 'd55c332f-4de2-42ec-9859-d3dc2f68c8b5', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:47:18', '2026-06-10 10:47:18');
|
||||
INSERT INTO `user_answer` VALUES (388, 1, '409c8cc2-7bcd-46ce-9e86-c4d817f3a704', 'single_choice', 'formal_exam', 'd55c332f-4de2-42ec-9859-d3dc2f68c8b5', NULL, '\"\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:47:18', '2026-06-10 10:47:18');
|
||||
INSERT INTO `user_answer` VALUES (391, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', '75d386fc-e4e4-46cd-89d2-513daa4c7c48', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:51:08', '2026-06-10 10:51:08');
|
||||
INSERT INTO `user_answer` VALUES (392, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', '75d386fc-e4e4-46cd-89d2-513daa4c7c48', NULL, '\"\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:51:08', '2026-06-10 10:51:08');
|
||||
INSERT INTO `user_answer` VALUES (393, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', 'cab7be14-dd8f-4e02-9bef-13d9a14ab89e', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:52:08', '2026-06-10 10:52:08');
|
||||
INSERT INTO `user_answer` VALUES (394, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', 'cab7be14-dd8f-4e02-9bef-13d9a14ab89e', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:52:08', '2026-06-10 10:52:08');
|
||||
INSERT INTO `user_answer` VALUES (395, 1, '409c8cc2-7bcd-46ce-9e86-c4d817f3a704', 'single_choice', 'formal_exam', 'cab7be14-dd8f-4e02-9bef-13d9a14ab89e', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 10:52:08', '2026-06-10 10:52:08');
|
||||
INSERT INTO `user_answer` VALUES (396, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', '92b2dcf6-ba57-4798-8a1c-33e249ed7e20', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 11:09:19', '2026-06-10 11:09:19');
|
||||
INSERT INTO `user_answer` VALUES (397, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', '92b2dcf6-ba57-4798-8a1c-33e249ed7e20', NULL, '\"A\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 11:09:19', '2026-06-10 11:09:19');
|
||||
INSERT INTO `user_answer` VALUES (398, 1, '409c8cc2-7bcd-46ce-9e86-c4d817f3a704', 'single_choice', 'formal_exam', '92b2dcf6-ba57-4798-8a1c-33e249ed7e20', NULL, '\"A\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 11:09:19', '2026-06-10 11:09:19');
|
||||
INSERT INTO `user_answer` VALUES (399, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', '4e1c48d5-2019-48b6-a31b-2fea3ebf1b6f', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 11:11:49', '2026-06-10 11:11:49');
|
||||
INSERT INTO `user_answer` VALUES (400, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', '4e1c48d5-2019-48b6-a31b-2fea3ebf1b6f', NULL, '\"B\"', 0.00, 2.00, 0, 'ai', '正确答案: None', NULL, NULL, 0, 0, '2026-06-10 11:11:49', '2026-06-10 11:11:49');
|
||||
INSERT INTO `user_answer` VALUES (441, 1, 'd009ac1a-b415-4b51-ab57-4cf10fb16c55', 'true_false', 'practice', '53d75852-16af-4054-8a16-846850e55ac6', 'grade_49b45ca7', '\"T\"', 0.00, 1.00, 0, 'ai', '正确答案: 对', NULL, NULL, 0, 0, '2026-06-11 14:27:23', '2026-06-11 14:27:23');
|
||||
INSERT INTO `user_answer` VALUES (442, 1, 'f139af44-277a-4b6e-88e0-dbd2539b24b6', 'true_false', 'practice', '53d75852-16af-4054-8a16-846850e55ac6', 'grade_49b45ca7', '\"F\"', 0.00, 1.00, 0, 'ai', '正确答案: 错', NULL, NULL, 0, 0, '2026-06-11 14:27:23', '2026-06-11 14:27:23');
|
||||
INSERT INTO `user_answer` VALUES (443, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', 'ff10df62-4fd4-4bc4-8f8b-4dfb348aae8b', NULL, '\"B\"', 2.00, 2.00, 1, 'ai', '正确!', NULL, NULL, 0, 0, '2026-06-11 14:29:12', '2026-06-11 14:29:12');
|
||||
INSERT INTO `user_answer` VALUES (444, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', 'ff10df62-4fd4-4bc4-8f8b-4dfb348aae8b', NULL, '\"B\"', 2.00, 2.00, 1, 'ai', '正确!', NULL, NULL, 0, 0, '2026-06-11 14:29:12', '2026-06-11 14:29:12');
|
||||
INSERT INTO `user_answer` VALUES (445, 1, 'ea6a7f44-9077-4f19-b10e-8239a5198f4d', 'single_choice', 'formal_exam', '724a7aaf-6e31-4f38-a5b3-ece2ecb00ff0', NULL, '\"B\"', 2.00, 2.00, 1, 'ai', '正确!', NULL, NULL, 0, 0, '2026-06-11 14:30:21', '2026-06-11 14:30:21');
|
||||
INSERT INTO `user_answer` VALUES (446, 1, '9d59e7c5-edfc-4517-9fb5-780b389b66fb', 'single_choice', 'formal_exam', '724a7aaf-6e31-4f38-a5b3-ece2ecb00ff0', NULL, '\"B\"', 2.00, 2.00, 1, 'ai', '正确!', NULL, NULL, 0, 0, '2026-06-11 14:30:21', '2026-06-11 14:30:21');
|
||||
INSERT INTO `user_answer` VALUES (447, 1, 'f139af44-277a-4b6e-88e0-dbd2539b24b6', 'true_false', 'practice', '2a613948-e495-4047-b039-588fb6ea20e1', 'grade_5db0d2e5', '\"T\"', 0.00, 1.00, 0, 'ai', '正确答案: 错', NULL, NULL, 0, 0, '2026-06-11 14:30:40', '2026-06-11 14:30:40');
|
||||
INSERT INTO `user_answer` VALUES (448, 1, '7699dfb0-e03e-4e9a-8653-450d101a85d3', 'true_false', 'practice', '2a613948-e495-4047-b039-588fb6ea20e1', 'grade_5db0d2e5', '\"T\"', 0.00, 1.00, 0, 'ai', '正确答案: 对', NULL, NULL, 0, 0, '2026-06-11 14:30:40', '2026-06-11 14:30:40');
|
||||
INSERT INTO `user_answer` VALUES (449, 1, 'fc512f8c-46e8-4d58-b6e5-b4172a0b311b', 'true_false', 'practice', '6690347c-a975-48b1-8e87-3bdc9cde8e85', 'grade_2930b499', '\"T\"', 1.00, 1.00, 1, 'ai', '正确!', NULL, NULL, 0, 0, '2026-06-11 14:30:58', '2026-06-11 14:30:58');
|
||||
INSERT INTO `user_answer` VALUES (450, 1, 'f139af44-277a-4b6e-88e0-dbd2539b24b6', 'true_false', 'practice', '6690347c-a975-48b1-8e87-3bdc9cde8e85', 'grade_2930b499', '\"T\"', 0.00, 1.00, 0, 'ai', '正确答案: 错', NULL, NULL, 0, 0, '2026-06-11 14:30:58', '2026-06-11 14:30:58');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for user_role
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
-- =============================================================
|
||||
-- 数据库迁移脚本:question 表补充缺失列
|
||||
-- 版本: V1.1
|
||||
-- 日期: 2026-06-08
|
||||
-- 说明: question表缺少 exclude_stems 和 is_deleted 列,
|
||||
-- 导致 MyBatis-Plus 全字段查询时抛出 SQL 异常
|
||||
-- (Unknown column 'exclude_stems' / 'is_deleted')
|
||||
-- 对应实体字段: Question.excludeStems, Question.isDeleted
|
||||
-- =============================================================
|
||||
|
||||
-- 1. 添加 exclude_stems 列(对应实体 field: excludeStems)
|
||||
-- 用于 AI 出题时对题干内容进行去重
|
||||
ALTER TABLE `question`
|
||||
ADD COLUMN `exclude_stems` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci
|
||||
NULL DEFAULT NULL COMMENT '题干内容,用于AI去重'
|
||||
AFTER `document_id`;
|
||||
|
||||
-- 2. 添加 is_deleted 列(对应实体 field: isDeleted)
|
||||
-- 用于逻辑删除标记
|
||||
ALTER TABLE `question`
|
||||
ADD COLUMN `is_deleted` int NOT NULL DEFAULT 0
|
||||
COMMENT '软删除标志:0表示正常,1表示已删除'
|
||||
AFTER `updated_at`;
|
||||
|
||||
-- 3. 为 is_deleted 添加索引(优化按删除状态查询的性能)
|
||||
ALTER TABLE `question`
|
||||
ADD INDEX `idx_question_is_deleted`(`is_deleted` ASC) USING BTREE;
|
||||
|
||||
-- =============================================================
|
||||
-- 补充迁移:file 表添加 tags 列
|
||||
-- 说明: File实体中有 private JsonNode tags 字段,
|
||||
-- 但数据库 File 表缺少该列,导致全字段查询报错
|
||||
-- =============================================================
|
||||
|
||||
-- 4. 添加 tags 列(对应实体 field: tags)
|
||||
-- 用于存储文件标签(JSON数组),如 ["重要", "需审批"]
|
||||
ALTER TABLE `file`
|
||||
ADD COLUMN `tags` json DEFAULT NULL COMMENT '文件标签'
|
||||
AFTER `process_step_message`;
|
||||
|
||||
-- =============================================================
|
||||
-- 回滚脚本(如需回滚请执行以下语句)
|
||||
-- =============================================================
|
||||
-- ALTER TABLE `question` DROP COLUMN `exclude_stems`;
|
||||
-- ALTER TABLE `question` DROP COLUMN `is_deleted`;
|
||||
-- ALTER TABLE `question` DROP INDEX `idx_question_is_deleted`;
|
||||
-- ALTER TABLE `file` DROP COLUMN `tags`;
|
||||
Reference in New Issue
Block a user