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

import com.baomidou.mybatisplus.extension.service.IService;
import yangtz.cs.liu.campus.domain.curricula.SchoolDivisionClasses;
import yangtz.cs.liu.campus.vo.curricula.SchoolDivisionClassesVo;

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

public interface IDivisionClassesService extends IService<SchoolDivisionClasses> {


    /**
     * 首次分班规则
     * @param list
     * @return
     */
    int insertDivisionClasses(List<SchoolDivisionClassesVo> list);

    /**
     * 获取每种课程选择人数
     * @return
     */
    List<Map<String,String>> getNumber(Long curriculaId);

    /**
     * 二次分班规则
     * @param list
     * @return
     */
    int insertDivisionClassesEc(List<SchoolDivisionClassesVo> list);
}
