| | |
| | | @Operation(summary = "开诊设置") |
| | | @PreAuthorize("@ss.hasPermission('ecg:queue:setting')") |
| | | public CommonResult<Integer> openingSetting() { |
| | | // 从DB同步工位的患者队列数据到 工位优先队列, 可能有新开工位 |
| | | queueService.initQueue(); |
| | | return success(0); |
| | | } |
| | | |
| | | @GetMapping("/reorder") |
| | | @Operation(summary = "开诊前一刻,对就诊准备的人员重新排序") |
| | | @GetMapping("/startbiz") |
| | | @Operation(summary = "手动开诊") |
| | | @PreAuthorize("@ss.hasPermission('ecg:queue:setting')") |
| | | public CommonResult<Integer> queueReorder() { |
| | | queueService.reorderQueue(); |
| | | public CommonResult<Integer> startBiz() { |
| | | queueService.startBiz(); |
| | | return success(0); |
| | | } |
| | | |