New file |
| | |
| | | package com.stylefeng.guns.modular.system.dao; |
| | | |
| | | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| | | import com.stylefeng.guns.modular.system.model.BalanceUsageRecord1; |
| | | 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<BalanceUsageRecord1> { |
| | | |
| | | |
| | | /** |
| | | * 获取使用记录列表 |
| | | * @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); |
| | | |
| | | } |