|
@ -5,6 +5,9 @@ import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
|
|
import org.springframework.data.jpa.repository.Query;
|
|
|
import org.springframework.data.repository.PagingAndSortingRepository;
|
|
|
|
|
|
import java.util.Iterator;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* Created by lyr on 2016/08/18.
|
|
|
*/
|
|
@ -14,4 +17,6 @@ public interface PopulationBaseDao extends PagingAndSortingRepository<Population
|
|
|
int findPeopleNumByCode(String code);
|
|
|
|
|
|
PopulationBase findByCodeAndYear(String code,Integer year);
|
|
|
|
|
|
List<PopulationBase> findByYear(Integer year);
|
|
|
}
|