diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/config/FunctionalCaseManageInterceptor.java b/backend/services/case-management/src/main/java/io/metersphere/functional/config/FunctionalCaseManageInterceptor.java index dfb8e23f29..db7e575040 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/config/FunctionalCaseManageInterceptor.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/config/FunctionalCaseManageInterceptor.java @@ -16,6 +16,7 @@ public class FunctionalCaseManageInterceptor { List configList = new ArrayList<>(); configList.add(new MybatisInterceptorConfig(FunctionalCaseMindDTO.class, "steps", CompressUtils.class, "zip", "unzip")); + configList.add(new MybatisInterceptorConfig(FunctionalCaseMindDTO.class, "executeSteps", CompressUtils.class, "zip", "unzip")); configList.add(new MybatisInterceptorConfig(FunctionalCaseMindDTO.class, "textDescription", CompressUtils.class, "zip", "unzip")); configList.add(new MybatisInterceptorConfig(FunctionalCaseMindDTO.class, "expectedResult", CompressUtils.class, "zip", "unzip")); configList.add(new MybatisInterceptorConfig(FunctionalCaseMindDTO.class, "prerequisite", CompressUtils.class, "zip", "unzip")); diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseMindDTO.java b/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseMindDTO.java index c55c1c7b8f..ff415130ef 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseMindDTO.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseMindDTO.java @@ -63,6 +63,9 @@ public class FunctionalCaseMindDTO { @Schema(description = "用例步骤(JSON),step_model 为 Step 时启用") private byte[] steps; + @Schema(description = "执行用例步骤(JSON),step_model 为 Step 时启用") + private byte[] executeSteps; + @Schema(description = "步骤描述,step_model 为 Text 时启用") private byte[] textDescription; diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml index 9e4ed03927..dfabedc457 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml @@ -875,18 +875,22 @@