package com.sqx.modules.app.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sqx.modules.app.entity.UserMoneyDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface UserMoneyDetailsDao extends BaseMapper<UserMoneyDetails> {


    Double monthIncome(@Param("date") String date,@Param("userId") Long userId);

    /**
     * 查询用户邀请收益
     */
    Double queryUserInviteMoney(@Param("userId") Long userId);

    /**
     * 查询用户邀请金币
     */
    Double queryUserInviteGoldMoney(@Param("userId") Long userId);
}
