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