puzhibing
2023-08-31 ef04ce57881e6a338b10d596c5eb76b2220598bf
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
package com.supersavedriving.user.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.supersavedriving.user.modular.system.model.Revenue;
import org.apache.ibatis.annotations.Param;
 
/**
 * @author zhibing.pu
 * @date 2023/3/13 10:03
 */
public interface RevenueMapper extends BaseMapper<Revenue> {
 
    /**
     * 获取代理商账户余额
     * @param companyId
     * @return
     */
    Double queryAgentBalance(@Param("companyId") Integer companyId);
 
 
    /**
     * 获取平台账户余额
     * @return
     */
    Double queryCompanyBalance();
}