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

import com.ssj.service.conch.teacher.app.dto.ErrorWarnDTO;
import com.ssj.service.conch.teacher.app.dto.HomeworkPictureDTO;
import com.ssj.service.conch.teacher.app.dto.SystemMessageDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface TeacherAppQueryDao {

	/**
	 * 根据接收老师查询3天内的系统消息
	 * @param teacherId 老师id
	 */
	List<SystemMessageDTO> findSystemMessageList(String teacherId);

	/**
	 * 分页查询报错提醒
	 * @param teacherId 查询此老师的报错提醒
	 * @param pageable 分页信息
	 */
	Page<ErrorWarnDTO> findErrorWarnNoticeList(String teacherId, Pageable pageable);

	/**
	 * 根据作业id查询作业图片列表
	 * @param homeworkId 作业id
	 */
    List<HomeworkPictureDTO> findHomeworkPictureByHomeworkId(String homeworkId);
}
