package com.ruoyi.invest.mapper;

import com.ruoyi.common.datascope.annotation.DataScope;
import com.ruoyi.invest.domain.dto.AccountsDealRecordDto;
import com.ruoyi.invest.domain.dto.BankCardLendDto;
import com.ruoyi.invest.domain.vo.AccountsDealRecordVo;
import com.ruoyi.invest.domain.vo.BankCardLendVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StatisticAnalysisMapper {

    /**
     * 查询银行卡信息列表
     *
     * @param bankCardLendDto 银行卡信息
     * @return 银行卡信息集合
     */
    @DataScope(businessAlias = "a")
    public List<BankCardLendVo> selectBankCardLendList(BankCardLendDto bankCardLendDto);

    /**
     * 查询收支记录
     *
     * @param accountsDealRecordDto
     * @return 收支集合
     */
    @DataScope(businessAlias = "a")
    public List<AccountsDealRecordVo> selectAccountsOutInList(AccountsDealRecordDto accountsDealRecordDto);

    /**
     * 查询收支记录
     *
     * @param accountsDealRecordDto
     * @return 收支集合
     */
    @DataScope(businessAlias = "a")
    public List<AccountsDealRecordVo> selectDailyExpensesList(AccountsDealRecordDto accountsDealRecordDto);
}
