@@ -0,0 +1,552 @@
+package com.aprj.dao;%0A%0Aimport com.aprj.entities.Emails;%0Aimport org.springframework.data.jpa.repository.JpaRepository;%0Aimport org.springframework.data.jpa.repository.Query;%0A%0Aimport java.util.List;%0Aimport java.util.stream.Stream;%0A%0A/**%0A * Created by southdom on 2017/4/19.%0A */%0Apublic interface EmailsDao extends JpaRepository%3CEmails, Long%3E %7B%0A%0A    @Query(%22select u from Emails u%22)%0A    Stream%3CEmails%3E findAllByCustomQueryAndStream();%0A%0A    @Query(%22select u from Emails u where u.extractedfrom = ?1%22)%0A    List%3CEmails%3E findByExtractedFrom(String emailFrom);%0A%7D%0A

add query method for emails