package com.ssj.service.sys.imlibuser.service;

import com.ssj.bean.sys.imlibuser.TbClassStudentTemp;
import com.ssj.bean.weixin.libmy.domain.TbLibJoin;
import com.ssj.framework.core.common.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

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

public interface TbClassStudentTempService extends BaseService<TbClassStudentTemp, String> {
	
	
	/**
	  * 查询学生添加失败的分页
	  * @param searchParam
	  * @param pageable
	  * @return
	  */
	 Page<Map<String, Object>> findStudentErrorByPage(Map<String, Object> searchParam, Pageable pageable);
	 
	 /**
	  * 添加学生
	  * @param tbClassStudent
	  * @return
	  */
	 int insertTbClassStudent(TbLibJoin libJoin,TbClassStudentTemp tbLibImStudentTemp);
	 
	 /**
	  * 批量学生
	  * @param tbClassStudent
	  * @return
	  */
	 int insertBatchTbClassStudent(List<TbClassStudentTemp> tbLibImStudentTemps);
	 
	 
	 /**
	  * 添加学生的服务
	  * @param tbLibImStudentTemp
	  * @return
	  */
	 public boolean insertTbClassStudentByService(TbClassStudentTemp tbLibImStudentTemp);
	 
	 
	 List<TbClassStudentTemp> findTbLibImStudentTempByVipId(String libId,String vipId);
	 
	 
	
}
