| | |
| | | //TODO 先从预约表取数据,后续对接数据平台查预约数据 |
| | | AppointmentDO appointment = appointmentService.getAppointment(confirmReqVO.getId()); |
| | | |
| | | /* TODO for Testing |
| | | if ( !DateUtils.isToday(appointment.getBookDate()) ) |
| | | return error( new ErrorCode(101, "不是今天的预约用户")); |
| | | */ |
| | | |
| | | QueueSaveReqVO queueSaveReqVO = new QueueSaveReqVO(); |
| | | queueSaveReqVO.setPatId( appointment.getPatId()); |
| | | queueSaveReqVO.setPatName( appointment.getPatName() ); |
| | | queueSaveReqVO.setPatGender( appointment.getPatGender()); |
| | | queueSaveReqVO.setBookDate( appointment.getBookDate() ); |
| | | queueSaveReqVO.setBookTimeslot( appointment.getBookTimeslot() ); |
| | | queueSaveReqVO.setBookCheckType( appointment.getBookCheckType() ); |
| | | queueSaveReqVO.setPassed((byte)0); |