diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/dto/scenario/ApiScenarioDetail.java b/backend/services/api-test/src/main/java/io/metersphere/api/dto/scenario/ApiScenarioDetail.java index 0f3201c684..3dc34805c7 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/dto/scenario/ApiScenarioDetail.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/dto/scenario/ApiScenarioDetail.java @@ -10,6 +10,8 @@ import java.util.List; @Data @EqualsAndHashCode(callSuper = false) public class ApiScenarioDetail extends ApiScenario { + @Schema(description = "模块路径") + private String modulePath; @Schema(description = "场景的通用配置") private ScenarioConfig scenarioConfig = new ScenarioConfig(); @Schema(description = "步骤") diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.java b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.java index 40007825e2..93d86a7693 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.java @@ -127,4 +127,6 @@ public interface ExtApiTestCaseMapper { void clearApiChange(@Param("ids") List ids); List selectAllDetailByApiIds(@Param("apiIds") List apiIds); + + List selectAllDetailByIds(@Param("ids") List apiIds); } \ No newline at end of file diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml index 9b17fbd557..20698c3379 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml +++ b/backend/services/api-test/src/main/java/io/metersphere/api/mapper/ExtApiTestCaseMapper.xml @@ -980,6 +980,17 @@ #{id} + + +