package yangtz.cs.liu.campus.mapper.curricula;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.curricula.SchoolDivisionClasses;

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

public interface DivisionClassesMapper extends BaseMapper<SchoolDivisionClasses> {

    /**
     * 获取选择某种课程的总人数
     * @param curriculaId
     * @return
     */
    List<Map<String, String>> getNumber(@Param("curriculaId") Long curriculaId);

}
