Browse Source

建设方案申报 debug

tags/24080901
PoffyZhang 1 year ago
parent
commit
1eb8cc7183
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ConstructionPlanManage.java

+ 0
- 6
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/ConstructionPlanManage.java View File

@@ -141,12 +141,6 @@ public class ConstructionPlanManage {
projectInfo.setSuperOrg(user.getEmpPosUnitName()); projectInfo.setSuperOrg(user.getEmpPosUnitName());
} }


//如果是撤回重新提交的话 判断下 项目是否存在
if(Objects.nonNull(projectInfo.getId())){
//新申报的项目不允许带项目id
projectInfo.setId(null);
}

Project constructProject = new Project(); Project constructProject = new Project();
BeanUtils.copyProperties(projectInfo,constructProject); BeanUtils.copyProperties(projectInfo,constructProject);
constructProject.setStatus(oldProject.getStatus()); constructProject.setStatus(oldProject.getStatus());


Loading…
Cancel
Save