```java private void sendLaunches(@NonNull Long launchId) { val launchNotifications = launchNotificationGateway.findAllByLaunchId(launchId); val host = frontBaseUrlArgumentGateway.pc(); launchNotifications.forEach(notification -> { // db가 달라서 따로 가져옴 if (notification.memberNo() != null) { val member = memberPort.findMember( Condition.builder().memberNo(notification.memberNo()).build()); pushMessageNotifier.notify( createLaunchMessage(notification.launchesId(), notification.memberNo(), notification.getPhoneNumberWithoutHypen(), member.getName(), host) ); } else { pushMessageNotifier.notify( createLaunchMessage(notification.launchesId(), "NMBR", notification.getPhoneNumberWithoutHypen(), StringUtils.EMPTY, host) ); } launchNotificationGateway.changeToComplete(notification.id()); }); } ``` ```java private void sendLaunches(@NonNull Long launchId) { launchNotificationGateway.findAllByLaunchId(launchId) .stream() .forEach(this::processLaunchNotification); } private void processLaunchNotification(@NonNull LaunchNotification notification) { if (notification.memberNo() != null) { val member = memberPort.findMember( Condition.builder().memberNo(notification.memberNo()).build()); getNotify(notification, notification.memberNo(), member.getName()); } else { getNotify(notification, "NMBR", StringUtils.EMPTY); } launchNotificationGateway.changeToComplete(notification.id()); } private void getNotify(@NonNull LaunchNotification notification, @NonNull String memberNo, @NonNull String memberName) { pushMessageNotifier.notify(createLaunchMessage( notification.launchesId(), memberNo, notification.getPhoneNumberWithoutHypen(), memberName, frontBaseUrlArgumentGateway.pc())); } ```