zhibing.pu
2024-05-13 9b68c6e4d6a3659443280fe261447d18d84ba62a
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
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);
}