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

import com.yonge.cooleshow.biz.dal.dto.req.TotalReq;
import com.yonge.cooleshow.biz.dal.vo.res.HomeTotalStudent;
import com.yonge.cooleshow.biz.dal.vo.res.HomeTotalTeacher;
import com.yonge.cooleshow.biz.dal.vo.res.HomeUserToDoNum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 首页统计查询
 *
 * @Author: liweifan
 * @Data: 2022/4/20 18:34
 */
public interface HomeDao {
    /***
     * 待办事项统计查询
     * @author liweifan
     * @updateTime 2022/4/20 18:39
     * @return: com.yonge.cooleshow.biz.dal.vo.HomeUserToDoNum
     */
    HomeUserToDoNum getUserToDoNum();

    /***
     * 统计查询老师信息
     * @author liweifan
     * @param: totalReq
     * @updateTime 2022/4/21 11:33
     * @return: java.util.List<com.yonge.cooleshow.biz.dal.vo.res.HomeTotalTeacher>
     */
    List<HomeTotalTeacher> totalTeacher(@Param("timeType") String timeType, @Param("param") TotalReq param);
    /***
     * 统计查询学生信息
     * @author liweifan
     * @param: timeType
     * @param: param
     * @updateTime 2022/4/21 15:11
     * @return: java.util.List<com.yonge.cooleshow.biz.dal.vo.res.HomeTotalStudent>
     */
    List<HomeTotalStudent> totalStudent(@Param("timeType") String timeType, @Param("param") TotalReq param);
}
