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();
|
}
|