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<Fz40InoutVarietyChange, String> {
|
@Query("from Fz40InoutVarietyChange where deptId=:deptId and changeTime >=:start and changeTime <:end order by changeTime ")
|
List<Fz40InoutVarietyChange> listVarietyChange(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
|
}
|