新增:获取患者服务包订单列表

This commit is contained in:
2024-04-12 13:30:56 +08:00
parent ead795094c
commit 5971ca7d6e
5 changed files with 327 additions and 3 deletions
+27
View File
@@ -329,4 +329,31 @@ class PatientOrderController extends AbstractController
$data = $PatientOrderService->putCancelPatientOrder();
return $this->response->json($data);
}
/**
* 获取患者服务包订单列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getPatientServiceOrderList(): ResponseInterface
{
$request = $this->container->get(PatientOrderRequest::class);
$request->scene('getPatientServiceOrderList')->validateResolved();
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->getPatientServiceOrderList();
return $this->response->json($data);
}
/**
* 获取患者问诊订单详情
* @return ResponseInterface
*/
public function getPatientServiceOrderInfo(): ResponseInterface
{
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->getPatientInquiryOrderInfo();
return $this->response->json($data);
}
}