package com.qxueyou.scc.exam.service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.qxueyou.scc.base.model.Pager;
|
import com.qxueyou.scc.base.model.Result;
|
import com.qxueyou.scc.exam.model.ExamBatchClassRe;
|
import com.qxueyou.scc.exam.model.ExamBatchInfo;
|
|
/**
|
* 考试批次服务类
|
*
|
* @author kevin
|
* @createTime 2018-03-11
|
*/
|
public interface IExamBatchService {
|
|
/**
|
* 查询考试批次数量
|
* @param param 查询参数
|
* @return
|
*/
|
int queryExamBatchCount(Map<String,Object> param);
|
|
|
/**
|
* 查询考试批次列表
|
* @param param 查询参数
|
* @param page 分页对象
|
* @return
|
*/
|
List<ExamBatchInfo> queryExamBatchList(Map<String,Object> param,Pager page);
|
|
List<Map<String,Object>> queryListForIdName();
|
|
List<String> queryComNameByBatchId(String id);
|
List<String> queryStudentNoByComNameAndBatch(String comName,String classId);
|
|
|
/**
|
* 新增考试批次
|
*
|
* @param examBatchInfo
|
*
|
* @return
|
*/
|
String addExamBatch(ExamBatchInfo examBatchInfo);
|
|
/**
|
* 删除考试批次
|
*
|
* @param elxamBatchIds
|
* 考试批次id
|
* @return
|
*/
|
Result deleteExamBatch(String[] elxamBatchIds);
|
|
/**
|
* 更新考试批次信息
|
*
|
* @param noticeId
|
* 考试批次id
|
* @return
|
*/
|
Result updateExamBatch(ExamBatchInfo examBatchInfo);
|
|
/**
|
* 考试批次id 查询考试批次
|
* @param examBatchId
|
* @return
|
*/
|
ExamBatchInfo queryExamBatchDetail(String examBatchId);
|
|
public ExamBatchClassRe queryExamBatchByClassId(String examBatchId);
|
|
}
|