package com.fzzy.async.fzzy40.repository;
|
|
import com.fzzy.async.fzzy35.entity.Fz35FileInfo;
|
import com.fzzy.async.fzzy40.entity.Fz40FileInfo;
|
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;
|
|
/**
|
* @Author:YAN
|
*/
|
public interface Fzzy40Sync1109Rep extends JpaRepository<Fz40FileInfo, String> {
|
/**
|
* 根据信息文件信息
|
*
|
* @param start
|
* @param end
|
* @return
|
*/
|
@Query("from Fz40FileInfo where createTime >=:start and createTime <:end order by createTime ")
|
List<Fz40FileInfo> listFileInfo(@Param("start") Date start, @Param("end") Date end);
|
|
@Query("from Fz40FileInfo where bizId =:bizId order by createTime ")
|
List<Fz40FileInfo> listFileInfoByBizId(@Param("bizId") String bizId);
|
}
|