package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.SettlementRecord;
|
import com.stylefeng.guns.modular.system.warpper.QueryHistoricalSettlement;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/8/17 9:34
|
*/
|
public interface SettlementRecordMapper extends BaseMapper<SettlementRecord> {
|
|
|
/**
|
* 获取结算历史
|
* @param driverId
|
* @return
|
*/
|
List<Map<String, Object>> queryHistoricalSettlement(@Param("driverId") Integer driverId, @Param("pageNum") Integer pageNum,
|
@Param("size") Integer size);
|
|
|
|
Double queryHistoricalSettlementTotal(@Param("driverId") Integer driverId);
|
}
|