| | |
| | | } |
| | | |
| | | @Override |
| | | public AppointmentDO getAppointmentByPatId(String patId) { |
| | | public AppointmentDO getCurAppointmentByPatId(String patId) { |
| | | AppointmentDO appointmentDO = appointmentMapper.getCurrentPatId( patId ); |
| | | return appointmentDO; |
| | | } |
| | | |
| | | @Override |
| | | public AppointmentDO queryAndCreateAppointmentByPatId(String patId) { |
| | | // 先从医院平台查询 |
| | | AppointmentDO appointmentExtermal = getAppointmentExtermal( patId ); |
| | | if (null != appointmentExtermal && null != appointmentExtermal.getBookDate() && appointmentExtermal.getBookDate().isEqual(LocalDate.now()) ) { |