From 6e03a7e5576de795ae1cb66a7ba0fdb40979c95b Mon Sep 17 00:00:00 2001 From: jackfanwan <61672564+jackfanwan@users.noreply.github.com> Date: Thu, 22 Sep 2022 12:12:43 +0800 Subject: [PATCH] [BUG]Delete Setting ID (#12096) * Delete Setting ID * modify id Co-authored-by: jackfanwan --- .../api/service/impl/ProcessDefinitionServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java index c3569a5e00..68bb2ee7a8 100644 --- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java +++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java @@ -1346,7 +1346,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro return false; } processDefinition.setName(importProcessDefinitionName); - processDefinition.setId(0); + processDefinition.setId(null); processDefinition.setProjectCode(projectCode); processDefinition.setUserId(loginUser.getId()); try {