package com.ssj.dao.sys.imlibuser.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.ssj.bean.sys.imlibuser.TbClassStudentTemp;


@Repository
public interface TbClassStudentTempDao extends JpaRepository<TbClassStudentTemp, String> {

	@Query(nativeQuery = true, value = " SELECT * from tb_class_student_temp t where t.lib_id=?1 AND t.vip_id=?2 ORDER BY t.create_time desc ")
	public List<TbClassStudentTemp> findTbLibImStudentTempByVipId(String libId,String vipId);
   
}
