package com.ssj.service.weixin.zuoyb.service;

import com.ssj.bean.weixin.zyb.domain.ZuoybStudentWorkDetails;
import com.ssj.framework.core.common.service.BaseService;

import java.util.List;

/** 
 * @author  ZhangCaibao 
 * @version 2017年7月19日 下午4:38:49 
 * 类说明 
 */
public interface ZuoybStudentWorkDetailsService  extends BaseService<ZuoybStudentWorkDetails, String>{

	public List<ZuoybStudentWorkDetails> getRecentByLibIdAndVipId(String libId,String vipId);
	/**
	 *  保存打分数据
	* @param workDetailsList
	* @param workId
	* @param libId
	* 创建人：ZhangCaibao 
	* 2017年11月1日 下午3:36:03 
	* @void
	 */
	public void saveWorkDetails(List<ZuoybStudentWorkDetails> workDetailsList,String workId,String libId);
	
	public void deleteWorkDetalByStudentWorkId(String studentWorkId);

	/**
	 * 查询未完成内容
	 * @param workId
	 * @return
	 */
	public List<String> getUnfinishList (String workId);

	/**
	 * 查询当前作业的完成情况
	 * @param workId
	 * @return
	 */
	public ZuoybStudentWorkDetails getFinishSituation (String workId);

	/**
	 * 通过num和作业吧id查询详情
	 * @param workId
	 * @param num
	 * @return
	 */
	public ZuoybStudentWorkDetails getDetailByNum(String workId, int num);

	/**
	 * 查询家长关注的点
	 * @param workId
	 * @return
	 */
	public List<ZuoybStudentWorkDetails> getConcernPoint (String workId);


	/**
	 * 查询学生的学习状态
	 * @param workId
	 * @return
	 */
	List<ZuoybStudentWorkDetails> getLearningStatus(String workId);
}
