新增 获取患者问诊订单列表 接口

This commit is contained in:
2023-08-01 15:45:52 +08:00
parent 2068019145
commit 15738f0c5a
4 changed files with 163 additions and 0 deletions
+17
View File
@@ -236,4 +236,21 @@ class PatientOrderController extends AbstractController
$data = $PatientOrderService->deletePatientPrescriptionOrder();
return $this->response->json($data);
}
/**
* 获取患者检测订单列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getPatientDetectionOrderList(): ResponseInterface
{
$request = $this->container->get(PatientOrderRequest::class);
$request->scene('getPatientDetectionOrderList')->validateResolved();
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->getPatientDetectionOrderList();
return $this->response->json($data);
}
}