|
@@ -137,14 +137,11 @@ public class MeetingManage { |
|
|
meeting.setInviteType(inviteRule.getInviteType()); |
|
|
meeting.setInviteType(inviteRule.getInviteType()); |
|
|
meetingService.save(meeting); |
|
|
meetingService.save(meeting); |
|
|
if (meetingBasic.getIsInnerProject()) { |
|
|
if (meetingBasic.getIsInnerProject()) { |
|
|
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()); |
|
|
|
|
|
|
|
|
List<MeetingInnerProject> projects = meetingBasic.getInnerProjects().stream().map(w -> { |
|
|
|
|
|
MeetingInnerProject project = BeanUtil.copyProperties(w, MeetingInnerProject.class); |
|
|
|
|
|
project.setMeetingId(meeting.getId()); |
|
|
|
|
|
return project; |
|
|
|
|
|
}).collect(Collectors.toList()); |
|
|
meetingInnerProjectService.saveBatch(projects); |
|
|
meetingInnerProjectService.saveBatch(projects); |
|
|
} else { |
|
|
} else { |
|
|
List<MeetingOuterProject> projects = meetingBasic.getProjects().stream().map(w -> { |
|
|
List<MeetingOuterProject> projects = meetingBasic.getProjects().stream().map(w -> { |
|
|