package com.ssj.dao.weixin.library.dao;

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

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

public interface LibVipDao {
    /**
     * 通过老师id查询答疑学生列表
     * @param searchParams
     * @param pageable
     * @return
     */
    public Page<Map<String, Object>> findDistinctVipByTeacherId(Map<String, Object> searchParams, Pageable pageable);

    Page<Map<String, Object>> findVipByOrgTeacherId(Map<String, Object> searchParams, Pageable pageable);
    
    public List<Map<String, Object>> findVipByLibIdMaxActivateTime(String libId,Date activateTime,String species);
}

