Ver código fonte

Merge remote-tracking branch 'origin/master'

tags/24080901
PoffyZhang 1 ano atrás
pai
commit
d0a4b9c527
1 arquivos alterados com 1 adições e 17 exclusões
  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 Ver arquivo

@@ -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());


Carregando…
Cancelar
Salvar