YYC
2025-08-17 d52072155b4bc241b9efc0ad56a20c76c91c737d
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
27
28
package com.fzzy.async.fzzy40.repository;
 
import com.fzzy.async.fzzy40.entity.Fz40InoutSettle;
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 Fzzy40Sync1204Rep extends JpaRepository<Fz40InoutSettle, String> {
    /**
     * 获取出入库结算信息
     *
     * @param type
     * @param start
     * @param end
     * @return
     */
    @Query("from Fz40InoutSettle where deptId=:deptId and inoutType=:type and updateTime >=:start and updateTime <:end order by updateTime ")
    List<Fz40InoutSettle> listInoutSettle(@Param("deptId") String deptId, @Param("type") String type, @Param("start") Date start, @Param("end") Date end);
 
}