|
|
@@ -42,6 +42,7 @@ import com.ningdatech.pmapi.projectlib.model.vo.AnnualPlanListItemVO; |
|
|
|
import com.ningdatech.pmapi.projectlib.service.IProjectApplicationService; |
|
|
|
import com.ningdatech.pmapi.projectlib.service.IProjectRenewalFundDeclarationService; |
|
|
|
import com.ningdatech.pmapi.projectlib.service.IProjectService; |
|
|
|
import com.ningdatech.pmapi.todocenter.constant.TodoCenterConstant; |
|
|
|
import com.ningdatech.pmapi.user.security.auth.model.UserFullInfoDTO; |
|
|
|
import com.ningdatech.pmapi.user.util.LoginUserUtil; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
@@ -165,6 +166,7 @@ public class AnnualPlanLibManage { |
|
|
|
// 项目编号不变,版本号加1 |
|
|
|
project.setProjectCode(oldProject.getProjectCode()); |
|
|
|
project.setVersion(oldProject.getVersion() + 1); |
|
|
|
project.setInstCode(TodoCenterConstant.Declared.NULL_INST_CODE); |
|
|
|
if(projectService.save(project)){ |
|
|
|
applicationService.saveApplication(project,oldProject,Boolean.TRUE); |
|
|
|
// 将旧的项目版本置为不是最新 |
|
|
|