package com.keao.edu.user.service;


import com.keao.edu.common.page.PageInfo;
import com.keao.edu.common.service.BaseService;
import com.keao.edu.user.dto.ExamRegistrationStatisticsDto;
import com.keao.edu.user.entity.ExamRegistration;
import com.keao.edu.user.page.ExamRegistrationQueryInfo;

import java.util.Map;

public interface ExamRegistrationService extends BaseService<Long, ExamRegistration> {

   Map<String,Object> addRegistration(ExamRegistration examRegistration) throws Exception;

   /**
    * @describe 查询考级项目报名学员
    * @author Joburgess
    * @date 2020.06.28
    * @param queryInfo:
    * @return com.keao.edu.common.page.PageInfo<com.keao.edu.user.entity.ExamRegistration>
    */
   PageInfo<ExamRegistration> queryExamRegistrationStudents(ExamRegistrationQueryInfo queryInfo);

   /**
    * @describe 统计招生信息
    * @author Joburgess
    * @date 2020.06.30
    * @param organId:
    * @return com.keao.edu.user.dto.ExamRegistrationStatisticsDto
    */
   ExamRegistrationStatisticsDto getExamRegistrationStaticsInfo(Integer organId, Integer examId);

}
