package com.mcwl.myInvitation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mcwl.myInvitation.domain.Invitation;
import com.mcwl.myInvitation.domain.dto.EarningsDisplay;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InvitationMapper extends BaseMapper<Invitation> {

    Double getTotalAmount(Long userId);

    List<EarningsDisplay> getEarningsDisplay(Long userId);
}
