package com.kxs.user.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kxs.user.api.dto.kxsapp.userAccount.UserAmountVariationListDTO;
import com.kxs.user.api.model.KxsUserAmountLog;
import com.kxs.user.api.vo.kxsapp.userAccount.AmountInExpendTotalVO;
import com.kxs.user.api.vo.kxsapp.userAccount.UserAmountVariationListVO;

/**
 * 用户余额记录日志表(KxsUserAmountLog)表服务接口
 *
 * @author 系统
 * @since 2024-01-03 09:39:56
 */
public interface KxsUserAmountLogService extends IService<KxsUserAmountLog> {

    /**
     * 分页
     *
     * @param page  页
     * @param param 参数
     * @return {@link IPage}<{@link UserAmountVariationListVO}>
     */
    IPage<UserAmountVariationListVO> getByPage(Page<UserAmountVariationListVO> page, UserAmountVariationListDTO param);

    /**
     * 收益支出合计
     *
     * @param tradeMonth 月份
     * @return {@link AmountInExpendTotalVO}
     */
    AmountInExpendTotalVO amountInExpendTotal(String tradeMonth);

    /**
     * 筛选类型列表
     *
     * @param kind 类
     * @return {@link Object}
     */
    Object variationTypeList(String kind);

    Object variationList(String changeTypeId);
}

