VehicleInfoMapper.java
1.3 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
67
package com.sunyo.wlpt.dispatch.mapper;
import com.sunyo.wlpt.dispatch.domain.VehicleInfo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* @author 子诚
* Description:
* 时间:2020/4/21 15:16
*/
@Mapper
public interface VehicleInfoMapper {
/**
* 调度车辆方法
*
* @param record
* @return
*/
List<VehicleInfo> dispatchVehicle(VehicleInfo record);
/**
* 分页查询,车辆列表
*/
List<VehicleInfo> selectVehicleInfoList(VehicleInfo record);
/**
* 删除,根据主键
*
* @param id
* @return
*/
int deleteByPrimaryKey(String id);
int insert(VehicleInfo record);
int insertOrUpdate(VehicleInfo record);
int insertOrUpdateSelective(VehicleInfo record);
int insertSelective(VehicleInfo record);
VehicleInfo selectByPrimaryKey(String id);
/**
* 根据车牌号查询车辆信息
*/
VehicleInfo selectByLPN(String licensePlateNumber);
/**
* 选择性修改,根据主键id
*/
int updateByPrimaryKeySelective(VehicleInfo record);
int updateByPrimaryKey(VehicleInfo record);
int updateBatch(List<VehicleInfo> list);
int updateBatchSelective(List<VehicleInfo> list);
int batchInsert(@Param("list") List<VehicleInfo> list);
}