eight
2024-08-06 0e52b40501310d9339ec816182ae7302a93c1cb2
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
package cn.lihu.jh.module.ecg.service.appointment;
 
import cn.lihu.jh.module.ecg.controller.admin.appointment.vo.*;
import cn.lihu.jh.module.ecg.dal.dataobject.appointment.AppointmentDO;
import cn.lihu.jh.framework.common.pojo.PageResult;
import cn.lihu.jh.framework.common.pojo.PageParam;
 
import javax.validation.Valid;
 
/**
 * 预约 Service 接口
 *
 * @author 马剑波
 */
public interface AppointmentService {
 
    /**
     * 创建预约
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO);
 
    /**
     * 更新预约
     *
     * @param updateReqVO 更新信息
     */
    void updateAppointment(@Valid AppointmentSaveReqVO updateReqVO);
 
    /**
     * 删除预约
     *
     * @param id 编号
     */
    void deleteAppointment(Integer id);
 
    /**
     * 获得预约
     *
     * @param id 编号
     * @return 预约
     */
    AppointmentDO getAppointment(Integer id);
 
    /**
     * 获得预约分页
     *
     * @param pageReqVO 分页查询
     * @return 预约分页
     */
    PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO);
 
}