[BUG]Delete Setting ID (#12096)

* Delete Setting ID

* modify id

Co-authored-by: jackfanwan <fanwanlong@kezaihui.com>
This commit is contained in:
jackfanwan 2022-09-22 12:12:43 +08:00 committed by GitHub
parent cc492c3e13
commit 6e03a7e557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {