czt
2025-09-22 11430ae628f098654579811131abc522d679e870
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
package com.fzzy.async.fzzy35.repository;
 
import com.fzzy.async.fzzy35.entity.Fz35InoutSettle;
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;
 
/**
 * 粮食入库结算
 */
public interface Fzzy35Sync1204Rep extends JpaRepository<Fz35InoutSettle, String> {
 
    /**
     * 获取出入库结算信息
     * @param type
     * @param start
     * @param end
     * @return
     */
    @Query("from Fz35InoutSettle where type=:type and payTime >=:start and payTime <:end order by payTime ")
    List<Fz35InoutSettle> listInoutSettle(@Param("type") String type, @Param("start") Date start, @Param("end") Date end);
}