diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/ScriptProcessorConverter.java b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/ScriptProcessorConverter.java index 293da3e862..ab3a236e6a 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/ScriptProcessorConverter.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/processor/ScriptProcessorConverter.java @@ -57,6 +57,10 @@ public abstract class ScriptProcessorConverter extends MsProcessorConverter { List commonParams = JSON.parseArray(new String(paramsBlob), KeyValueParam.class); diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/dto/CommonScriptInfo.java b/backend/services/project-management/src/main/java/io/metersphere/project/dto/CommonScriptInfo.java index 68166e0ff1..376f9a5f68 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/dto/CommonScriptInfo.java +++ b/backend/services/project-management/src/main/java/io/metersphere/project/dto/CommonScriptInfo.java @@ -18,6 +18,10 @@ public class CommonScriptInfo { */ @Size(min = 1, max = 50) private String id; + /** + * 脚本是否删除 + */ + private Boolean deleted = false; /** * 公共脚本的名字 * 页面展示需要