CZT
2023-08-22 ce9d44e48aa77ebf2537f22ff8bf4a70089d0474
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
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);
}