|
|
@@ -137,12 +137,14 @@ public class MeetingManage { |
|
|
|
meeting.setInviteType(inviteRule.getInviteType()); |
|
|
|
meetingService.save(meeting); |
|
|
|
if (meetingBasic.getIsInnerProject()) { |
|
|
|
List<MeetingInnerProject> projects = meetingBasic.getProjectIdList().stream().map(w -> { |
|
|
|
MeetingInnerProject project = new MeetingInnerProject(); |
|
|
|
project.setMeetingId(meeting.getId()); |
|
|
|
project.setProjectId(w); |
|
|
|
return project; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
List<MeetingInnerProject> projects = meetingBasic.getInnerProjects() |
|
|
|
.stream().map(w -> { |
|
|
|
MeetingInnerProject project = new MeetingInnerProject(); |
|
|
|
project.setMeetingId(meeting.getId()); |
|
|
|
project.setProjectId(w.getProjectId()); |
|
|
|
project.setProjectCode(w.getProjectCode()); |
|
|
|
return project; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
meetingInnerProjectService.saveBatch(projects); |
|
|
|
} else { |
|
|
|
List<MeetingOuterProject> projects = meetingBasic.getProjects().stream().map(w -> { |
|
|
@@ -450,6 +452,7 @@ public class MeetingManage { |
|
|
|
mrp.setProjectType(w.getProjectType().toString()); |
|
|
|
mrp.setProjectYear(w.getProjectYear()); |
|
|
|
mrp.setDeclareAmount(w.getDeclareAmount()); |
|
|
|
mrp.setProjectCode(w.getProjectCode()); |
|
|
|
ExpertReview review = reviewMap.get(w.getId()); |
|
|
|
if (review != null) { |
|
|
|
mrp.setReviewResult(ReviewResultEnum.getByCode(review.getReviewResult()).getValue()); |
|
|
|