新增 获取家庭成员病情记录详情

This commit is contained in:
2023-11-21 10:40:23 +08:00
parent 7df80196c2
commit 45e4fa886b
4 changed files with 113 additions and 7 deletions
@@ -33,7 +33,7 @@ class PatientPathographyController extends AbstractController
* 获取家庭成员病情记录列表-分页
* @return ResponseInterface
*/
public function getFamilyPathographyList(): ResponseInterface
public function getFamilyPathographyPage(): ResponseInterface
{
try {
$request = $this->container->get(PatientPathographyRequest::class);
@@ -41,12 +41,21 @@ class PatientPathographyController extends AbstractController
return $this->response->json(fail());
}
$request->scene('getFamilyPathographyList')->validateResolved();
$request->scene('getFamilyPathographyPage')->validateResolved();
$PatientPathographyService = new PatientPathographyService();
$data = $PatientPathographyService->getFamilyPathographyList();
$data = $PatientPathographyService->getFamilyPathographyPage();
return $this->response->json($data);
}
/**
* 获取家庭成员病情记录详情
* @return ResponseInterface
*/
public function getFamilyPathographyInfo(): ResponseInterface
{
$PatientPathographyService = new PatientPathographyService();
$data = $PatientPathographyService->getFamilyPathographyInfo();
return $this->response->json($data);
}
}