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

import com.ssj.service.conch.parents.request.OrderReq;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

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

public interface ITzybQueryDao {

	Map<String, Object> findChildInfo(String libId, String vipId);

	Map<String, Object> isPush(String libId, String vipId);

	List<Map<String, Object>> courseCostList(String libId, String vipId, String pushId);

	List<Map<String, Object>> courseLibList(String libId, String vipId);

	List<Map<String, Object>> getSconCourseTime(String userId, String isDever, String vipId);

	List<Map<String, Object>> getDeverImgList(String vipId, String courseName);

	List<Map<String, Object>> findFeddBackInfo(String vipId);

	List<Map<String, Object>> findEditImgList(String pushId);

	Map<String, Object> findIsHasTeacher(String vipId, String serviceId);

	Map<String, Object> findIsHasPay(String vipId);

	List<Map<String, Object>> findCourseList(String vipId);

	Map<String, Object> findStudyMap(String vipId, String serviceId);

	List<Map<String, Object>> findOrderList(OrderReq req, String userId);

	Map<String, Object> findOrderInfo(String orderNo);

	List<Map<String, Object>> findStudentListByTeacherId(String teacherId,int state,String vipId);

	List<Map<String, Object>> findTodayFinishTask(String vipId, String serviceId);

	/**
	 * 查询某一天的一对一任务反馈记录
	 * @param vipId
	 * @param serviceId
	 * @param courseDate
	 * @return
	 */
	List<Map<String, Object>> findOneDayFinishTask(String vipId, String serviceId, String courseDate);

	Map<String, Object> findFeedbackDetail(String courseId);

	List<Map<String, Object>> findFeedbackList(String vipId, String date);

	List<Map<String, Object>> findCourseList(String vipId, String date);

	List<Map<String, Object>> findSubjectList(String vipId);

	Map<String, Object> findTimeCostBySubject(String derver, String courseName);

	Map<String, Object> findMasterInfo(String courseId);

	List<Map<String, Object>> findRephotoList(String teacherUserId,int type, String vipId);

	List<Map<String, Object>> findWorkPicList(String teacherUserId, String vipId);

	List<Map<String, Object>> findTaskPicList(String teacherUserId, String subject,String vipId);

	List<Map<String, Object>> correctImgList(String id);

	Map<String, Object> findConfirmInfo(String lessonServiceId);

	Map<String, Object> findJudgePushInfo(String id);

	List<Map<String, Object>> getDeverImgListByTime(String vipId, String courseName, Date scoringTime);

	Map<String, Object> findTodayOneFinishTask(String vipId, String serviceId);

	/**
	 * 查询某一天的一对一学习反馈
	 * @param vipId
	 * @param serviceId
	 * @param date
	 * @return
	 */
	Map<String, Object> findOnedayOneFinishTask(String vipId, String serviceId, String date);

	Page<Map<String, Object>> findOnePage(Map<String, Object> params, Pageable pageable);

	Map<String, Object> findOrderIsOver(String lessonServiceId);

	List<Map<String, Object>> findOverTimeList();

	List<Map<String, Object>> BeginLessonTips();

	List<Map<String, Object>> xbTodayFinishList(String vipId, String serviceId);

	Map<String, Object> findchildInfoByCourseId(String courseId);

	List<Map<String, Object>> findXbFeedbackInfo(String courseId);

	Map<String, Object> findRefundsInfo(String orderDetailsId);
}
