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