New file |
| | |
| | | package com.stylefeng.guns.modular.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.stylefeng.guns.modular.system.model.RechargeRecord; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @date 2023/6/2 14:26 |
| | | */ |
| | | public interface IRechargeRecordService extends IService<RechargeRecord> { |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param type |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | Double querSumSurplusDividedAmount(Integer type); |
| | | |
| | | |
| | | /** |
| | | * 获取代理商账户余额 |
| | | * @param companyId |
| | | * @return |
| | | */ |
| | | Double queryAgentBalance(Integer companyId); |
| | | /** |
| | | * 获取平台账户余额 |
| | | * @return |
| | | */ |
| | | Double queryCompanyBalance(); |
| | | } |