diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseCustomFieldDTO.java b/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseCustomFieldDTO.java index 1febc79d96..ef83a5b662 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseCustomFieldDTO.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/dto/FunctionalCaseCustomFieldDTO.java @@ -38,4 +38,7 @@ public class FunctionalCaseCustomFieldDTO implements Serializable { @Schema(title = "字段类型") private String type; + @Schema(title = "字段key名") + private String internalFieldKey; + } diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/excel/listener/FunctionalCaseImportEventListener.java b/backend/services/case-management/src/main/java/io/metersphere/functional/excel/listener/FunctionalCaseImportEventListener.java index 6db149a349..b09d2456ff 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/excel/listener/FunctionalCaseImportEventListener.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/excel/listener/FunctionalCaseImportEventListener.java @@ -414,6 +414,10 @@ public class FunctionalCaseImportEventListener extends AnalysisEventListener tags = functionalCaseService.handleImportTags(data.getTags()); if (tags.size() > TAGS_COUNT) { errMsg.append(Translator.get("tags_count")) @@ -425,7 +429,6 @@ public class FunctionalCaseImportEventListener extends AnalysisEventListener