vince
2025-06-04 0d9a7c8974add02c61d2471642e4e5a04013ab7b
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
29
30
31
32
33
34
35
package com.fzzy.async.fzzy40;
 
import com.fzzy.async.fzzy40.entity.Fz40Grain;
import com.fzzy.async.fzzy40.repository.Fzzy40Sync1302Rep;
import org.springframework.stereotype.Component;
 
import javax.annotation.Resource;
import java.util.Date;
import java.util.List;
 
/**
 * 2023年10月31日 02:28:21 ANDY增加用于自由接口调用,如其他模块调用
 */
@Component
public class Fzzy40CommonService {
 
 
    @Resource
    private Fzzy40Sync1302Rep fzzy40Sync1302Rep;
 
 
    /**
     * 根据开时间和截至时间获取粮情信息
     *
     * @param depotId 系统中的仓库编码
     * @param start
     * @param end
     * @return
     */
    public List<Fz40Grain> listGrain(String depotId, Date start, Date end) {
        return fzzy40Sync1302Rep.findByReceiveDate(depotId, start, end);
    }
 
 
}