Browse Source

[1.3.6-prepare][Improvement][API] create project success return project id #4927 (#4932)

Kirs 4 years ago committed by GitHub
parent
commit
c1e941ef64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProjectService.java

1
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProjectService.java

@ -88,6 +88,7 @@ public class ProjectService extends BaseService{
project.setUpdateTime(now);
if (projectMapper.insert(project) > 0) {
result.put(Constants.DATA_LIST, project.getId());
putMsg(result, Status.SUCCESS);
} else {
putMsg(result, Status.CREATE_PROJECT_ERROR);

Loading…
Cancel
Save