瀏覽代碼

Merge remote-tracking branch 'origin/master'

tags/24080901
PoffyZhang 1 年之前
父節點
當前提交
d0a4b9c527
共有 1 個檔案被更改,包括 1 行新增17 行删除
  1. +1
    -17
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/AnnualPlanLibManage.java

+ 1
- 17
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/AnnualPlanLibManage.java 查看文件

@@ -315,23 +315,7 @@ public class AnnualPlanLibManage {
BeanUtils.copyProperties(projectInfo,project);
}else {
// 新增的年度计划库项目
log.info("项目库中不存在项目ID为:" + projectId + "的项目");
Long userId = LoginUserUtil.getUserId();
UserFullInfoDTO userFullInfo = userInfoHelper.getUserFullInfo(userId);

String regionCode = userFullInfo.getRegionCode();
Integer regionLevel = userFullInfo.getRegionLevel();
String regionName = regionCacheHelper.getRegionName(regionCode, regionLevel);
project.setAreaCode(regionCode);
project.setArea(regionName);
project.setStage(ProjectStatusEnum.NOT_APPROVED.getCode());
project.setStatus(ProjectStatusEnum.IN_THE_ANNUAL_PLAN.getCode());
project.setSponsor(userFullInfo.getEmployeeCode());
project.setBuildOrgName(userFullInfo.getEmpPosUnitName());
project.setResponsibleMan(userFullInfo.getRealName());
project.setResponsibleManMobile(userFullInfo.getMobile());
project.setContactName(userFullInfo.getRealName());
project.setContactPhone(userFullInfo.getMobile());
throw new BizException("项目库中不存在项目ID为:" + projectId + "的项目");
}
project.setId(data.getProjectId());
project.setProjectName(data.getProjectName());


Loading…
取消
儲存