package com.ruoyi.school.student.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.page.RespPage;
import com.ruoyi.school.member.domain.ScStudent;
import com.ruoyi.school.member.domain.req.ReqStudentSelect;
import com.ruoyi.school.member.domain.resp.RespSearchStudent;

import java.util.List;

/**
 * <p>
 * 会员基本信息 服务类
 * </p>
 *
 * @author zhangby
 * @since 2020-04-27 07:13:40
 */
public interface IScStudentService extends com.baomidou.mybatisplus.extension.service.IService<ScStudent> {

    List<RespSearchStudent> selectStudentSelect(ReqStudentSelect studentSelect, Page page);

    Long selectIdByName(String studentName);

    /**
     * 会员列表
     * @param max 最大数量
     * @return 会员姓名、会员ID
     */
    RespPage<ScStudent> selectStudentList(Integer max);

}
