LandBusListService.java
2.1 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package com.sy.service;
import com.sy.model.GatherInfo;
import com.sy.model.LandBusinessTypeList;
import java.util.List;
public interface LandBusListService {
List<LandBusinessTypeList> selectByFrameNoAndType(String frameNo, String flag);
int updateById(LandBusinessTypeList list);
int saveList(LandBusinessTypeList list);
/**
*
* @param frameNo 车牌号
* @param barcode 二维码
* @param station 场站ID/号
* @param aisle 通道ID/号
* @param flag 进出业务类型标识I/E
* @return
*/
LandBusinessTypeList selectForOne(String frameNo, String barcode, String station, String aisle, String flag);
List<LandBusinessTypeList> selectByBarcode(String barcode);
List<LandBusinessTypeList> selectByBarcodeWithE(String barcode);
int updateByBarcode(String barcode);
List<LandBusinessTypeList> selectMessageId(String messageId);
//查询进场过磅重量,货物重量
List<LandBusinessTypeList> selectwt(String frameNo, String barcode, String station, String flag);
//失效已进场或出场的申请记录
int updateisvalid(String frameNo, String barcode, String station, String flag);
//查询出场申请为最后一个
int selectlaststation(String frameNo, String barcode);
/**
* 根据gatherInfo获取对应的流转申请
* @return 对应通道的流转申请信息
*/
LandBusinessTypeList getLandBusinessTypeListByGather(GatherInfo info);
List<LandBusinessTypeList> getLandBusinessTypeListsByGather(GatherInfo info);
/**
* 首次离场查询
* @param barcode 二维码
* @param trailerFrameNo 车牌
* @param turnoverflag 进出标识
* @return 0 代表首次离场,大于0代表非首次离场已经产生过离场记录
*/
int selectFirstLeave(String trailerFrameNo, String barcode, String turnoverflag);
/**
* 根据二维码查询车辆所有进出总记录
* @param barcode 二维码
* @return 进出记录总数量
*/
int selectHistoryCount(String barcode);
}