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 { /** * 获取出入库结算信息 * * @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 listInoutSettle(@Param("deptId") String deptId, @Param("type") String type, @Param("start") Date start, @Param("end") Date end); }