czt
2025-11-08 edb0ae72155f3c0454ecbe4f089975b1320d8b88
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
27
package com.fzzy.async.fzzy61.repository;
 
import com.fzzy.async.fzzy61.entity.Fz61InoutCostVerify;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import java.util.Date;
import java.util.List;
 
;
 
/**
 * @Description 粮食购销-入库成本核定表
 * @Author CZT
 * @Date 2025/11/08 10:15
 */
public interface Fzzy61Sync1218Rep extends JpaRepository<Fz61InoutCostVerify, String> {
 
    /**
     * 根据库区编码及时间获取入库成本核定表信息
     *
     * @return
     */
    @Query("from Fz61InoutCostVerify where deptId=:deptId and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ")
    List<Fz61InoutCostVerify> listData(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
 
}