diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtFileContentMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtFileContentMapper.java new file mode 100644 index 0000000000..badbe41a23 --- /dev/null +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtFileContentMapper.java @@ -0,0 +1,15 @@ +package io.metersphere.base.mapper.ext; + +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Select; + +import java.io.InputStream; + +public interface ExtFileContentMapper { + @Select(value = { + "SELECT file ", + "FROM file_content ", + "WHERE file_id = #{id, jdbcType=VARCHAR}" + }) + InputStream selectZipBytes(@Param("id") String id); +} diff --git a/backend/src/main/resources/db/migration/V73__modify_test_plan_api_scenario_id.sql b/backend/src/main/resources/db/migration/V73__modify_test_plan_api_scenario_id.sql new file mode 100644 index 0000000000..c4926b6d4d --- /dev/null +++ b/backend/src/main/resources/db/migration/V73__modify_test_plan_api_scenario_id.sql @@ -0,0 +1,3 @@ +ALTER TABLE api_scenario MODIFY COLUMN id VARCHAR (255); +ALTER TABLE test_plan_api_scenario MODIFY COLUMN api_scenario_id VARCHAR (255); +ALTER TABLE api_scenario_report MODIFY COLUMN scenario_id VARCHAR (255); diff --git a/frontend/src/business/components/api/automation/scenario/common/CustomizeReqInfo.vue b/frontend/src/business/components/api/automation/scenario/common/CustomizeReqInfo.vue new file mode 100644 index 0000000000..d81101e5db --- /dev/null +++ b/frontend/src/business/components/api/automation/scenario/common/CustomizeReqInfo.vue @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/business/components/api/definition/components/basis/BatchMove.vue b/frontend/src/business/components/api/definition/components/basis/BatchMove.vue new file mode 100644 index 0000000000..aca3374bf1 --- /dev/null +++ b/frontend/src/business/components/api/definition/components/basis/BatchMove.vue @@ -0,0 +1,127 @@ + + + + + + + + + + + + {{node.label}} + + + + + + + + + + + + + + diff --git a/frontend/src/business/components/xpack b/frontend/src/business/components/xpack index 53bd821bee..a3d469fd18 160000 --- a/frontend/src/business/components/xpack +++ b/frontend/src/business/components/xpack @@ -1 +1 @@ -Subproject commit 53bd821bee65be3374f1ccc9a299cef9ac44b985 +Subproject commit a3d469fd18f663d11e5c1c49f71ced6e3e4b292f