czt
2025-09-25 029de836702607a95ccb0a69a74efcea52ddc451
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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<Fz61DepotConf, String> {
 
    /**
     * 根据仓库编码获取粮情参数配置信息
     * @param depotId
     * @return
     */
    @Query("from Fz61DepotConf where depotId =:depotId order by depotId ")
    List<Fz61DepotConf> findDataByDepotId(@Param("depotId") String depotId);
}