package com.fzzy.async.fzzy35.repository;
|
|
import com.fzzy.async.fzzy35.entity.Fz35Plan;
|
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 chen
|
* @date 2023-05-14 19:55
|
*/
|
public interface Fzzy35Sync1403Rep extends JpaRepository<Fz35Plan, String> {
|
|
/**
|
*
|
* @param start
|
* @param end
|
* @return
|
*/
|
@Query("from Fz35Plan where type =:planType and createTime >=:start and createTime <:end order by createTime ")
|
List<Fz35Plan> findDate(@Param("planType") String planType, @Param("start") Date start, @Param("end") Date end);
|
}
|