| package com.fzzy.async.fzzy30.repository; | 
|   | 
| import com.fzzy.async.fzzy30.entity.MLossOver; | 
| 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 FzzySync1209Rep extends JpaRepository<MLossOver, String> { | 
|   | 
|     /** | 
|      * 根据信息获取损溢信息 | 
|      * | 
|      * @param start | 
|      * @param end | 
|      * @return | 
|      */ | 
|     @Query("from MLossOver where deptId=:deptId and submitTime >=:start and submitTime <:end order by submitTime ") | 
|     List<MLossOver> listMLossOver(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end); | 
| } |