获取患者进行中的检测订单
This commit is contained in:
@@ -54,7 +54,12 @@ class DetectionController extends AbstractController
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
// 创建检测订单
|
||||
/**
|
||||
* 创建检测订单
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function addDetectionOrder(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(DetectionRequest::class);
|
||||
@@ -64,4 +69,20 @@ class DetectionController extends AbstractController
|
||||
$data = $detectionService->addDetectionOrder();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取患者进行中的检测订单
|
||||
* @return ResponseInterface
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function getDetectionDoctorOrderFirst(): ResponseInterface
|
||||
{
|
||||
$request = $this->container->get(DetectionRequest::class);
|
||||
$request->scene('getDetectionDoctorOrderFirst')->validateResolved();
|
||||
|
||||
$detectionService = new DetectionService();
|
||||
$data = $detectionService->getDetectionDoctorOrderFirst();
|
||||
return $this->response->json($data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user