package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.Withdrawal;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface WithdrawalMapper extends BaseMapper<Withdrawal> {
|
|
|
/**
|
* 获取历史提交数据
|
* @param uid
|
* @param pageNum
|
* @param size
|
* @return
|
*/
|
List<Map<String, Object>> queryWithdrawal(@Param("uid") Integer uid, @Param("userType") Integer userType,
|
@Param("type") Integer type, @Param("state") Integer state, @Param("pageNum") Integer pageNum,
|
@Param("size") Integer size);
|
|
|
/**
|
* 获取提现总额
|
* @param uid
|
* @return
|
*/
|
Double queryWithdrawalSum(@Param("uid") Integer uid, @Param("userType") Integer userType,
|
@Param("type") Integer type);
|
}
|