eight
2024-12-10 f77fbfc8c07881f5239ce49b0dc78faaec3628b0
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentService.java
@@ -3,9 +3,9 @@
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;
import java.util.List;
/**
 * 预约 Service 接口
@@ -20,7 +20,7 @@
     * @param createReqVO 创建信息
     * @return 编号
     */
    Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO);
    Long createAppointment(@Valid AppointmentSaveReqVO createReqVO);
    /**
     * 更新预约
@@ -34,7 +34,7 @@
     *
     * @param id 编号
     */
    void deleteAppointment(Integer id);
    void deleteAppointment(Long id);
    /**
     * 获得预约
@@ -42,7 +42,23 @@
     * @param id 编号
     * @return 预约
     */
    AppointmentDO getAppointment(Integer id);
    AppointmentDO getAppointment(Long id);
    /**
     * 获得当天的预约 根据PatID and CheckType
     *
     * @param patId 编号
     * @return 预约
     */
    AppointmentDO getCurAppointmentByPatIdAndCheckType(String patId, Integer checkType);
    /**
     * 获得预约
     *
     * @param patId 编号
     * @return 预约
     */
    List<AppointmentDO> queryAndCreateAppointmentByPatId(String patCode);
    /**
     * 获得预约分页
@@ -52,4 +68,7 @@
     */
    PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO);
}
    List<AppointmentDO> getAppointmentExtermal(String patId);
    Integer appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
}