package com.fzzy.async.fzzy61.repository;
|
|
import com.fzzy.async.fzzy61.entity.Fz61InoutSettle;
|
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;
|
|
/**
|
* 粮食入库结算信息
|
*
|
* @Author:YAN
|
*/
|
public interface Fzzy61Sync1204Rep extends JpaRepository<Fz61InoutSettle, String> {
|
/**
|
* 获取出入库结算信息
|
*
|
* @param type
|
* @param start
|
* @param end
|
* @return
|
*/
|
@Query("from Fz61InoutSettle where deptId=:deptId and inoutType=:type and updateTime >=:start and updateTime <:end order by updateTime ")
|
List<Fz61InoutSettle> listInoutSettle(@Param("deptId") String deptId, @Param("type") String type, @Param("start") Date start, @Param("end") Date end);
|
|
}
|