-- QuantumTest SQLite → MySQL 全量导出（建表 + 数据）
-- 生成时间: 2026-05-06 12:07:40
-- 执行前请确保 case_platform 数据库已存在

-- QuantumTest 表结构 DDL (MySQL 8.0+)
-- 生成时间: 2026-05-06
-- 执行前请确保已创建数据库: CREATE DATABASE IF NOT EXISTS case_platform DEFAULT CHARACTER SET utf8mb4;

SET NAMES utf8mb4;


-- ═══════════════════════════════════════
-- 数据
-- ═══════════════════════════════════════
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ─── test_cases (60 条) ───────────────
DELETE FROM `test_cases`;
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-001', 'TC-001', '账号密码正确登录成功', '用户管理', 'General', 'P2', 'Reviewed', 'UNTESTED', '张三', 'REQ-1001', NULL, '[{"action": "\u6253\u5f00\u767b\u5f55\u9875\u9762", "expected": "\u767b\u5f55\u9875\u6b63\u5e38\u5c55\u793a"}, {"action": "\u8f93\u5165\u6b63\u786e\u7684\u8d26\u53f7\u5bc6\u7801\u70b9\u51fb\u767b\u5f55", "expected": "\u767b\u5f55\u6210\u529f\u8df3\u8f6c\u5230\u9996\u9875"}]', '["\u5192\u70df", "\u6838\u5fc3\u6d41\u7a0b"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-002', 'TC-002', '手机验证码登录', '用户管理', 'Web', 'P0', 'Reviewed', 'PASS', '张三', 'REQ-1001', NULL, '[{"action": "\u8f93\u5165\u624b\u673a\u53f7\u83b7\u53d6\u9a8c\u8bc1\u7801", "expected": "\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f"}, {"action": "\u8f93\u5165\u6b63\u786e\u9a8c\u8bc1\u7801\u70b9\u51fb\u767b\u5f55", "expected": "\u767b\u5f55\u6210\u529f"}]', '["\u5192\u70df"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-003', 'TC-003', '第三方微信扫码登录', '用户管理', 'Web', 'P1', 'Reviewed', 'PASS', '李四', 'REQ-1002', NULL, '[{"action": "\u70b9\u51fb\u5fae\u4fe1\u767b\u5f55\u56fe\u6807", "expected": "\u5f39\u51fa\u4e8c\u7ef4\u7801"}, {"action": "\u624b\u673a\u626b\u7801\u786e\u8ba4", "expected": "\u767b\u5f55\u6210\u529f\u8df3\u8f6c\u9996\u9875"}]', '["\u9700\u6c42"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-004', 'TC-004', '密码错误登录失败提示', '用户管理', 'Web', 'P1', 'Reviewed', 'FAIL', '张三', NULL, 'BUG-001', '[{"action": "\u8f93\u5165\u6b63\u786e\u8d26\u53f7\u548c\u9519\u8bef\u5bc6\u7801", "expected": "\u63d0\u793a\u5bc6\u7801\u9519\u8bef"}, {"action": "\u8fde\u7eed5\u6b21\u9519\u8bef\u8f93\u5165", "expected": "\u8d26\u53f7\u88ab\u9501\u5b9a15\u5206\u949f"}]', '["\u56de\u5f52"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-005', 'TC-005', '登录状态过期自动跳转', '用户管理', 'Web', 'P2', 'Draft', 'UNTESTED', '张三', NULL, NULL, NULL, '["\u56de\u5f52"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-register', NULL, '注册功能', '用户管理', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-006', 'TC-006', '手机号注册新账号', '用户管理', 'Web', 'P0', 'Reviewed', 'PASS', '李四', 'REQ-1003', NULL, '[{"action": "\u8f93\u5165\u624b\u673a\u53f7\u83b7\u53d6\u9a8c\u8bc1\u7801", "expected": "\u9a8c\u8bc1\u7801\u53d1\u9001\u6210\u529f"}, {"action": "\u586b\u5199\u4fe1\u606f\u63d0\u4ea4\u6ce8\u518c", "expected": "\u6ce8\u518c\u6210\u529f\u81ea\u52a8\u767b\u5f55"}]', '["\u5192\u70df", "\u6838\u5fc3\u6d41\u7a0b"]', 'dir-register');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-007', 'TC-007', '邮箱注册新账号', '用户管理', 'Web', 'P1', 'Reviewed', 'PASS', '李四', NULL, NULL, NULL, '["\u9700\u6c42"]', 'dir-register');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-008', 'TC-008', '重复手机号注册校验', '用户管理', 'Web', 'P1', 'Reviewed', 'FAIL', '李四', NULL, 'BUG-002', NULL, '["\u56de\u5f52"]', 'dir-register');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-perm', NULL, '权限管理', '用户管理', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-009', 'TC-009', '管理员角色权限验证', '用户管理', 'Web', 'P0', 'Reviewed', 'PASS', '王五', NULL, NULL, NULL, '["\u5192\u70df", "\u6743\u9650"]', 'dir-perm');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-010', 'TC-010', '普通用户越权访问拦截', '用户管理', 'API', 'P0', 'Reviewed', 'PASS', '王五', NULL, NULL, NULL, '["\u5b89\u5168", "\u56de\u5f52"]', 'dir-perm');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('mod-order', NULL, '订单管理模块', '订单管理', 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, '["\u6838\u5fc3\u6a21\u5757"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-create-order', NULL, '创建订单', '订单管理', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'mod-order');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-011', 'TC-011', '正常商品下单流程', '订单管理', 'Web', 'P0', 'Reviewed', 'PASS', '赵六', 'REQ-2001', NULL, '[{"action": "\u9009\u62e9\u5546\u54c1\u52a0\u5165\u8d2d\u7269\u8f66", "expected": "\u5546\u54c1\u6dfb\u52a0\u6210\u529f"}, {"action": "\u70b9\u51fb\u7ed3\u7b97\u63d0\u4ea4\u8ba2\u5355", "expected": "\u8ba2\u5355\u521b\u5efa\u6210\u529f\u663e\u793a\u5f85\u652f\u4ed8"}]', '["\u5192\u70df", "\u6838\u5fc3\u6d41\u7a0b"]', 'dir-create-order');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-012', 'TC-012', '库存不足下单提示', '订单管理', 'Web', 'P1', 'Reviewed', 'PASS', '赵六', NULL, NULL, NULL, '["\u56de\u5f52"]', 'dir-create-order');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-013', 'TC-013', '优惠券叠加使用校验', '订单管理', 'Web', 'P2', 'Draft', 'UNTESTED', '赵六', NULL, NULL, NULL, '["\u9700\u6c42"]', 'dir-create-order');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-payment', NULL, '支付流程', '订单管理', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'mod-order');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-014', 'TC-014', '微信支付成功场景', '订单管理', 'Web', 'P0', 'Reviewed', 'PASS', '赵六', 'REQ-2002', NULL, '[{"action": "\u9009\u62e9\u5fae\u4fe1\u652f\u4ed8", "expected": "\u5524\u8d77\u5fae\u4fe1\u652f\u4ed8"}, {"action": "\u786e\u8ba4\u652f\u4ed8", "expected": "\u652f\u4ed8\u6210\u529f\u8df3\u8f6c\u8ba2\u5355\u8be6\u60c5"}]', '["\u5192\u70df", "\u6838\u5fc3\u6d41\u7a0b"]', 'dir-payment');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-015', 'TC-015', '支付宝支付成功场景', '订单管理', 'Web', 'P0', 'Reviewed', 'PASS', '赵六', NULL, NULL, NULL, '["\u5192\u70df"]', 'dir-payment');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-016', 'TC-016', '余额不足支付失败', '订单管理', 'Web', 'P1', 'Reviewed', 'FAIL', '张三', NULL, 'BUG-003', NULL, '["\u56de\u5f52"]', 'dir-payment');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-017', 'TC-017', '支付超时自动取消订单', '订单管理', 'Web', 'P2', 'PendingReview', 'UNTESTED', '张三', NULL, NULL, NULL, '["\u56de\u5f52"]', 'dir-payment');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-refund', NULL, '退款流程', '订单管理', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'mod-order');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-018', 'TC-018', '已支付订单申请退款', '订单管理', 'Web', 'P0', 'Reviewed', 'PASS', '李四', 'REQ-2003', NULL, '[{"action": "\u8fdb\u5165\u8ba2\u5355\u8be6\u60c5\u70b9\u51fb\u7533\u8bf7\u9000\u6b3e", "expected": "\u9000\u6b3e\u7533\u8bf7\u63d0\u4ea4\u6210\u529f"}, {"action": "\u5ba1\u6838\u901a\u8fc7", "expected": "\u9000\u6b3e\u5230\u8d26\u901a\u77e5"}]', '["\u5192\u70df", "\u6838\u5fc3\u6d41\u7a0b"]', 'dir-refund');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-019', 'TC-019', '部分退款金额校验', '订单管理', 'Web', 'P1', 'Reviewed', 'UNTESTED', '李四', NULL, NULL, NULL, '["\u9700\u6c42"]', 'dir-refund');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('mod-product', NULL, '商品管理模块', '商品管理', 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, '["\u6838\u5fc3\u6a21\u5757"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-search', NULL, '商品搜索', '商品管理', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'mod-product');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-020', 'TC-020', '关键词精确搜索商品', '商品管理', 'Web', 'P0', 'Reviewed', 'PASS', '王五', NULL, NULL, '[{"action": "\u8f93\u5165\u5546\u54c1\u540d\u79f0\u641c\u7d22", "expected": "\u8fd4\u56de\u5339\u914d\u7684\u5546\u54c1\u5217\u8868"}]', '["\u5192\u70df"]', 'dir-search');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-021', 'TC-021', '筛选条件组合搜索', '商品管理', 'Web', 'P1', 'Reviewed', 'PASS', '王五', NULL, NULL, NULL, '["\u9700\u6c42"]', 'dir-search');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-022', 'TC-022', '搜索无结果页面展示', '商品管理', 'Web', 'P2', 'Draft', 'UNTESTED', '王五', NULL, NULL, NULL, '["\u56de\u5f52"]', 'dir-search');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-product-detail', NULL, '商品详情', '商品管理', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'mod-product');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-023', 'TC-023', '商品详情页信息展示', '商品管理', 'Web', 'P0', 'Reviewed', 'PASS', '王五', NULL, NULL, NULL, '["\u5192\u70df"]', 'dir-product-detail');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-024', 'TC-024', '商品评价列表分页', '商品管理', 'Web', 'P2', 'PendingReview', 'UNTESTED', '王五', NULL, NULL, NULL, '["\u9700\u6c42"]', 'dir-product-detail');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('mod-settings', NULL, '系统设置模块', '系统设置', 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, '["\u57fa\u7840\u6a21\u5757"]', NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-notification', NULL, '通知配置', '系统设置', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'mod-settings');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-025', 'TC-025', '站内消息通知开关', '系统设置', 'Web', 'P2', 'Draft', 'UNTESTED', '赵六', NULL, NULL, NULL, '["\u81ea\u6d4b"]', 'dir-notification');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-026', 'TC-026', '邮件通知模板配置', '系统设置', 'Web', 'P3', 'Draft', 'UNTESTED', '赵六', NULL, NULL, NULL, '["\u81ea\u6d4b"]', 'dir-notification');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('dir-profile', NULL, '个人中心', '系统设置', 'Web', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'mod-settings');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-027', 'TC-027', '个人信息修改保存', '系统设置', 'Web', 'P1', 'Reviewed', 'PASS', '李四', NULL, NULL, NULL, '["\u81ea\u6d4b"]', 'dir-profile');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('tc-028', 'TC-028', '头像上传与裁剪', '系统设置', 'Web', 'P2', 'PendingReview', 'UNTESTED', '李四', NULL, NULL, NULL, '["\u9700\u6c42"]', 'dir-profile');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777446852656', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'tc-001');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777447096599', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777447100961', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777447219669', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777449733175', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777450666625', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'tc-001');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777450667553', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, 'node-1777450666625');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777450723141', NULL, 'fgfggs', NULL, 'General', 'P2', 'Draft', 'PASS', NULL, NULL, NULL, NULL, NULL, 'tc-010');
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517187752', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517188135', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517188637', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517189036', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517189422', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517189798', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517190165', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517190507', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517190802', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517191001', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517191191', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `test_cases` (`id`, `case_id`, `text`, `module`, `type`, `priority`, `review_status`, `execution_status`, `maintainer`, `requirement_id`, `bug_id`, `steps`, `tags`, `parent_id`) VALUES ('node-1777517191362', NULL, '新建用例', NULL, 'General', 'P2', 'Draft', 'UNTESTED', NULL, NULL, NULL, NULL, NULL, NULL);

