Browse Source

[BUG]Delete Setting ID (#12096)

* Delete Setting ID

* modify id

Co-authored-by: jackfanwan <fanwanlong@kezaihui.com>
3.1.0-release
jackfanwan 2 years ago committed by caishunfeng
parent
commit
1e59250055
  1. 2
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java

2
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java

@ -1303,7 +1303,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 {

Loading…
Cancel
Save