package com.zhongshu.card.server.core.dao.pay.extend;

import com.zhongshu.card.client.model.pay.RechargeSearchParam;
import com.zhongshu.card.client.type.payAccount.RechargeOrderStatus;
import com.zhongshu.card.server.core.domain.pay.BalanceRechargeOrder;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.ArrayList;
import java.util.List;

public interface BalanceRechargeOrderDaoExtend {

    List<BalanceRechargeOrder> listByMonth(String projectOid, String userId, Long startTime, Long endTime);

    Long sumTotal(String projectOid, String userId, RechargeOrderStatus status, Long startTime, Long endTime);

    Page<BalanceRechargeOrder> page(Pageable pageable, RechargeSearchParam param);
}
