package com.seer.teach.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seer.teach.teacher.common.req.DoExerciseReq;
import com.seer.teach.teacher.common.resp.DoExerciseResp;
import com.seer.teach.teacher.common.resp.QuestionResp;
import com.seer.teach.teacher.module.entity.EvaluationTasksEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Captain
 * @since 2025-05-13
 */
public interface EvaluationTasksService extends IService<EvaluationTasksEntity> {

    /**
     * Author: Captain
     * Desc:   测评
     * Params: [device, params]
     * Return: com.seer.teach.common.ResultBean
     * Time: 2025/5/27 10:23
     */
    DoExerciseResp doExercise(DoExerciseReq params);

    /**
     * 获取用户测评记录
     * @param userId
     * @return
     */
    IPage<EvaluationTasksEntity> getEvaluationRecordByDeviceId(Integer userId, Integer page, Integer size);

}
