| | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | |
| | | import cn.lihu.jh.module.ecg.controller.admin.room.vo.MonitorInfoVO; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.room.RoomDO; |
| | | import cn.lihu.jh.module.ecg.service.queue.QueueService; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | return success("reset room ok"); |
| | | } |
| | | |
| | | @GetMapping(value = {"/get-opening-flag"}) |
| | | @Operation(summary = "当前开诊状态获取", description = "当前开诊状态获取 监控用") |
| | | public CommonResult<Integer> getOpeningFlag() { |
| | | Integer openingFlag = roomService.getOpeningFlag(); |
| | | return success( openingFlag ); |
| | | @GetMapping(value = {"/monitor"}) |
| | | @Operation(summary = "监控状态获取", description = "监控状态获取 监控用") |
| | | public CommonResult<MonitorInfoVO> getMonitorInfo() { |
| | | MonitorInfoVO monitorInfoVO = roomService.getMonitorInfo(); |
| | | return success( monitorInfoVO ); |
| | | } |
| | | |
| | | @GetMapping("/start-biz") |