heheng
2025-06-25 076baf821f6ff0296826ecebac31b45ecce346a3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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);
 
 
}