package com.ai.da.mapper.primary;

import com.ai.da.mapper.primary.entity.AffiliateIncome;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

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

public interface AffiliateIncomeMapper extends BaseMapper<AffiliateIncome> {

    List<Map<String, Object>> getPersonalMonthlyIncome(Long affiliateAccountId, int year);

    List<Map<String, Object>> getMonthlyAffiliateIncome(int year, int month);
}
