YYC
2025-03-14 221685c6ce46a87f9820eb074a61cedbbf25351c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 updateTime >=:start and updateTime <:end order by updateTime ")
    List<Fz40InoutVarietyChange> listVarietyChange(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end);
}