package com.fzzy.async.fzzy40.repository;
|
|
import com.fzzy.async.fzzy40.entity.Fz40InoutCostVerifyItem;
|
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:17
|
*/
|
public interface Fzzy40Sync1219Rep extends JpaRepository<Fz40InoutCostVerifyItem, String> {
|
|
/**
|
* 根据库区编码及时间获取入库成本核定明细表信息
|
*
|
* @return
|
*/
|
@Query("from Fz40InoutCostVerifyItem where deptId=:deptId and zhgxsj >=:start and zhgxsj <:end order by zhgxsj ")
|
List<Fz40InoutCostVerifyItem> listData(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
|
|
}
|