|
|
@ -97,8 +97,7 @@ public class ProjectServiceImpl extends BaseServiceImpl implements ProjectServic |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
|
|
|
|
|
|
|
|
if (projectMapper.insert(project) > 0) { |
|
|
|
if (projectMapper.insert(project) > 0) { |
|
|
|
Project insertedProject = projectMapper.queryByName(name); |
|
|
|
result.put(Constants.DATA_LIST, project); |
|
|
|
result.put(Constants.DATA_LIST, insertedProject); |
|
|
|
|
|
|
|
putMsg(result, Status.SUCCESS); |
|
|
|
putMsg(result, Status.SUCCESS); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
putMsg(result, Status.CREATE_PROJECT_ERROR); |
|
|
|
putMsg(result, Status.CREATE_PROJECT_ERROR); |
|
|
|