package com.hzs.member.achieve.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.achieve.CuMemberMonthAchieve;
import com.hzs.common.domain.member.ext.CuMemberMonthAchieveExt;
import com.hzs.member.achieve.controller.vo.ParentAchieveVO;
import com.hzs.member.achieve.controller.vo.RealPerformanceVo;

import java.util.List;

/**
 * 会员月数据 服务类
 */
public interface ICuMemberMonthAchieveService extends IService<CuMemberMonthAchieve> {

    /**
     * 根据条件查询会员月业绩
     */
    List<CuMemberMonthAchieveExt> queryCuMemberMonthAchieveRecommend(ParentAchieveVO parentAchieveVO);

    /**
     * 查询会员真实业绩
     *
     * @param pkMember
     * @param achieveTable
     * @return
     */
    RealPerformanceVo queryCuMemberMonthAchieveInfo(Long pkMember, String achieveTable);
}
