diff --git a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java index 736a653dd2..ebb28f970e 100644 --- a/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java +++ b/backend/src/main/java/io/metersphere/api/service/ApiDefinitionService.java @@ -377,7 +377,6 @@ public class ApiDefinitionService { if (item.getName().length() > 255) { item.setName(item.getName().substring(0, 255)); } - item.setModuleId(request.getModuleId()); createTest(item, batchMapper); if (i % 300 == 0) { sqlSession.flushStatements();