| package com.fzzy.async.fzzy61.repository; | 
|   | 
| import com.fzzy.async.fzzy61.entity.Fz61InoutStockChange; | 
| 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 Fzzy61Sync1207Rep extends JpaRepository<Fz61InoutStockChange, String> { | 
|   | 
|     /** | 
|      * 根据信息获取倒仓信息 | 
|      * | 
|      * @param start | 
|      * @param end | 
|      * @return | 
|      */ | 
|     @Query("from Fz61InoutStockChange where deptId=:deptId and updateTime >=:start and updateTime <:end order by changeDate ") | 
|     List<Fz61InoutStockChange> listStockChange(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end); | 
| } |