package com.yonge.cooleshow.biz.dal.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yonge.cooleshow.biz.dal.vo.TeacherTotalVo;
import com.yonge.cooleshow.biz.dal.dto.search.TeacherTotalSearch;
import com.yonge.cooleshow.biz.dal.entity.TeacherTotal;

import java.util.List;

/**
 * 教师统计总表 服务类
 * @author liweifan
 * @date 2022-04-11
 */
public interface TeacherTotalService extends IService<TeacherTotal>  {

	/**
     * 查询详情
     * @author liweifan
 	 * @date 2022-04-11
     */
	TeacherTotalVo detail(Long id);

    /**
     * 分页查询
     * @author liweifan
 	 * @date 2022-04-11
     */
    IPage<TeacherTotalVo> selectPage(IPage<TeacherTotalVo> page, TeacherTotalSearch query);

	/***
	 * 查询所有老师统计数据
	 * @author liweifan
	 * @updateTime 2022/3/28 10:12
	 * @return: java.util.List<com.yonge.cooleshow.biz.dal.vo.TeacherTotalVo>
	 */
	List<TeacherTotal> queryTeacherTotal();

	/***
	 * 通过redis key查询
	 * @author liweifan
	 * @param: key
	 * @updateTime 2022/3/29 10:41
	 * @return: java.lang.Object
	 */
	Object getRedisValueByKey(String key);
}