| | |
| | | @Operation(summary = "根据患者编号.查询当天预约") |
| | | @Parameter(name = "id", description = "编号", required = true, example = "1024") |
| | | @PreAuthorize("@ss.hasPermission('ecg:appointment:query')") |
| | | public CommonResult<AppointmentRespVO> getCurAppointmentByPatId(@RequestParam("patId") String patId) { |
| | | AppointmentDO appointment = appointmentService.getCurAppointmentByPatId( patId ); |
| | | public CommonResult<AppointmentRespVO> getCurAppointmentByPatId(@RequestParam("patId") String patId, |
| | | @RequestParam("checkType") Integer checkType) { |
| | | AppointmentDO appointment = appointmentService.getCurAppointmentByPatIdAndCheckType( patId, checkType ); |
| | | return success(BeanUtils.toBean(appointment, AppointmentRespVO.class)); |
| | | } |
| | | |