| package com.fzzy.async.fzzy61.repository; | 
|   | 
| import com.fzzy.async.fzzy61.entity.Fz61SecSnapDepot; | 
| 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 czt | 
|  * @date 2024-01-02 | 
|  */ | 
| public interface Fzzy61Sync1307Rep extends JpaRepository<Fz61SecSnapDepot, String> { | 
|   | 
|     /** | 
|      * 根据信息获取仓内抓拍信息 | 
|      * | 
|      * @param deptId | 
|      * @param startTime | 
|      * @param endTime | 
|      * @return | 
|      */ | 
|     @Query("from Fz61SecSnapDepot where deptId=:deptId and updateTime >=:startTime and updateTime <=:endTime order by id ") | 
|     List<Fz61SecSnapDepot> listSnapDepotData(@Param("deptId") String deptId, @Param("startTime") Date startTime, @Param("endTime") Date endTime); | 
|   | 
| } |