CustomerService.java
1.79 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package cn.fw.valhalla.service.data;
import cn.fw.common.web.auth.LoginAuthBean;
import cn.fw.valhalla.domain.db.customer.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.fw.valhalla.domain.vo.customer.CustomerListVO;
import cn.fw.valhalla.domain.query.CustomerQueryVO;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;
import java.util.List;
/**
* @author : kurisu
* @className : CustomerService
* @description : 档案
* @date: 2020-08-12 11:19
*/
public interface CustomerService extends IService<Customer> {
/**
* 分页查询查询
*
* @param startIndex
* @param pageSize
* @param queryVO
* @return
*/
List<CustomerListVO> getAppPageList(Integer startIndex, Integer pageSize, CustomerQueryVO queryVO);
/**
* 根据id查询
*
* @param id
* @return
*/
Customer queryById(Long id);
/**
* 根据车牌号查询档案信息
*
* @param plateNo
* @param groupId
* @return
*/
Customer queryByPlateNo(String plateNo, Long groupId);
/**
* 根据车牌号查询档案信息
*
* @param frameNo
* @param groupId
* @return
*/
Customer queryByFrameNo(String frameNo, Long groupId);
/**
* 根据baseId查询档案信息
*
* @param baseId
* @return
*/
List<Customer> queryByBaseId(Long baseId);
/**
* 禁用档案
*
* @param customerId
*/
void forbidden(Long customerId);
/**
* 禁用档案
*
* @param customerId
*/
void forbiddenPlate(Long customerId);
/**
* 查询服务顾问所有档案
* @param adviserId
* @return
*/
@Nullable
List<Customer> queryByAdviserId(@NonNull Long adviserId);
}