소스 검색

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

master
CMM 1 년 전
부모
커밋
568e08a23c
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. +5
    -4
      pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java

+ 5
- 4
pmapi/src/main/java/com/ningdatech/pmapi/performance/manage/PerformanceAppraisalPlanManage.java 파일 보기

@@ -449,7 +449,8 @@ public class PerformanceAppraisalPlanManage {
throw new BizException(names + CommonConst.APP_REPEAT);
}

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, applicationIdList)).stream()
.collect(Collectors.toMap(ProjectApplication::getId, a -> a));
for(Long applicationId : applicationIdList){
PerformanceAppraisalApplication paa = new PerformanceAppraisalApplication();
@@ -532,10 +533,10 @@ public class PerformanceAppraisalPlanManage {
.eq(PerformanceAppraisalAppScoreInfo::getAppraisalId,editDTO.getId())
.in(PerformanceAppraisalAppScoreInfo::getApplicationId,applicationIdList));

List<Long> applicationIds = editDTO.getApplicationIds();
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, applicationIdList)).stream()
.collect(Collectors.toMap(ProjectApplication::getId, a -> a));
for(Long applicationId : applicationIds){
for(Long applicationId : applicationIdList){
PerformanceAppraisalApplication paa = new PerformanceAppraisalApplication();
paa.setAppraisalId(editDTO.getId());
paa.setApplicationId(applicationId);


불러오는 중...
취소
저장