package com.fzzy.async.fzzy40.repository; import com.fzzy.async.fzzy40.entity.Fz40InoutLossOver; import com.fzzy.async.fzzy40.entity.Fz40InoutVarietyChange; 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 Fzzy40Sync1210Rep extends JpaRepository { @Query("from Fz40InoutVarietyChange where deptId=:deptId and updateTime >=:start and updateTime <:end order by updateTime ") List listVarietyChange(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end); }