CZT
2023-09-13 edca45e62b6bb47e51853c4168415f20c2f861cd
src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1109Rep.java
@@ -1,6 +1,6 @@
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;
@@ -11,7 +11,7 @@
/**
 * 文件信息
 */
public interface Fzzy35Sync1109Rep extends JpaRepository<FileInfo, String> {
public interface Fzzy35Sync1109Rep extends JpaRepository<Fz35FileInfo, String> {
    /**
     * 根据信息文件信息
@@ -20,6 +20,6 @@
     * @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);
}