Skip to content

Commit

Permalink
Feat: 아카이빙을 작성하지 않는 사용자 목록 조회 로직 구현
Browse files Browse the repository at this point in the history
[#47]
  • Loading branch information
MuseopKim committed Jun 28, 2021
1 parent 101d09e commit bd82c1e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,10 @@ public void addRemindersCampaign() {
}
}
}

public List<ContactSummary> findAllNotArchivedContacts() {
QuestionPaper questionPaper = questionPaperRepository.findLatest().orElseThrow(QuestionPaperNotFoundException::new);
List<Account> accounts = accountRepository.findAllNotArchivedBy(questionPaper);
return ContactSummary.listOf(accounts);
}
}

0 comments on commit bd82c1e

Please sign in to comment.