|
|
@@ -451,7 +451,7 @@ public class ProjectLibManage { |
|
|
|
return project; |
|
|
|
} |
|
|
|
|
|
|
|
public Project saveProjectWithVersionAndStatus(ProjectDTO projecDto,Integer stageCode,Integer statusCode){ |
|
|
|
public Project saveProjectWithVersionAndStatus(ProjectDTO projecDto,Integer stageCode,Integer statusCode,Boolean isConstruct){ |
|
|
|
Project oldProject = projectService.getById(projecDto.getId()); |
|
|
|
Project project = new Project(); |
|
|
|
VUtils.isTrue(Objects.isNull(oldProject)) |
|
|
@@ -496,7 +496,7 @@ public class ProjectLibManage { |
|
|
|
app.setProjectId(project.getId()); |
|
|
|
app.setBuildOrgName(project.getBuildOrgName()); |
|
|
|
app.setBuildOrgCode(project.getBuildOrgCode()); |
|
|
|
app.setIsConstruct(Boolean.TRUE); |
|
|
|
app.setIsConstruct(isConstruct); |
|
|
|
return app; |
|
|
|
}) |
|
|
|
.collect(Collectors.toList()); |
|
|
|