| | |
| | | return success(BeanUtils.toBean(appointment, AppointmentRespVO.class)); |
| | | } |
| | | |
| | | @GetMapping("/get-by-patient") |
| | | @Operation(summary = "获得预约") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('ecg:appointment:query')") |
| | | public CommonResult<AppointmentRespVO> getAppointmentByPatient(@RequestParam("patId") String patId) { |
| | | AppointmentDO appointment = appointmentService.getAppointmentByPatId( patId ); |
| | | return success(BeanUtils.toBean(appointment, AppointmentRespVO.class)); |
| | | } |
| | | |
| | | @GetMapping("/page") |
| | | @Operation(summary = "获得预约分页") |
| | | @PreAuthorize("@ss.hasPermission('ecg:appointment:query')") |
| | |
| | | + bookEndTime.getHour()*100 + bookEndTime.getMinute() ); |
| | | |
| | | //queueSaveReqVO.setBookCheckType( Byte.valueOf(appointmentExternal.getPlanDefItemList().getPlanDefItem().getPlanDefItemcode()) ); |
| | | queueSaveReqVO.setBookCheckType( (byte)10 ); |
| | | queueSaveReqVO.setBookCheckType( 10 ); |
| | | |
| | | queueSaveReqVO.setSeqNum(1); |
| | | queueSaveReqVO.setStatus((byte)10); |