package com.stylefeng.guns.modular.taxi.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.taxi.model.PaymentRecord;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface PaymentRecordMapper extends BaseMapper<PaymentRecord> {
|
|
|
/**
|
* 获取数据
|
* @param orderId
|
* @param payType
|
* @param state
|
* @return
|
*/
|
PaymentRecord query(@Param("category") Integer category, @Param("userId") Integer userId,
|
@Param("type") Integer type, @Param("orderId") Integer orderId,
|
@Param("orderType") Integer orderType, @Param("payType") Integer payType,
|
@Param("state") Integer state);
|
|
/**
|
*
|
* @param uid 用户id
|
* @param pageNum 页码
|
* @param size 每页条数
|
* @return 用户充值记录
|
*/
|
List<Map<String, Object>> queryRechargeRecord(@Param("uid") Integer uid, @Param("pageNum")Integer pageNum, @Param("size")Integer size);
|
/**
|
* 查询充值金额总和
|
* @param uid
|
* @return
|
*/
|
Double queryRechargeMoneySum(@Param("uid")Integer uid);
|
}
|