128 lines
2.9 KiB
Java
128 lines
2.9 KiB
Java
package cn.com.tenlion.dao.examplan;
|
|
|
|
import cn.com.tenlion.pojo.bos.examplan.ExamPlanBO;
|
|
import cn.com.tenlion.pojo.dtos.examplan.ExamPlanDTO;
|
|
import cn.com.tenlion.pojo.dtos.examplan.MyExamDTO;
|
|
import cn.com.tenlion.pojo.pos.examplan.ExamPlanPO;
|
|
import ink.wgink.exceptions.RemoveException;
|
|
import ink.wgink.exceptions.SaveException;
|
|
import ink.wgink.exceptions.SearchException;
|
|
import ink.wgink.exceptions.UpdateException;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @ClassName: IExamPlanDao
|
|
* @Description: 考试计划
|
|
* @Author: CodeFactory
|
|
* @Date: 2021-06-09 10:41:01
|
|
* @Version: 3.0
|
|
**/
|
|
@Repository
|
|
public interface IExamPlanDao {
|
|
|
|
/**
|
|
* 新增考试计划
|
|
*
|
|
* @param params
|
|
* @throws SaveException
|
|
*/
|
|
void save(Map<String, Object> params) throws SaveException;
|
|
|
|
/**
|
|
* 删除考试计划
|
|
*
|
|
* @param params
|
|
* @throws RemoveException
|
|
*/
|
|
void remove(Map<String, Object> params) throws RemoveException;
|
|
|
|
/**
|
|
* 删除考试计划(物理)
|
|
*
|
|
* @param params
|
|
* @throws RemoveException
|
|
*/
|
|
void delete(Map<String, Object> params) throws RemoveException;
|
|
|
|
/**
|
|
* 修改考试计划
|
|
*
|
|
* @param params
|
|
* @throws UpdateException
|
|
*/
|
|
void update(Map<String, Object> params) throws UpdateException;
|
|
|
|
/**
|
|
* 考试计划详情
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
ExamPlanDTO get(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 考试计划详情
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
ExamPlanBO getBO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 考试计划详情
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
ExamPlanPO getPO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 考试计划列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<ExamPlanDTO> list(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 考试计划列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<ExamPlanBO> listBO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 考试计划列表
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<ExamPlanPO> listPO(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 考试计划统计
|
|
*
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
Integer count(Map<String, Object> params) throws SearchException;
|
|
|
|
/**
|
|
* 我的考试列表
|
|
* @param params
|
|
* @return
|
|
* @throws SearchException
|
|
*/
|
|
List<MyExamDTO> myExam(Map<String, Object> params) throws SearchException;
|
|
} |