Browse Source

Merge branch 'ls2_performance_appraisal_0801' of http://git.ningdatech.com/liushuai/project-management into dev

tags/24080901
CMM 1 year ago
parent
commit
b14be33d15
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/performance/convert/PerformanceAppraisalConveter.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/performance/convert/PerformanceAppraisalConveter.java View File

@@ -60,7 +60,7 @@ public class PerformanceAppraisalConveter {
if(map.containsKey(a.getApplicationId())){ if(map.containsKey(a.getApplicationId())){
ProjectApplication application = map.get(a.getApplicationId()); ProjectApplication application = map.get(a.getApplicationId());
vo.setApplicationName(StringUtils.isNotBlank(application.getApplicationName())? vo.setApplicationName(StringUtils.isNotBlank(application.getApplicationName())?
application.getApplicationName() : application.getAccountAppName());
application.getApplicationName() : application.getRelatedExistsApplication());
vo.setApplicationType(application.getApplicationType()); vo.setApplicationType(application.getApplicationType());
vo.setBizDomain(application.getBizDomain()); vo.setBizDomain(application.getBizDomain());
vo.setBuildOrgName(application.getBuildOrgName()); vo.setBuildOrgName(application.getBuildOrgName());


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java View File

@@ -432,7 +432,7 @@ public class PerformanceAppraisalPlanManage {


Map<Long, ProjectApplication> applicationMap = applicationService.list(Wrappers.lambdaQuery(ProjectApplication.class).in(ProjectApplication::getId, applicationIds)).stream() Map<Long, ProjectApplication> applicationMap = applicationService.list(Wrappers.lambdaQuery(ProjectApplication.class).in(ProjectApplication::getId, applicationIds)).stream()
.collect(Collectors.toMap(ProjectApplication::getId, a -> a)); .collect(Collectors.toMap(ProjectApplication::getId, a -> a));
for(Long applicationId : applicationIds){
for(Long applicationId : applicationIdList){
PerformanceAppraisalApplication paa = new PerformanceAppraisalApplication(); PerformanceAppraisalApplication paa = new PerformanceAppraisalApplication();
paa.setAppraisalId(id); paa.setAppraisalId(id);
paa.setApplicationId(applicationId); paa.setApplicationId(applicationId);


Loading…
Cancel
Save