diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.java b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.java index 4ba95979b7..bfda750468 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.java +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.java @@ -10,6 +10,8 @@ import java.util.List; public interface ExtCustomFieldTemplateMapper { List getCustomFieldIds(@Param("templateId") String templateId); + List getCustomFields(@Param("templateId") String templateId); + List list(@Param("request") CustomFieldTemplate request); List lisSimple(@Param("request") CustomFieldTemplate request); diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.xml index 7d36db607a..31a637fb71 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtCustomFieldTemplateMapper.xml @@ -7,6 +7,13 @@ from custom_field_template where custom_field_template.template_id = #{templateId} + + +