From 0dfff671e915905a3295b18381ba8bb2b776df3b Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 26 Jun 2024 17:31:22 +0800 Subject: [PATCH] chore: Initializing Example Data --- .../migration/3.0.0/dml/V3.0.0_11_1__data.sql | 4 +- .../migration/3.0.0/dml/V3.0.0_12_1__data.sql | 59 ++++++++++++------- 2 files changed, 39 insertions(+), 24 deletions(-) diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql index aae7f9e1b2..2b4f9a2989 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_11_1__data.sql @@ -4,7 +4,7 @@ SET SESSION innodb_lock_wait_timeout = 7200; -- 初始化组织 INSERT INTO organization (id, num, name, description, create_user, update_user, create_time, update_time) VALUES ('100001', 100001, '默认组织', '系统默认创建的组织', 'admin', 'admin', unix_timestamp() * 1000, unix_timestamp() * 1000); -- 初始化项目 -INSERT INTO project (id, num, organization_id, name, description, create_user, update_user, create_time, update_time, module_setting) VALUES ('100001100001', 100001, (SELECT id FROM organization WHERE name LIKE '默认组织'), '默认项目', '系统默认创建的项目', 'admin', 'admin', unix_timestamp() * 1000, unix_timestamp() * 1000,'["bugManagement","caseManagement","apiTest","testPlan"]'); +INSERT INTO project (id, num, organization_id, name, description, create_user, update_user, create_time, update_time, module_setting) VALUES ('100001100001', 100001, (SELECT id FROM organization WHERE name LIKE '默认组织'), '示例项目', '系统默认创建的项目', 'admin', 'admin', unix_timestamp() * 1000, unix_timestamp() * 1000,'["bugManagement","caseManagement","apiTest","testPlan"]'); -- 初始化用户 insert into user(id, name, email, password, create_time, update_time, language, last_organization_id, phone, source, last_project_id, create_user, update_user,deleted) @@ -294,7 +294,7 @@ INSERT INTO template_custom_field(id, field_id, template_id, required, pos, syst -- 初始化默认项目版本 -INSERT INTO project_version (id, project_id, name, description, status, latest, publish_time, start_time, end_time, create_time, create_user) VALUES (UUID_SHORT(), '100001100001', 'v1.0', NULL, 'open', 1, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, 'admin'); +INSERT INTO project_version (id, project_id, name, description, status, latest, publish_time, start_time, end_time, create_time, create_user) VALUES ('100000000000001', '100001100001', 'v1.0', NULL, 'open', 1, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, 'admin'); -- 初始化项目功能用例字段 INSERT INTO custom_field(id, name, scene, `type`, remark, internal, scope_type, create_time, update_time, create_user, scope_id, ref_id) VALUES(UUID_SHORT(), 'functional_priority', 'FUNCTIONAL', 'SELECT', '', 1, 'PROJECT', UNIX_TIMESTAMP() * 1000, UNIX_TIMESTAMP() * 1000, 'admin', '100001100001', (SELECT id FROM (SELECT * FROM custom_field) t where name = 'functional_priority')); diff --git a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql index 954fdcb4bb..27bb599243 100644 --- a/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql +++ b/backend/framework/domain/src/main/resources/migration/3.0.0/dml/V3.0.0_12_1__data.sql @@ -46,11 +46,11 @@ INSERT INTO `environment_blob` (`id`, `config`) VALUES ('1040412892192768', 0x50 -- API INSERT INTO `api_definition_module` (`id`, `name`, `parent_id`, `project_id`, `pos`, `create_time`, `update_time`, `update_user`, `create_user`) VALUES ('1030139330420736', 'Halo', 'NONE', '100001100001', 384, 1716280762025, 1716280762025, 'admin', 'admin'); -INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956781289005136', 'RecyclePost', 'HTTP', 'PUT', '/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle', 'PROCESSING', 100147, '[\"移至回收站\"]', 9472, '100001100001', '1030139330420736', b'1', '903609593880576', '956781289005136', NULL, 1716276492793, 'admin', 1716284199070, 'admin', NULL, NULL, b'0'); -INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956798468874243', 'PublishPost', 'HTTP', 'PUT', '/apis/api.console.halo.run/v1alpha1/posts/{name}/publish', 'PROCESSING', 100205, '[\"发布文章\"]', 13184, '100001100001', '1030139330420736', b'1', '903609593880576', '956798468874243', NULL, 1716276493011, 'admin', 1716283138080, 'admin', NULL, NULL, b'0'); -INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956815648743479', 'fetchPostHeadContent', 'HTTP', 'GET', '/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content', 'PROCESSING', 100328, '[\"获取文章正文\"]', 21056, '100001100001', '1030139330420736', b'1', '903609593880576', '956815648743479', NULL, 1716276494225, 'admin', 1716282914827, 'admin', NULL, NULL, b'0'); -INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956815648743509', 'DraftPost', 'HTTP', 'POST', '/apis/api.console.halo.run/v1alpha1/posts', 'PROCESSING', 100358, '[\"编写文章\"]', 22976, '100001100001', '1030139330420736', b'1', '903609593880576', '956815648743509', NULL, 1716276494331, 'admin', 1716875854664, '724938939965440', NULL, NULL, b'0'); -INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956832828612610', 'Deletecontent.halo.run/v1alpha1/Post', 'HTTP', 'DELETE', '/apis/content.halo.run/v1alpha1/posts/{name}', 'PROCESSING', 100461, '[\"删除文章\"]', 29568, '100001100001', '1030139330420736', b'1', '903609593880576', '956832828612610', NULL, 1716276495421, 'admin', 1716287773546, 'admin', NULL, NULL, b'0'); +INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956781289005136', 'RecyclePost', 'HTTP', 'PUT', '/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle', 'PROCESSING', 1, '[\"移至回收站\"]', 9472, '100001100001', '1030139330420736', b'1', '100000000000001', '956781289005136', NULL, 1716276492793, 'admin', 1716284199070, 'admin', NULL, NULL, b'0'); +INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956798468874243', 'PublishPost', 'HTTP', 'PUT', '/apis/api.console.halo.run/v1alpha1/posts/{name}/publish', 'PROCESSING', 2, '[\"发布文章\"]', 13184, '100001100001', '1030139330420736', b'1', '100000000000001', '956798468874243', NULL, 1716276493011, 'admin', 1716283138080, 'admin', NULL, NULL, b'0'); +INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956815648743479', 'fetchPostHeadContent', 'HTTP', 'GET', '/apis/api.console.halo.run/v1alpha1/posts/{name}/head-content', 'PROCESSING', 3, '[\"获取文章正文\"]', 21056, '100001100001', '1030139330420736', b'1', '100000000000001', '956815648743479', NULL, 1716276494225, 'admin', 1716282914827, 'admin', NULL, NULL, b'0'); +INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956815648743509', 'DraftPost', 'HTTP', 'POST', '/apis/api.console.halo.run/v1alpha1/posts', 'PROCESSING', 4, '[\"编写文章\"]', 22976, '100001100001', '1030139330420736', b'1', '100000000000001', '956815648743509', NULL, 1716276494331, 'admin', 1716875854664, '724938939965440', NULL, NULL, b'0'); +INSERT INTO `api_definition` (`id`, `name`, `protocol`, `method`, `path`, `status`, `num`, `tags`, `pos`, `project_id`, `module_id`, `latest`, `version_id`, `ref_id`, `description`, `create_time`, `create_user`, `update_time`, `update_user`, `delete_user`, `delete_time`, `deleted`) VALUES ('956832828612610', 'Deletecontent.halo.run/v1alpha1/Post', 'HTTP', 'DELETE', '/apis/content.halo.run/v1alpha1/posts/{name}', 'PROCESSING', 5, '[\"删除文章\"]', 29568, '100001100001', '1030139330420736', b'1', '100000000000001', '956832828612610', NULL, 1716276495421, 'admin', 1716287773546, 'admin', NULL, NULL, b'0'); INSERT INTO `api_definition_blob` (`id`, `request`, `response`) VALUES ('956781289005136', 0x504B0304140008080800938CB558000000000000000000000000030000007A6970A5534D6FDB300CFD2F3A1BCE7AD921B726EB560C5B1674DE76287A606C26562B89AA24C70D02FFF75191958FA1DBA1CBC1811EC9A7C7476A2FA00BED9CCC5A6EC4747F38553B8B622A16DF1637A2102BF0B2BE6638863B8F6E019AC3A653AA1016BCEFC935F9BC0525F9B006E57128442337E8C31B8BDB106C94F3F3125E51B38B6CF1FF52A92183B314E5BC3539FD01028CC8E1CC541D7A31BD7FE084BEEF3F32F6D7F8A32793836860A5F03323DFEB16358C7252D2A12A37F178969390545B39305E0649E6A2F6970CED793ADFFBA255BE767B62E68083FEF5C04A1A70BB1C6BD0D74EDA745592B096EA2C9BF3E68ABD9F65FF24951A033A6F5B745882956513A874F8CC6E84320EA28C55E5223B9C580EF68E24FB218E0CA1619A68602198B2251E9C58FEA8B88002939F16AD2663B00E95D4485D10D3F7EFF8C73DA2B7643CFE89D7E8825CCB1A025E2B09FED8192945FD1D36D2311BC3C1756C2DEF0D9D8179772CC44D1413EED0C74FC92A3C292C5B50DC6F6726DB2B50B685AB89251FFC646F785F8709D3EC6AB6B010EC88DBA5FE582AEBBBDF8B276444C44C51E4C90891079F255D8C25862D38D0E3047C70D26C44247DEE587593ABB4345FD06CA2ECD4B086974B004D4D0D1E97CA509829304FE3528EE8F8B422E7C0D23BA7FECF064B6AA7C9D956D6E9458BAFFEB6AA96370A359A101F6382EF52C9926918AC5BA91A87E660DB6B1C73D29ACC8985B7340E9ECC697192AB9F14AD401DC79DD3F2DB8DB2978E6AF49EDCBF6B6D4E3BD63A7C5BE9F030FC06504B0708F063EAF4370200004F050000504B01021400140008080800938CB558F063EAF4370200004F0500000300000000000000000000000000000000007A6970504B0506000000000100010031000000680200000000, 0x504B0304140008080800938CB558000000000000000000000000030000007A69708B8E0500504B070829BB4C0D0400000002000000504B01021400140008080800938CB55829BB4C0D04000000020000000300000000000000000000000000000000007A6970504B0506000000000100010031000000350000000000); @@ -60,8 +60,8 @@ INSERT INTO `api_definition_blob` (`id`, `request`, `response`) VALUES ('9568156 INSERT INTO `api_definition_blob` (`id`, `request`, `response`) VALUES ('956832828612610', 0x504B03041400080808008694B558000000000000000000000000030000007A69709D54C16E1A3110FD95C867B4400E507123B06D55A58406DA1EA2AA32BB03EBC4EB716C6F0021A4E6DAAFE857F4939ADFE8985D03DB26A91A2EC833CF6F66DE3CEF86F1C265035473B160BDCDEE345D6B603D36BA18C5ACC166DC8AA44F619F2E2C9811CF29AD0A291B4C736B9768D270BEE352D061CEA5856D83A56201D6BDF072E69CF6ED7CAA876798AE3D9BFFAF77AA50C1599925DC1C4D3EE48E5791DD99A80AB0AC77F58500CBE5F235C59ECC5F5B5421098ACF24BCA3C824C920E7553B2568772B0C717D842923E5DDA9E1CA0A2750D5EE7E162E3B8653DD552E43D9BB0333250C5F3E9E9809C5CD3AE452B08911BA2C55B63017F2084DB88124EDCF827E02A31C1C18AB333010712DA2D46164E096D470915F44E46F45A3A070C9B293B722D96CFDCA80A744E3056C30A2CC9016C786F1793CF50B4247FC07AF25A814246E2A72C0C2B15EA7453F1A13AC4665E1CF7802C689B948B883BE14DCEE874329717909A930C44661670A5297AC8347C1601FCDBD19599386B44DEAC081A209B9A4710BD5BC6B73A933DE6E6AB4CE36378AECBAA5CE4908B32EC7A2F6A8A7AB0DBB018A308F608DB010C6C2BE431BB56D306FFF139C9F787AE69B313CAF96609D116AC17C81DB82BA4E03432ED439A8856FBB1C38E7AB7A00548229EC7DA5D09D49AE6E2A5F56D1EA7579CE2D8D5118F9FF326894EB1C8DCE44523E64F6DEBE9D4EC7B1849C08FC1B2CC3439064A8A779C7E5FC4926646A40EDF47C8C7C80798EEA404FAEF52E4075705129F71B89332EF7BB0F30BB63AE9A7AF8FEF3D7B7FB871FF7C74495FA97F1647C319AC45F0717436F552F156B77DB9DD357DD6EB7D5EAB4FEDA2C4D97560F9AC51F3EF6CF271EB2D2E437482BEDD969AB553D967EA8587B35F556FD67C7C002567BF0A3909537F1F310FF6D19FF03B5F540BFE1B1C104AC45F3BCAA3AC042116DE06557A9F26F504B07082F7107EFB102000079060000504B010214001400080808008694B5582F7107EFB1020000790600000300000000000000000000000000000000007A6970504B0506000000000100010031000000E20200000000, 0x504B03041400080808008694B558000000000000000000000000030000007A69706D8E416FC2300C85FF8BCF3900122DCA8D21EDB0232038200E2E71D720374571C256A1FEF785856E4CDAC9F2FB9EDFF3E106D6808669392D668BA22C8B623E0105123044597586129C4DEE92A11A238757C677D0C14752E0B04DDC4566050DA1212FA00F470555677AD0B7EFB9ED2FF790F5729F42CED2B99707248715D35B5236A7865A045D230B65D30E39FE649F9F3C59C9B75B8F4E6CB09DFB73BBB7A179B60F0A3E5B1E6BAFBFC90978FCF81F54D6A1EF4726E4CC52F2F6683224276F2FB93D7F555B1E0386E1F805504B0708F0DBB9A6CB0000005C010000504B010214001400080808008694B558F0DBB9A6CB0000005C0100000300000000000000000000000000000000007A6970504B0506000000000100010031000000FC0000000000); -- API scenario -INSERT INTO `api_scenario` (`id`, `name`, `priority`, `status`, `step_total`, `request_pass_rate`, `last_report_status`, `last_report_id`, `num`, `deleted`, `pos`, `version_id`, `ref_id`, `latest`, `project_id`, `module_id`, `description`, `tags`, `grouped`, `environment_id`, `create_user`, `create_time`, `delete_time`, `delete_user`, `update_user`, `update_time`) VALUES ('1083087687245824', '发布文章流程', 'P0', 'UNDERWAY', 3, '100.00', 'SUCCESS', '956557951868930', 100001, b'0', 64, '903609593880576', '1083087687245824', b'1', '100001100001', 'root', '', '[]', b'0', '1040412892192768', 'admin', 1716283844173, NULL, NULL, 'admin', 1716284003232); -INSERT INTO `api_scenario` (`id`, `name`, `priority`, `status`, `step_total`, `request_pass_rate`, `last_report_status`, `last_report_id`, `num`, `deleted`, `pos`, `version_id`, `ref_id`, `latest`, `project_id`, `module_id`, `description`, `tags`, `grouped`, `environment_id`, `create_user`, `create_time`, `delete_time`, `delete_user`, `update_user`, `update_time`) VALUES ('1143543646904320', '发布并删除文章', 'P0', 'UNDERWAY', 9, '86.36', 'SUCCESS', '956300253831169', 100003, b'0', 192, '903609593880576', '1143543646904320', b'1', '100001100001', 'root', '这个示例展示了场景的全部功能', '[\"文章发布全流程\"]', b'0', '1040412892192768', 'admin', 1716287363812, NULL, NULL, '724938939965440', 1716879632513); +INSERT INTO `api_scenario` (`id`, `name`, `priority`, `status`, `step_total`, `request_pass_rate`, `last_report_status`, `last_report_id`, `num`, `deleted`, `pos`, `version_id`, `ref_id`, `latest`, `project_id`, `module_id`, `description`, `tags`, `grouped`, `environment_id`, `create_user`, `create_time`, `delete_time`, `delete_user`, `update_user`, `update_time`) VALUES ('1083087687245824', '发布文章流程', 'P0', 'UNDERWAY', 3, '100.00', 'SUCCESS', '956557951868930', 1, b'0', 64, '100000000000001', '1083087687245824', b'1', '100001100001', 'root', '', '[]', b'0', '1040412892192768', 'admin', 1716283844173, NULL, NULL, 'admin', 1716284003232); +INSERT INTO `api_scenario` (`id`, `name`, `priority`, `status`, `step_total`, `request_pass_rate`, `last_report_status`, `last_report_id`, `num`, `deleted`, `pos`, `version_id`, `ref_id`, `latest`, `project_id`, `module_id`, `description`, `tags`, `grouped`, `environment_id`, `create_user`, `create_time`, `delete_time`, `delete_user`, `update_user`, `update_time`) VALUES ('1143543646904320', '发布并删除文章', 'P0', 'UNDERWAY', 9, '86.36', 'SUCCESS', '956300253831169', 2, b'0', 192, '100000000000001', '1143543646904320', b'1', '100001100001', 'root', '这个示例展示了场景的全部功能', '[\"文章发布全流程\"]', b'0', '1040412892192768', 'admin', 1716287363812, NULL, NULL, '724938939965440', 1716879632513); INSERT INTO `api_scenario_blob` (`id`, `config`) VALUES ('1083087687245824', 0x504B03041400080808002B8CB558000000000000000000000000030000007A69709D8CBB0E82401045FF656ABE809618638326F8288CC54006D8B8EC909985C410FE5D08B0C6C2C6F6DC73EE003D8AC1DC12C40314DC34ECAE2B5188EF8F080AEDBFC818412B74122E48952561579A6AAEC9CDCEDE728E16622F1DCDE6AA8594D5FFDBA22A8937EC3E5D409BC3BEA61FBF09F3D3D0F6BE2C0BCB6A946928D16A58324FED0D8D0FB844633B99B8A0A7EA053124C7F47C482F3B18C737504B07086572E7009B00000048010000504B010214001400080808002B8CB5586572E7009B000000480100000300000000000000000000000000000000007A6970504B0506000000000100010031000000CC0000000000); INSERT INTO `api_scenario_blob` (`id`, `config`) VALUES ('1143543646904320', 0x504B03041400080808001078BC58000000000000000000000000030000007A69709D504D4F843010FD2F3D43B2BB1683DC946C8C173401D783D9C32C0C6C4369495B362184FFEE900A7AF1E26DFA3EE6BDE9C46E60045C24B26462A5EE3AAD4EDF8865C9E7C45A1C5942CCA01C0B482D0792B203CDA2A2E1BE8AEA3DAF7888D10E43BE8F7818EF300A0FC8E32806FE70B92B49DB8381AE18FBC59BBE6679F1981504A3F2D1CE0C18B00A6D6944EF84562423DA41B39438074C69F72441B5279FEFF55466E9B03C66D294F6F6BBFA79A658836F469768AD36A956B56896337DEAB3D41790EBAE7E956D566DDD7FBD602D9AE58C1FDF06AD1AEDAEF8C7DE54EB566C577AC663F9150C113548BB31B9C3FE0384DBE01A841C0CE1061C36A3FFF1E2257B3FB279FE02504B070844B998FE06010000F1010000504B010214001400080808001078BC5844B998FE06010000F10100000300000000000000000000000000000000007A6970504B0506000000000100010031000000370100000000); @@ -187,19 +187,34 @@ INSERT INTO `functional_case_module` (`id`, `project_id`, `name`, `parent_id`, ` INSERT INTO `functional_case_module` (`id`, `project_id`, `name`, `parent_id`, `pos`, `create_time`, `update_time`, `create_user`, `update_user`) VALUES ('996844744925184', '100001100001', '评论', '963928115568640', 192, 1716797224635, 1716797224635, 'admin', 'admin'); INSERT INTO `functional_case_module` (`id`, `project_id`, `name`, `parent_id`, `pos`, `create_time`, `update_time`, `create_user`, `update_user`) VALUES ('996758845579264', '100001100001', '页面', '963928115568640', 128, 1716797219476, 1716797219476, 'admin', 'admin'); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('970662624288768', 100001, '963996835045376', '100001100001', '903609593880578', '正常登录Halo管理系统', 'PASS', '[]', 'STEP', 4096, '903609593880576', '970662624288768', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716795700602, 1716795966600, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('974785792892928', 100002, '963996835045376', '100001100001', '903609593880578', '密码错误登录Halo管理系统失败', 'UN_PASS', '[]', 'STEP', 8192, '903609593880576', '974785792892928', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716795940320, 1716795940320, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('978908961497088', 100003, '963996835045376', '100001100001', '903609593880578', '退出登录', 'UN_REVIEWED', '[]', 'STEP', 12288, '903609593880576', '978908961497088', 'ERROR', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716796180533, 1716796180533, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('988271990202368', 100004, '996638586494976', '100001100001', '903609593880578', '发布文章', 'UN_PASS', '[]', 'STEP', 16384, '903609593880576', '988271990202368', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716796725356, 1716797233000, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('995917031989248', 100005, '996638586494976', '100001100001', '903609593880578', '删除已发布的文章', 'UN_PASS', '[]', 'STEP', 20480, '903609593880576', '995917031989248', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716797170942, 1716797233000, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('649072653148160', 100006, '996638586494976', '100001100001', '903609593880578', '发布草稿', 'RE_REVIEWED', '[]', 'STEP', 24576, '903609593880576', '649072653148160', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716863381359, 1716866344846, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('650996798496768', 100007, '996638586494976', '100001100001', '903609593880578', '删除草稿', 'PASS', '[]', 'STEP', 28672, '903609593880576', '650996798496768', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716863493518, 1716863493518, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('655978960560128', 100008, '996844744925184', '100001100001', '903609593880578', '查看评论', 'PASS', '[]', 'STEP', 32768, '903609593880576', '655978960560128', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716863783941, 1716864199017, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('668829502709760', 100009, '996844744925184', '100001100001', '903609593880578', '发布评论', 'PASS', '[]', 'STEP', 36864, '903609593880576', '668829502709760', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716864531647, 1716865246788, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('674739377709056', 100010, '996844744925184', '100001100001', '903609593880578', '回复评论', 'PASS', '[]', 'STEP', 40960, '903609593880576', '674739377709056', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716864875693, 1716864914534, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('680735152054272', 100011, '996758845579264', '100001100001', '903609593880578', '发布页面', 'PASS', '[]', 'STEP', 45056, '903609593880576', '680735152054272', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716865224972, 1716865224972, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('682968535048192', 100012, '996758845579264', '100001100001', '903609593880578', '删除已发布的页面', 'PASS', '[]', 'STEP', 49152, '903609593880576', '682968535048192', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716865354417, 1716865354417, NULL); -INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('693894931849216', 100013, '996638586494976', '100001100001', '903609593880578', '已有的草稿,发布成功', 'PASS', '[]', 'STEP', 53248, '903609593880576', '693894931849216', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716865990985, 1716865990985, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('970662624288768', 1, '963996835045376', '100001100001', '903609593880578', '正常登录Halo管理系统', 'PASS', '[]', 'STEP', 4096, '100000000000001', '970662624288768', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716795700602, 1716795966600, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('974785792892928', 2, '963996835045376', '100001100001', '903609593880578', '密码错误登录Halo管理系统失败', 'UN_PASS', '[]', 'STEP', 8192, '100000000000001', '974785792892928', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716795940320, 1716795940320, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('978908961497088', 3, '963996835045376', '100001100001', '903609593880578', '退出登录', 'UN_REVIEWED', '[]', 'STEP', 12288, '100000000000001', '978908961497088', 'ERROR', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716796180533, 1716796180533, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('988271990202368', 4, '996638586494976', '100001100001', '903609593880578', '发布文章', 'UN_PASS', '[]', 'STEP', 16384, '100000000000001', '988271990202368', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716796725356, 1716797233000, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('995917031989248', 5, '996638586494976', '100001100001', '903609593880578', '删除已发布的文章', 'UN_PASS', '[]', 'STEP', 20480, '100000000000001', '995917031989248', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716797170942, 1716797233000, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('649072653148160', 6, '996638586494976', '100001100001', '903609593880578', '发布草稿', 'RE_REVIEWED', '[]', 'STEP', 24576, '100000000000001', '649072653148160', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716863381359, 1716866344846, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('650996798496768', 7, '996638586494976', '100001100001', '903609593880578', '删除草稿', 'PASS', '[]', 'STEP', 28672, '100000000000001', '650996798496768', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716863493518, 1716863493518, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('655978960560128', 8, '996844744925184', '100001100001', '903609593880578', '查看评论', 'PASS', '[]', 'STEP', 32768, '100000000000001', '655978960560128', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716863783941, 1716864199017, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('668829502709760', 9, '996844744925184', '100001100001', '903609593880578', '发布评论', 'PASS', '[]', 'STEP', 36864, '100000000000001', '668829502709760', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716864531647, 1716865246788, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('674739377709056', 10, '996844744925184', '100001100001', '903609593880578', '回复评论', 'PASS', '[]', 'STEP', 40960, '100000000000001', '674739377709056', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716864875693, 1716864914534, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('680735152054272', 11, '996758845579264', '100001100001', '903609593880578', '发布页面', 'PASS', '[]', 'STEP', 45056, '100000000000001', '680735152054272', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716865224972, 1716865224972, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('682968535048192', 12, '996758845579264', '100001100001', '903609593880578', '删除已发布的页面', 'PASS', '[]', 'STEP', 49152, '100000000000001', '682968535048192', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716865354417, 1716865354417, NULL); +INSERT INTO `functional_case` (`id`, `num`, `module_id`, `project_id`, `template_id`, `name`, `review_status`, `tags`, `case_edit_type`, `pos`, `version_id`, `ref_id`, `last_execute_result`, `deleted`, `public_case`, `latest`, `create_user`, `update_user`, `delete_user`, `create_time`, `update_time`, `delete_time`) VALUES ('693894931849216', 13, '996638586494976', '100001100001', '903609593880578', '已有的草稿,发布成功', 'PASS', '[]', 'STEP', 53248, '100000000000001', '693894931849216', 'SUCCESS', b'0', b'0', b'1', 'admin', 'admin', NULL, 1716865990985, 1716865990985, NULL); + +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('970662624288768', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('974785792892928', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('978908961497088', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('988271990202368', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('995917031989248', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('649072653148160', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('650996798496768', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('655978960560128', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('668829502709760', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('674739377709056', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('680735152054272', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('682968535048192', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); +INSERT INTO `functional_case_custom_field` (`case_id`, `field_id`, `value`) VALUES ('693894931849216', (SELECT id from custom_field where scope_id = '100001100001' and name ='functional_priority'), 'P0'); + INSERT INTO `functional_case_blob` (`id`, `steps`, `text_description`, `expected_result`, `prerequisite`, `description`) VALUES ('970662624288768', 0x504B0304140008080800C37DBB58000000000000000000000000030000007A69706DCFCD4A03311405E077C97A52929B6432E9CA47702F2E629201C12A742C2EA40B056B1585C19F858AD40A82AB76212232FE3C4D269D95AF605CB488B8BB8B73CEC75DD945EB16B591B2B9710A0013CB32CC8994583BC3B1E62088201A943228419BBD0E6A9304595798D89A7D9CFB838770F1580F5F7C79FAF5766D5D672BE6BAAEE86D6CC704EA270B21D5863883AD201673AB14CE945CC35C3B4A73466C9AC9B940FF087E3A08777B717E79A9287648D75260ADD6FF8E002373601C3B0D3CAEC74B0B267106D2D15452C219CC1D583861FFD51F56E1AAF2EF97F5C9517336F9BD5E0F4B7F3C9A7DDEFC7C3B198772109EAA508D9AF173737B8FFAABDF504B0708A6EB906FFE00000047010000504B01021400140008080800C37DBB58A6EB906FFE000000470100000300000000000000000000000000000000007A6970504B05060000000001000100310000002F0100000000, 0x504B0304140008080800C37DBB58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800C37DBB580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B0304140008080800C37DBB58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800C37DBB580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B0304140008080800C37DBB58000000000000000000000000030000007A6970B32950282EA9CC49B55552B27BB17FF6D3D6A5CFD72D7C3EA1EDF9CCDD4FF74E7DB970EBFB3DB36C12154A128BD2534B6C95E2937212F3B295148A52736C95F2F2F30B52F3528B14F2F28B52D3528B8A528B941432804C5BA58C929282622B7DFD94D4DC7CBD8CC49C7CBDA2D23CFDE4FCBCE2FC9C54253BBCD236FA897636FA057636484E03F101504B07084360532988000000AB000000504B01021400140008080800C37DBB584360532988000000AB0000000300000000000000000000000000000000007A6970504B0506000000000100010031000000B90000000000, 0x504B0304140008080800C37DBB58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800C37DBB580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000); INSERT INTO `functional_case_blob` (`id`, `steps`, `text_description`, `expected_result`, `prerequisite`, `description`) VALUES ('974785792892928', 0x504B0304140008080800B47DBB58000000000000000000000000030000007A69706D8FC14A03311086DF25E71D4826D9CD665F453CC4240B8255B0F6547A50502B2816AD42F5E2A1054F2E8220DAEADB64B33DF5150C942E22DE86E1FFBF6F66AB4F762D2988B2A5710A11A8E539082A256867046881294DA946A50C49C87EAF430A9A10EBBA26B69AEF5B7F3A0BE3E77AF8EE4757ABC583759D83983B74DDDEDE514C9041D21A326DA83360536A4158A52057720784768C959CDA2C971B03FB63F0D559783A8E7886FC7F7A8A4696C805388D2232E3A4532E2147E9582619151C37746CE9E1E4C39FCFC364EEBFEEEACB8BE5CDCB6FFA7AEFA7AFCDDB6CB578ACAF4761FA59B4DFD6C3FBF55DCBF1A4A92A32D8FE01504B0708196E12E9F50000004D010000504B01021400140008080800B47DBB58196E12E9F50000004D0100000300000000000000000000000000000000007A6970504B0506000000000100010031000000260100000000, 0x504B0304140008080800B47DBB58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800B47DBB580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B0304140008080800B47DBB58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800B47DBB580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B0304140008080800B47DBB58000000000000000000000000030000007A6970B32950282EA9CC49B55552B27BB17FF6D3D6A5CFD72D7C3EA1EDF9CCDD4FF74E7DB970EBFB3DB36C12154A128BD2534B6C95E2937212F3B295148A52736C95F2F2F30B52F3528B14F2F28B52D3528B8A528B941432804C5BA58C929282622B7DFD94D4DC7CBD8CC49C7CBDA2D23CFDE4FCBCE2FC9C54253BBCD236FA897636FA057636484E03F101504B07084360532988000000AB000000504B01021400140008080800B47DBB584360532988000000AB0000000300000000000000000000000000000000007A6970504B0506000000000100010031000000B90000000000, 0x504B0304140008080800B47DBB58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800B47DBB580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000); @@ -215,7 +230,7 @@ INSERT INTO `functional_case_blob` (`id`, `steps`, `text_description`, `expected INSERT INTO `functional_case_blob` (`id`, `steps`, `text_description`, `expected_result`, `prerequisite`, `description`) VALUES ('682968535048192', 0x504B03041400080808005158BC58000000000000000000000000030000007A69708592DB4ED44018C75F85F47A87CCB1D3E1097807F562DA4E1313C444E4CA90E0018A06A378584E01E9BAA841AD44A2EE897D19773ADD2B5EC1D974DB254BC0BBC937DF7CBF7F7EF3DD7AE4DC0D9D3947709F6011201084C20514310204E41170910819A6D80B18746ACEE2F23D670ED69C502D05F69579D2D6717798FC1A1E34ECED03B5B4BCF0D0D6B39DBE69768ABADED8CE932FCE4A6D4C929042C1430E94621C50E90920A9AB0023512815F314E56149425324FDEA6CD07A917F7E3393D54F75B7731DD3F4EA797FCB9E27584AC28879980181A002D4C708482C3DC090529C4B887D484B2CAEB079FFAD5E3BCE8EE26163E7EFEAE3ECFBC7AC1EEBF5359DB62F7A9B65A82DDD7A7A398AEED9FA384A9EF6CD796A2BE6647B9286BB2AC0306080C0511AE50540221982880812B91C461EAD74932A4D31C5E20BF0CC55329A3569625EAF9BB3AEE97E28D48F54350E07ADD5EC2029339DEAF3F717BDFDDB8B78765E2EDC1F7EAADB9BAAD1FC888B46DB32C90C0981C2C73EC044226B904320155780472E91618408F3ABCC74FAE3368E86BBCDAB8E8AFAA0B3997D4B4C92E66973DA14218A612E905D17CE00250C034F4A0282C06E25C7840B97945476AD293B5BA77BFF333568BD2CB648FFF95924337BCF2A132359797C62E70CDACFC7BBBD7F98BDFB6DBEEE5AD28D9AC925CD37539C953BFF00504B07086CE1D79AF601000094030000504B010214001400080808005158BC586CE1D79AF6010000940300000300000000000000000000000000000000007A6970504B0506000000000100010031000000270200000000, 0x504B03041400080808005158BC58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B010214001400080808005158BC580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B03041400080808005158BC58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B010214001400080808005158BC580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B03041400080808005158BC58000000000000000000000000030000007A6970B32950282EA9CC49B55552B27BB17FF6D3D6A5CFD72D7C3EA1EDF9CCDD4FF74E7DB970EBFB3DB36C12154A128BD2534B6C95E2937212F3B295148A52736C95F2F2F30B52F3528B14F2F28B52D3528B8A528B941432804C5BA58C929282622B7DFD94D4DC7CBD8CC49C7CBDA2D23CFDE4FCBCE2FC9C54253BBCD236FA897636FA057600504B07084EC99ECC830000009B000000504B010214001400080808005158BC584EC99ECC830000009B0000000300000000000000000000000000000000007A6970504B0506000000000100010031000000B40000000000, 0x504B03041400080808005158BC58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B010214001400080808005158BC580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000); INSERT INTO `functional_case_blob` (`id`, `steps`, `text_description`, `expected_result`, `prerequisite`, `description`) VALUES ('693894931849216', 0x504B0304140008080800A559BC58000000000000000000000000030000007A69709593DD4E143118866F85CCF17EA4BFD3962BF01ED483CE4C2731414C448E0CC9A0C22AD12812978DEE2A8BBFC1B01289BAFFDE0B6EA7B347DC8283B37F4139F0F46DDAE7EDD3AF57EF7A37226FC95322A0448518C248F9C030A7A09088C1C72AE284111972E495BC95B59BDE122A7991590DF35DEE5EDB96BB69A5EC3EEFE7ABB7CDEADAF29D3C4FAB03F7AE53E4F6E15ED6F8E4AD97C6248D18522212600C17C0B454A0996F80D338D2864BC3443421E10B24FBF464D8DACE3E3E5F482BC7B6DBB98CE97A956CB0336A7C9B61198D622E090785910116100C9A68091C1B23844624406C8225536C36D8B59BEF8B43D3FDF2E8A0FA2BD9488FDEE689DDDAB4CDF659EFF1A4DA8E6DDD9F2F647B793E2E943507AEDFCC1377B837EB247C13121472A0E8BC93912168AC2388A9A2B12F502CD9543A9D762A4EC9F1057861F8B36E8FAAF364D76CB8675BEEA4EBBA6F0AFDE7BA0E5E0F5B495A6F4C1A1DDBFE8BB3DE2BB7FD3D4D3686ADCE69524B6B87C53D4E93FAACA68F0D0B30D3A0238373753286C010013A2606692590915375ECE26CEC3E19F66B50DC7F943C1A35DAFFE728A494723F6020A521C042E183163C86902922FD00C798E0099C5FEAE8EFD7C18BFFB2F467785E3E9877627F7C9D3AB9B64216AFE8E55BA30F957CB80AA9EE4BB958CFF78D7FC2FAF5DF504B07081241ECF7EA01000057030000504B01021400140008080800A559BC581241ECF7EA010000570300000300000000000000000000000000000000007A6970504B05060000000001000100310000001B0200000000, 0x504B0304140008080800A559BC58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800A559BC580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B0304140008080800A559BC58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800A559BC580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000, 0x504B0304140008080800A559BC58000000000000000000000000030000007A6970B32950282EA9CC49B55552B27BB17FF6D3D6A5CFD72D7C3EA1EDF9CCDD4FF74E7DB970EBFB3DB36C12154A128BD2534B6C95E2937212F3B295148A52736C95F2F2F30B52F3528B14F2F28B52D3528B8A528B941432804C5BA58C929282622B7DFD94D4DC7CBD8CC49C7CBDA2D23CFDE4FCBCE2FC9C54253BBCD236FA897636FA057600504B07084EC99ECC830000009B000000504B01021400140008080800A559BC584EC99ECC830000009B0000000300000000000000000000000000000000007A6970504B0506000000000100010031000000B40000000000, 0x504B0304140008080800A559BC58000000000000000000000000030000007A69700300504B0708000000000200000000000000504B01021400140008080800A559BC580000000002000000000000000300000000000000000000000000000000007A6970504B0506000000000100010031000000330000000000); -INSERT INTO `case_review` (`id`, `num`, `name`, `module_id`, `project_id`, `status`, `review_pass_rule`, `pos`, `start_time`, `end_time`, `case_count`, `pass_rate`, `tags`, `description`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES ('999009408442368', 100001, 'v1.0版本用例评审', 'root', '100001100001', 'UNDERWAY', 'SINGLE', 5000, NULL, NULL, 13, 62.00, NULL, '', 1716797350282, 'admin', 1716797350282, 'admin'); +INSERT INTO `case_review` (`id`, `num`, `name`, `module_id`, `project_id`, `status`, `review_pass_rule`, `pos`, `start_time`, `end_time`, `case_count`, `pass_rate`, `tags`, `description`, `create_time`, `create_user`, `update_time`, `update_user`) VALUES ('999009408442368', 1, 'v1.0版本用例评审', 'root', '100001100001', 'UNDERWAY', 'SINGLE', 5000, NULL, NULL, 13, 62.00, NULL, '', 1716797350282, 'admin', 1716797350282, 'admin'); INSERT INTO `case_review_functional_case` (`id`, `review_id`, `case_id`, `status`, `create_time`, `create_user`, `update_time`, `pos`) VALUES ('698327338098695', '999009408442368', '649072653148160', 'RE_REVIEWED', 1716866248627, 'admin', 1716866344856, 20000); INSERT INTO `case_review_functional_case` (`id`, `review_id`, `case_id`, `status`, `create_time`, `create_user`, `update_time`, `pos`) VALUES ('698327338098694', '999009408442368', '650996798496768', 'PASS', 1716866248627, 'admin', 1716866248627, 20000); INSERT INTO `case_review_functional_case` (`id`, `review_id`, `case_id`, `status`, `create_time`, `create_user`, `update_time`, `pos`) VALUES ('698327338098693', '999009408442368', '655978960560128', 'PASS', 1716866248626, 'admin', 1716866248626, 20000); @@ -234,7 +249,7 @@ INSERT INTO `case_review_user` (`review_id`, `user_id`) VALUES ('999009408442368 -- test plan -INSERT INTO `test_plan` (`id`, `num`, `project_id`, `group_id`, `module_id`, `name`, `status`, `type`, `tags`, `create_time`, `create_user`, `update_time`, `update_user`, `planned_start_time`, `planned_end_time`, `actual_start_time`, `actual_end_time`, `description`) VALUES ('1001139712221184', 100001, '100001100001', 'NONE', 'root', 'v1.0版本发布计划', 'COMPLETED', 'TEST_PLAN', '[]', 1716797474976, 'admin', 1716797474976, 'admin', NULL, NULL, NULL, NULL, ''); +INSERT INTO `test_plan` (`id`, `num`, `project_id`, `group_id`, `module_id`, `name`, `status`, `type`, `tags`, `create_time`, `create_user`, `update_time`, `update_user`, `planned_start_time`, `planned_end_time`, `actual_start_time`, `actual_end_time`, `description`) VALUES ('1001139712221184', 1, '100001100001', 'NONE', 'root', 'v1.0版本发布计划', 'COMPLETED', 'TEST_PLAN', '[]', 1716797474976, 'admin', 1716797474976, 'admin', NULL, NULL, NULL, NULL, ''); INSERT INTO `test_plan_functional_case` (`id`, `test_plan_id`, `functional_case_id`, `create_time`, `create_user`, `execute_user`, `last_exec_time`, `last_exec_result`, `pos`) VALUES ('1001139712221185', '1001139712221184', '970662624288768', 1716797474979, 'admin', 'admin', 1716866691313, 'SUCCESS', 4096); INSERT INTO `test_plan_functional_case` (`id`, `test_plan_id`, `functional_case_id`, `create_time`, `create_user`, `execute_user`, `last_exec_time`, `last_exec_result`, `pos`) VALUES ('1001139712221186', '1001139712221184', '974785792892928', 1716797474979, 'admin', 'admin', 1716866690101, 'SUCCESS', 8192); INSERT INTO `test_plan_functional_case` (`id`, `test_plan_id`, `functional_case_id`, `create_time`, `create_user`, `execute_user`, `last_exec_time`, `last_exec_result`, `pos`) VALUES ('1001139712221187', '1001139712221184', '978908961497088', 1716797474979, 'admin', 'admin', 1716797543596, 'ERROR', 12288);