czt
2025-07-26 f495e422b1de10b1d1810158fca1c63f9b60fe45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);
 
    @Query("from Fz35FileInfo where bizId =:bizId order by createTime ")
    List<Fz35FileInfo> listFileInfoByBizId(@Param("bizId") String bizId);
}