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
| package com.stylefeng.guns.modular.system.dao;
|
| import com.baomidou.mybatisplus.mapper.BaseMapper;
| import com.stylefeng.guns.modular.system.model.BalanceUsageRecord;
| import org.apache.ibatis.annotations.Param;
|
| import java.util.List;
| import java.util.Map;
|
| /**
| * @author zhibing.pu
| * @Date 2024/5/13 10:24
| */
| public interface BalanceUsageRecordMapper extends BaseMapper<BalanceUsageRecord> {
|
|
| /**
| * 获取使用记录列表
| * @param driverId
| * @param type
| * @param pageNum
| * @param size
| * @return
| */
| List<Map<String, Object>> queryBalanceUsageRecord(@Param("driverId") Integer driverId, @Param("type") Integer type,
| @Param("pageNum") Integer pageNum, @Param("size") Integer size);
|
|
| /**
| * 获取使用记录总额
| * @param driverId
| * @param type
| * @return
| */
| Double queryBalanceUsageRecordSum(@Param("driverId") Integer driverId, @Param("type") Integer type);
|
| }
|
|