| | |
| | | Map<String, List<RoomRespVO>> map = list2.stream().collect(Collectors.groupingBy(RoomRespVO::getRoomName)); |
| | | return success(map); |
| | | } |
| | | |
| | | @GetMapping(value = {"/reset-room"}) |
| | | @Operation(summary = "重置门诊室", description = "主要用于每天关闭工位") |
| | | public CommonResult<String> resetRoom() { |
| | | roomService.resetRoom(); |
| | | return success("reset room ok"); |
| | | } |
| | | |
| | | @GetMapping(value = {"/get-opening-flag"}) |
| | | @Operation(summary = "当前开诊状态获取", description = "当前开诊状态获取 监控用") |
| | | public CommonResult<Integer> getOpeningFlag() { |
| | | Integer openingFlag = roomService.getOpeningFlag(); |
| | | return success( openingFlag ); |
| | | } |
| | | |
| | | } |