修正医生处方列表参数错误问题,新增获取处方列表接口

This commit is contained in:
2023-03-13 10:44:38 +08:00
parent d8d30b9328
commit 673dca88ca
13 changed files with 199 additions and 20 deletions
+16
View File
@@ -157,4 +157,20 @@ class PatientOrderController extends AbstractController
$data = $PatientOrderService->addPatientProductOrder();
return $this->response->json($data);
}
/**
* 获取处方订单列表
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getPatientPrescriptionOrderList(): ResponseInterface
{
$request = $this->container->get(PatientOrderRequest::class);
$request->scene('getPatientPrescriptionOrderList')->validateResolved();
$PatientOrderService = new PatientOrderService();
$data = $PatientOrderService->getPatientPrescriptionOrderList();
return $this->response->json($data);
}
}