From 9d5cd95015b4504de54d42e81906f8ec139a91ef Mon Sep 17 00:00:00 2001 From: zhangheng <3226558941@qq.com> Date: Mon, 29 Apr 2024 16:17:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=BB=A1=E6=84=8F?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xinelu/mobile/controller/homepage/HomePageController.java | 4 ++-- .../com/xinelu/mobile/service/homepage/HomePageService.java | 2 +- .../mobile/service/homepage/Impl/HomePageServiceImpl.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/postdischarge-mobile/src/main/java/com/xinelu/mobile/controller/homepage/HomePageController.java b/postdischarge-mobile/src/main/java/com/xinelu/mobile/controller/homepage/HomePageController.java index 6a621f8e..b4882443 100644 --- a/postdischarge-mobile/src/main/java/com/xinelu/mobile/controller/homepage/HomePageController.java +++ b/postdischarge-mobile/src/main/java/com/xinelu/mobile/controller/homepage/HomePageController.java @@ -53,8 +53,8 @@ public class HomePageController extends BaseController { * 问卷记录信息 */ @GetMapping("/selectQuestionSubmit") - public AjaxResult selectQuestionSubmit(Long patientQuestionSubmitResultId) { - return homePageService.selectQuestionSubmit(patientQuestionSubmitResultId); + public AjaxResult selectQuestionSubmit(Long patientQuestionSubmitResultId,Long patientTaskExecuteRecordId) { + return homePageService.selectQuestionSubmit(patientQuestionSubmitResultId,patientTaskExecuteRecordId); } /** diff --git a/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/HomePageService.java b/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/HomePageService.java index 782c6841..ffb89cbb 100644 --- a/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/HomePageService.java +++ b/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/HomePageService.java @@ -42,7 +42,7 @@ public interface HomePageService { * @param patientQuestionSubmitResultId 记录表id * @return AjaxResult */ - AjaxResult selectQuestionSubmit(Long patientQuestionSubmitResultId); + AjaxResult selectQuestionSubmit(Long patientQuestionSubmitResultId,Long patientTaskExecuteRecordId); /** * 问卷提交 diff --git a/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/Impl/HomePageServiceImpl.java b/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/Impl/HomePageServiceImpl.java index f9400858..4a97f9b2 100644 --- a/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/Impl/HomePageServiceImpl.java +++ b/postdischarge-mobile/src/main/java/com/xinelu/mobile/service/homepage/Impl/HomePageServiceImpl.java @@ -152,8 +152,8 @@ public class HomePageServiceImpl implements HomePageService { * @return AjaxResult */ @Override - public AjaxResult selectQuestionSubmit(Long patientQuestionSubmitResultId) { - return AjaxResult.success(submitResultMapper.selectResultByTaskExecuteRecordId(null, patientQuestionSubmitResultId)); + public AjaxResult selectQuestionSubmit(Long patientQuestionSubmitResultId, Long patientTaskExecuteRecordId) { + return AjaxResult.success(submitResultMapper.selectResultByTaskExecuteRecordId(patientTaskExecuteRecordId, patientQuestionSubmitResultId)); } /**