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,10 +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 cn.lihu.jh.module.ecg.feign.dto.AppointmentExternal;
import javax.validation.Valid;
import java.util.List;
/**
 * 预约 Service 接口
@@ -21,7 +20,7 @@
     * @param createReqVO 创建信息
     * @return 编号
     */
    Integer createAppointment(@Valid AppointmentSaveReqVO createReqVO);
    Long createAppointment(@Valid AppointmentSaveReqVO createReqVO);
    /**
     * 更新预约
@@ -35,7 +34,7 @@
     *
     * @param id 编号
     */
    void deleteAppointment(Integer id);
    void deleteAppointment(Long id);
    /**
     * 获得预约
@@ -43,15 +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 id 编号
     * @param patId 编号
     * @return 预约
     */
    AppointmentDO getAppointmentByPatId(String patId);
    List<AppointmentDO> queryAndCreateAppointmentByPatId(String patCode);
    /**
     * 获得预约分页
@@ -61,7 +68,7 @@
     */
    PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO);
    AppointmentDO getAppointmentExtermal(String mzzyh);
    List<AppointmentDO> getAppointmentExtermal(String patId);
    String appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
    Integer appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO);
}