package com.ssj.service.kmt.service;

import com.ssj.bean.kmt.kmt.domain.KmtCourseQuestionDetail;
import com.ssj.framework.core.common.service.BaseService;

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

public interface KmtCourseQuestionDetailService  extends BaseService<KmtCourseQuestionDetail, String> {

	public KmtCourseQuestionDetail findCourseQuestionDetail(String courseKnowId, Integer mark);
	
	public List<Map<String,Object>> findFeedbackRatioMap(String courseKnowId);
	public List<Map<String,Object>> findCourseKnowIdMap(String courseKnowId);
	
	public List<Map<String, Object>> findFeedbackWrongRatioMap(String courseId);
	
	public Integer findHowDetailsIdByAllCount(String zuoybKnowHowDetailId, String vipId, String courseKnowId);
	
	public Integer findHowDetailsIdByWrongCount(String zuoybKnowHowDetailId, String vipId, String courseId);
	
	public Integer countFeedBackNum();
	
	public List<Map<String, Object>> findFeedbackRatioVipMap();

	/**
	 * 查询一段时间内学生的一对一知识维度
	 * @param vipId
	 * @param beginTime
	 * @param endTime
	 * @return
	 */
	public List<Map<String, Object>> get121KnowModuleData(String vipId, String subject, String beginTime, String endTime);

	/**
	 * 查询一段时间内容学生的一对一技能维度
	 * @param vipId
	 * @param subject
	 * @param beginTime
	 * @param endTime
	 * @return
	 */
	public List<Map<String, Object>> get121SkillData(String vipId, String subject, String beginTime, String endTime);

	/**
	 * 查询讲义的题目记录,带顺序
	 * @param courseKnowId
	 * @return
	 */
	List<KmtCourseQuestionDetail> findByCourseKnowId(String courseKnowId);
}
