czt
2023-06-05 a137500cf7a3f558fef9aafc9f608c06fbbc7dff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
}