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
package com.fzzy.async.fzzy40.repository;
 
import com.fzzy.async.fzzy40.entity.Fz40PlanCheck;
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:13
 */
public interface Fzzy40Sync1217Rep extends JpaRepository<Fz40PlanCheck, String> {
 
    /**
     * 根据库区编码及时间获取轮换验收信息
     *
     * @return
     */
    @Query("from Fz40PlanCheck where deptId=:deptId and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ")
    List<Fz40PlanCheck> listData(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
 
}