package com.fzzy.async.fzzy61.repository; import com.fzzy.async.fzzy61.entity.Fz61DepotConf; 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 Fzzy61SyncDepotConfRep extends JpaRepository { /** * 根据仓库编码获取粮情参数配置信息 * @param depotId * @return */ @Query("from Fz61DepotConf where depotId =:depotId order by depotId ") List findDataByDepotId(@Param("depotId") String depotId); }