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
| package com.stylefeng.guns.modular.system.service;
|
| import com.baomidou.mybatisplus.service.IService;
| import com.stylefeng.guns.modular.system.model.BankCard;
| import com.stylefeng.guns.modular.system.util.ResultUtil;
|
| import java.util.List;
|
| public interface IBankCardService extends IService<BankCard> {
|
|
| /**
| * 保存银行卡信息
| * @param bank
| * @param name
| * @param code
| * @param driverId
| * @return
| * @throws Exception
| */
| ResultUtil saveBankCard(String bank, String lastName,String firstName, String code, Integer driverId, Integer language) throws Exception;
|
| ResultUtil updateBankCard(Integer id, String bank, String lastName,String firstName, String code, Integer driverId, Integer language) throws Exception;
|
| /**
| * 删除银行卡号
| * @param id
| * @param driverId
| * @return
| * @throws Exception
| */
| ResultUtil delBankCard(Integer id, Integer driverId, Integer language) throws Exception;
|
|
| /**
| * 获取银行卡列表
| * @param pageNum
| * @param size
| * @param driverId
| * @return
| * @throws Exception
| */
| List<BankCard> queryBankCard(Integer pageNum, Integer size, Integer driverId) throws Exception;
| }
|
|