-- ─── test_plans (1 条) ───────────────
DELETE FROM `test_plans`;
INSERT INTO `test_plans` (`id`, `name`, `type`, `case_ids`, `assignee`, `created_at`) VALUES ('p-1778039425608', '1111', 'Requirement', '["tc-002", "tc-006", "tc-009", "tc-010", "node-1777450723141", "tc-011", "tc-014", "tc-015", "tc-018", "tc-020", "tc-023"]', 'ou_9128e3d3d9a4526f6a41bf84dae9c523', '2026-05-06');

-- ─── test_tasks (6 条) ───────────────
DELETE FROM `test_tasks`;
INSERT INTO `test_tasks` (`id`, `name`, `status`, `plan_id`, `assignee`, `created_at`) VALUES ('task-smoke-1', 'v3.0 核心流程冒烟测试', 'RUNNING', 'plan-smoke', '张三', '2026-04-29T12:09:40.318533');
INSERT INTO `test_tasks` (`id`, `name`, `status`, `plan_id`, `assignee`, `created_at`) VALUES ('task-reg-1', 'v3.0 全模块回归测试', 'PENDING', 'plan-regression', '李四', '2026-04-29T12:09:40.318533');
INSERT INTO `test_tasks` (`id`, `name`, `status`, `plan_id`, `assignee`, `created_at`) VALUES ('task-req-1', 'REQ-2001 订单模块需求测试', 'RUNNING', 'plan-requirement', '赵六', '2026-04-29T12:09:40.318533');
INSERT INTO `test_tasks` (`id`, `name`, `status`, `plan_id`, `assignee`, `created_at`) VALUES ('task-self-1', '系统设置模块自测', 'COMPLETED', 'plan-selftest', '王五', '2026-04-29T12:09:40.318533');
INSERT INTO `test_tasks` (`id`, `name`, `status`, `plan_id`, `assignee`, `created_at`) VALUES ('fb7c9029-06d9-46df-8113-e7c67e69ee2c', '【执行任务】v3.0 ', 'PENDING', 'p-1777445018915', '张三', '2026-04-29T14:43:38.986667');
INSERT INTO `test_tasks` (`id`, `name`, `status`, `plan_id`, `assignee`, `created_at`) VALUES ('c1b2a896-1091-4905-8ddd-c2eaa3e424e3', '【执行任务】1111', 'COMPLETED', 'p-1778039425608', 'ou_9128e3d3d9a4526f6a41bf84dae9c523', '2026-05-06T11:50:25.625136');

-- ─── bugs (0 条) ───────────────
DELETE FROM `bugs`;

SET FOREIGN_KEY_CHECKS = 1;