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

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

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.ssj.bean.sys.imlibuser.TbClassTeacherTemp;
import com.ssj.bean.weixin.libmy.domain.TbLibJoin;
import com.ssj.framework.core.common.service.BaseService;

public interface TbClassTeacherTempService extends BaseService<TbClassTeacherTemp, String> {
	
	 /**
	  * 查询老师添加失败的分页
	  * @param searchParam
	  * @param pageable
	  * @return
	  */
	 Page<Map<String, Object>> findTeacherErrorByPage(Map<String, Object> searchParam, Pageable pageable);
	
	 /**
	  * 添加老师
	  * @param TbClassTeacher
	  * @return
	  */
	 int insertTbLibImTeacher(TbLibJoin libJoin,TbClassTeacherTemp tbLibImTeacherTemp);
	 
	 /**
	  * 批量老师
	  * @param TbClassTeacher
	  * @return
	  */
	 int insertBatchTbLibImTeacher(List<TbClassTeacherTemp> tbLibImTeacherTemps);
	 
	 
	 TbClassTeacherTemp getTbLibImTeacherTempByLibId(String libId,String teacherId);
	 
	 

}
