package com.fzzy.async.fzzy35.repository;
|
|
import com.fzzy.async.fzzy35.entity.Fz35FileInfo;
|
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.Query;
|
import org.springframework.data.repository.query.Param;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* 文件信息
|
*/
|
public interface Fzzy35Sync1109Rep extends JpaRepository<Fz35FileInfo, String> {
|
|
/**
|
* 根据信息文件信息
|
*
|
* @param start
|
* @param end
|
* @return
|
*/
|
@Query("from Fz35FileInfo where createTime >=:start and createTime <:end order by createTime ")
|
List<Fz35FileInfo> listFileInfo(@Param("start") Date start, @Param("end") Date end);
|
}
|