package com.liquidnet.service.adam.mapper;

import com.liquidnet.service.adam.entity.AdamTransaction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liquidnet.service.adam.vo.AdamDashboardVo;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 交易记录表 Mapper 接口
 * </p>
 *
 * @author liquidnet
 * @since 2020-10-30
 */
public interface AdamTransactionMapper extends BaseMapper<AdamTransaction> {

    List<AdamDashboardVo> dashboardSummaryOfWalletsTransaction(String finWalletNo, String periodFormat, String periodUnit, List<String> transactionStatusList, Date beginDate);

    List<Map<String, String>> dashboardSummaryOfTransaction(String comId, Date beginDate);

}
