package com.ssj.dao.sys.teacher.dao;

import org.springframework.stereotype.Repository;

import com.ssj.service.conch.teacher.v1.dto.LessonGroupDTO;
import com.ssj.service.conch.teacher.v1.dto.LessonGroupFeedbackStudentDTO;
import com.ssj.service.conch.teacher.v1.dto.LessonGroupSignStudentDTO;

import java.util.List;
import java.util.Map;

@Repository
public interface TeacherV1QueryDao {

    /**
     * 根据老师的id查询其名下当天的所有的小课信息列表
     */
    List<LessonGroupDTO> findLessonGroupList(String teacherId);

    List<LessonGroupFeedbackStudentDTO> findLessonGroupFeedbackStudentList(String lessonGroupId, String childName);

    List<LessonGroupSignStudentDTO> findLessonGroupStudentSignList(String lessonGroupId, Integer signInOff, String childName);

    /**
     * 查询小课反馈学生列表，有标签
     * @param lessonGroupId
     * @param num 当前课次num
     * @return
     */
    List<Map<String, Object>> findLessonGroupFeedbackStudentsList(String lessonGroupId, int num);
}
