| package com.fzzy.async.fzzy40.repository; | 
|   | 
| import com.fzzy.async.fzzy40.entity.Fz40DepotConf; | 
| 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; | 
|   | 
| /** | 
|  * 查询粮情检测数据 | 
|  * | 
|  * @author czt | 
|  * | 
|  * @date 2023-08-21 | 
|  */ | 
| public interface Fzzy40SyncDepotConfRep extends JpaRepository<Fz40DepotConf, String> { | 
|   | 
|     /** | 
|      * 根据仓库编码获取粮情参数配置信息 | 
|      * @param depotId | 
|      * @return | 
|      */ | 
|     @Query("from Fz40DepotConf where depotId =:depotId order by depotId ") | 
|     List<Fz40DepotConf> findDataByDepotId(@Param("depotId") String depotId); | 
| } |