CZT
2023-11-15 cc0c09e96a829613bcfb4c2cc1ee5ebf998f016c
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.Fz40InoutRecordItem;
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 Fzzy40SyncInoutRecordItemRep extends JpaRepository<Fz40InoutRecordItem, String> {
 
    /**
     * 根据仓库编码获取粮情参数配置信息
     * @param recordId
     * @return
     */
    @Query("from Fz40InoutRecordItem where recordId =:recordId order by createTime ")
    List<Fz40InoutRecordItem> findDataByRecordId(@Param("recordId") String recordId);
}