package com.yonge.cooleshow.biz.dal.service;

import java.util.Map;

import com.yonge.cooleshow.biz.dal.entity.SysMusicCompareRecord;
import com.yonge.cooleshow.biz.dal.queryInfo.SysMusicCompareRecordQueryInfo;
import com.yonge.toolset.base.page.PageInfo;
import com.yonge.toolset.mybatis.service.BaseService;

public interface SysMusicCompareRecordService extends BaseService<Long, SysMusicCompareRecord> {

    /**
     * @describe 保存用户评测记录
     * @param sysMusicCompareRecord
     * @return void
     */
    void saveMusicCompareData(SysMusicCompareRecord sysMusicCompareRecord);

    /**
     * @describe 用户最后一次评测数据
     * @author Joburgess
     * @date 2021/8/23 0023
     * @param userId:
     * @return java.util.List<com.ym.mec.biz.dal.dto.MusicalNotesPlayStatDto>
     */
    Object getLastEvaluationMusicalNotesPlayStats(Long userId, Long recordId);

    /**
     * @describe 学员训练数据统计
     * @author Joburgess
     * @date 2021/8/12 0012
     * @param queryInfo:
     * @return java.util.Map<java.lang.String,java.lang.Object>
     */
    Map<String, Object> studentTrainData(SysMusicCompareRecordQueryInfo queryInfo);

    /**
     * @describe 学员训练数据
     * @author Joburgess
     * @date 2021/8/12 0012
     * @param queryInfo:
     * @return com.ym.mec.common.page.PageInfo<com.ym.mec.biz.dal.entity.SysMusicCompareRecord>
     */
    PageInfo<SysMusicCompareRecord> queryStudentTrainData(SysMusicCompareRecordQueryInfo queryInfo);

}
