eight
2024-09-18 a165b1d7c2ef8ef65d1d87fb99c9ec687a31ee47
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/AppointmentController.java
@@ -185,6 +185,8 @@
    public CommonResult<String> appointmentConfirm(@RequestBody AppointmentConfirmReqVO confirmReqVO) {
        //TODO 先从预约表取数据,后续对接数据平台查预约数据
        AppointmentDO appointment = appointmentService.getAppointment(confirmReqVO.getId());
        if (null == appointment)
            return error(PATIENT_NOT_EXISTS);
        if ( !DateUtils.isToday(appointment.getBookDate()) )
            return error( APPOINTMENT_NOT_TODAY);