puzhibing
2023-07-30 03a4584d7d58fc073649a3ef821e1b2ebc0ed6cb
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
33
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.RechargeRecord;
import org.apache.ibatis.annotations.Param;
 
/**
 * @author zhibing.pu
 * @date 2023/6/2 14:25
 */
public interface RechargeRecordMapper extends BaseMapper<RechargeRecord> {
 
 
 
 
    Double querSumSurplusDividedAmount(@Param("type") Integer type);
 
 
 
    /**
     * 获取代理商账户余额
     * @param companyId
     * @return
     */
    Double queryAgentBalance(@Param("companyId") Integer companyId);
 
 
    /**
     * 获取平台账户余额
     * @return
     */
    Double queryCompanyBalance();
}