| | |
| | | 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.module.ecg.controller.admin.appointment.vo.AppointmentConfirmReqVO; |
| | | import cn.lihu.jh.module.ecg.controller.admin.appointment.vo.AppointmentPageReqVO; |
| | | import cn.lihu.jh.module.ecg.controller.admin.appointment.vo.AppointmentSaveReqVO; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.appointment.AppointmentDO; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 预约 Service 接口 |
| | |
| | | */ |
| | | AppointmentDO getAppointment(Long id); |
| | | |
| | | |
| | | /** |
| | | * 获得预约分页 |
| | | * |
| | | * @param pageReqVO 分页查询 |
| | | * @return 预约分页 |
| | | */ |
| | | PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO); |
| | | |
| | | |
| | | /** |
| | | * 申请单创建 |
| | | * |
| | | * @param dataMap 请求数据 |
| | | * @return 预约编号 |
| | | */ |
| | | Long handleAppointmentCreate(Map<String, Object> dataMap); |
| | | |
| | | /** |
| | | * 申请单更新 |
| | | * |
| | | * @param dataMap 请求数据 |
| | | */ |
| | | void handleAppointmentUpdate(Map<String, Object> dataMap); |
| | | |
| | | /** |
| | | * 申请单状态更新 |
| | | * |
| | | * @param dataMap 请求数据 |
| | | */ |
| | | void handleAppointmentStateUpdate(Map<String, Object> dataMap); |
| | | |
| | | /** |
| | | * 处理检查预约状态新增 |
| | | * |
| | | * @param dataMap 请求数据 |
| | | */ |
| | | void handleCheckAppointmentUpdate(Map<String, Object> dataMap); |
| | | |
| | | /** |
| | | * 获得当天的预约 根据PatID and CheckType |
| | | * |
| | |
| | | /** |
| | | * 获得预约 |
| | | * |
| | | * @param patId 编号 |
| | | * @param patCode 编号 |
| | | * @return 预约 |
| | | */ |
| | | List<AppointmentDO> queryAndCreateAppointmentByPatId(String patCode); |
| | | |
| | | /** |
| | | * 获得预约分页 |
| | | * |
| | | * @param pageReqVO 分页查询 |
| | | * @return 预约分页 |
| | | */ |
| | | PageResult<AppointmentDO> getAppointmentPage(AppointmentPageReqVO pageReqVO); |
| | | |
| | | List<AppointmentDO> getAppointmentExtermal(String patId); |
| | | |
| | | Integer appoitmentConfirm(AppointmentConfirmReqVO appointmentConfirmReqVO); |
| | | |
| | | public AppointmentDO getByApplyNo(String applyNo); |
| | | } |