package com.ssj.service.conch.teacher.service;

import com.ssj.bean.conch.conch.dto.ProblemDetailDto;
import com.ssj.framework.core.util.ResponseEntity;
import com.ssj.service.conch.teacher.library.request.ClassIdReq;
import com.ssj.service.conch.teacher.library.request.QuestionDetailReq;
import com.ssj.service.conch.teacher.request.teacherorg.AnsweredProblemReq;
import com.ssj.service.conch.teacher.request.teacherorg.ClassIdPageRequest;

import java.util.Map;

public interface TeacherOrgV2Service {

    /**
     * 根据班级id查询昨天的作业统计
     */
    ResponseEntity homeworkCount(ClassIdReq req, String teacherId);

    /**
     * 查询已提交作业的学生列表
     */
    ResponseEntity findSubmittedStudentList(ClassIdReq req, String teacherId);

    /**
     * 查询错题详情
     */
    ResponseEntity findWrongQuestionDetail(QuestionDetailReq req);

    public ResponseEntity classList(String userId);

    public ResponseEntity newClassList(String userId);

    public ResponseEntity studentList(String classId);

    /**
     * 查询学生详情难题列表
     * @param req
     * @param teacherId
     * @return
     */
    Map<String, Object> studentProblemPictureList (AnsweredProblemReq req, String teacherId);


    /**
     * 查询老师待留言列表
     * @param req
     * @param teacherId
     * @return
     */
    Map<String, Object> findProblemPictureList(ClassIdPageRequest req, String teacherId);

    /**
     * 难题图片id
     * @param problemPictureId
     * @return
     */
    ProblemDetailDto getProblemFeedbackData (String problemPictureId);

    /**
     * 查询老师在指定班级负责的科目
     * @param req 请求参数
     * @param teacherId 老师id
     * @return 科目列表
     */
    ResponseEntity findSubjectList(ClassIdReq req, String teacherId);
}
