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