package com.dfyy.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import com.dfyy.bussiness.UserRecommend;

@Repository
public interface UserRecommendDao extends CrudRepository<UserRecommend, Integer>,
		JpaSpecificationExecutor<UserRecommend> {
	@Query("select u.uid from UserRecommend as u order by seq asc")
	public List<String> getAll();

}
