YYC
2025-03-07 aee5c93d9d8f904d84ecdfff6025ddace615c6b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.fzzy.async.fzzy40.repository;
 
import com.fzzy.async.fzzy40.entity.Fz40CheckItem;
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;
 
/**
 * 粮食入库质检
 */
public interface Fzzy40Sync1203Rep extends JpaRepository<Fz40CheckItem, String> {
 
    /**
     * 根据入库检验编码获取检验信息
     *
     * @param checkId
     * @return
     */
    @Query("from Fz40CheckItem where checkId=:checkId and companyId=:companyId order by standardId")
    List<Fz40CheckItem> listInoutCheckItem(@Param("checkId") String checkId, @Param("companyId") String companyId);
}