package com.fzzy.async.fzzy40.repository;
|
|
import com.fzzy.async.fzzy40.entity.Fz40InoutLossOver;
|
import com.fzzy.async.fzzy40.entity.Fz40InoutStockChange;
|
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 Fzzy40Sync1207Rep extends JpaRepository<Fz40InoutStockChange, String> {
|
|
/**
|
* 根据信息获取倒仓信息
|
*
|
* @param start
|
* @param end
|
* @return
|
*/
|
@Query("from Fz40InoutStockChange where deptId=:deptId and updateTime >=:start and updateTime <:end order by changeDate ")
|
List<Fz40InoutStockChange> listStockChange(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
|
}
|