package com.gkhy.exam.system.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.gkhy.exam.common.api.CommonPage;
|
import com.gkhy.exam.system.domain.ExCoursePhase;
|
|
/**
|
* <p>
|
* 课时批次表 服务类
|
* </p>
|
*
|
* @author kzy
|
* @since 2024-06-05 15:07:36
|
*/
|
public interface ExCoursePhaseService extends IService<ExCoursePhase> {
|
/**
|
* 根据条件分页查询批次列表
|
* @param coursePhase
|
* @return
|
*/
|
CommonPage selectCoursePhaseList(ExCoursePhase coursePhase);
|
|
|
/**
|
* 根据id查询批次信息
|
*
|
* @param phaseId 批次ID
|
* @return
|
*/
|
public ExCoursePhase selectCoursePhaseById(Long phaseId);
|
|
|
/**
|
* 新增批次
|
*
|
* @param coursePhase 批次信息
|
* @return 结果
|
*/
|
public int insertCoursePhase(ExCoursePhase coursePhase);
|
|
|
/**
|
* 修改批次
|
*
|
* @param coursePhase 批次信息
|
* @return 结果
|
*/
|
public int updateCoursePhase(ExCoursePhase coursePhase);
|
|
/**
|
* 删除批次信息
|
*
|
* @param phaseId 批次ID
|
* @return 结果
|
*/
|
public int deleteCoursePhaseById(Long phaseId);
|
|
|
/**
|
* 校验批次名称是否唯一
|
*
|
* @param coursePhase 批次信息
|
* @return boolean
|
*/
|
public boolean checkNameUnique(ExCoursePhase coursePhase);
|
|
|
}
|