VehicleInfoService.java
1.4 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.sunyo.wlpt.dispatch.service;
import java.util.List;
import com.github.pagehelper.PageInfo;
import com.sunyo.wlpt.dispatch.domain.VehicleInfo;
/**
* @author 子诚
* Description:
* 时间:2020/4/21 15:16
*/
public interface VehicleInfoService {
/**
* 调度车辆方法
*
* @param vehicleType
* @param vehicleStatus
* @return
*/
List<VehicleInfo> dispatchVehicle(String vehicleType, String vehicleStatus);
/**
* 查询车辆信息,by车牌号
*
* @param licensePlateNumber
* @return
*/
VehicleInfo selectByLPN(String licensePlateNumber);
/**
* 获取车辆列表
*
* @param vehicleInfo
* @param pageNum
* @param pageSize
* @return
*/
PageInfo selectVehicleInfoList(VehicleInfo vehicleInfo, Integer pageNum, Integer pageSize);
int deleteByPrimaryKey(String id);
int insert(VehicleInfo record);
int insertOrUpdate(VehicleInfo record);
int insertOrUpdateSelective(VehicleInfo record);
int insertSelective(VehicleInfo record);
VehicleInfo selectByPrimaryKey(String id);
int updateByPrimaryKeySelective(VehicleInfo record);
int updateByPrimaryKey(VehicleInfo record);
int updateBatch(List<VehicleInfo> list);
int updateBatchSelective(List<VehicleInfo> list);
int batchInsert(List<VehicleInfo> list);
}