新增了医生赠送沟通回合数

This commit is contained in:
2024-01-10 09:39:42 +08:00
parent c5ec194984
commit cc1ff2f89d
7 changed files with 348 additions and 29 deletions
+18
View File
@@ -135,6 +135,8 @@ class InquiryController extends AbstractController
/**
* 获取患者最后一条问诊订单id
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function getPatientLastInquiryId(): ResponseInterface
{
@@ -145,4 +147,20 @@ class InquiryController extends AbstractController
$data = $InquiryService->getPatientLastInquiryId();
return $this->response->json($data);
}
/**
* 医生赠送沟通回合数
* @return ResponseInterface
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
public function addDoctorGiveInquiryOrder(): ResponseInterface
{
$request = $this->container->get(InquiryRequest::class);
$request->scene('addDoctorGiveInquiryOrder')->validateResolved();
$InquiryService = new InquiryService();
$data = $InquiryService->addDoctorGiveInquiryOrder();
return $this->response->json($data);
}
}