| package com.fzzy.async.fzzy30.repository; | 
|   | 
| import com.fzzy.async.fzzy30.entity.InoutCheckItem; | 
| import org.springframework.data.jpa.repository.JpaRepository; | 
| import org.springframework.data.jpa.repository.Query; | 
| import org.springframework.data.repository.query.Param; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * 粮食入库质检 | 
|  */ | 
| public interface FzzySync1203Rep extends JpaRepository<InoutCheckItem, String> { | 
|   | 
|     /** | 
|      * 根据入库检验编码获取检验信息 | 
|      * @param checkId | 
|      * @return | 
|      */ | 
|     @Query("from InoutCheckItem where checkId=:checkId ") | 
|     List<InoutCheckItem> listInoutCheckItem(@Param("checkId") String checkId); | 
| } |