小程序问卷提交
This commit is contained in:
parent
55447daef7
commit
563523a2e6
@ -67,7 +67,7 @@ public interface HomePageService {
|
|||||||
List<PatientTaskExecuteRecord> selectPatientTaskExecuteRecord(Long residentId);
|
List<PatientTaskExecuteRecord> selectPatientTaskExecuteRecord(Long residentId);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 已完成满意度问卷
|
* 满意度问卷
|
||||||
*
|
*
|
||||||
* @param residentId 居民信息
|
* @param residentId 居民信息
|
||||||
* @return SatisfactionQuestionnaire
|
* @return SatisfactionQuestionnaire
|
||||||
|
|||||||
@ -182,7 +182,7 @@ public class HomePageServiceImpl implements HomePageService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 人工随访代办处理
|
* 小程序问卷提交
|
||||||
*
|
*
|
||||||
* @param dto 患者问卷提交结果信息表DTO
|
* @param dto 患者问卷提交结果信息表DTO
|
||||||
* @return 结果
|
* @return 结果
|
||||||
|
|||||||
@ -39,4 +39,9 @@ public class SatisfactionQuestionnaire {
|
|||||||
* 患者问卷id
|
* 患者问卷id
|
||||||
*/
|
*/
|
||||||
private Long patientQuestionSubmitResultId;
|
private Long patientQuestionSubmitResultId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 签约患者管理任务节点表id
|
||||||
|
*/
|
||||||
|
private Long manageRouteNodeId;
|
||||||
}
|
}
|
||||||
@ -73,10 +73,12 @@
|
|||||||
SELECT spmrn.question_info_id templateId,
|
SELECT spmrn.question_info_id templateId,
|
||||||
spmrn.questionnaire_name,
|
spmrn.questionnaire_name,
|
||||||
pqsr.create_time executeTime,
|
pqsr.create_time executeTime,
|
||||||
|
spmrn.id manageRouteNodeId,
|
||||||
(SELECT id
|
(SELECT id
|
||||||
FROM patient_question_submit_result
|
FROM patient_question_submit_result pqsr2
|
||||||
WHERE resident_id = #{residentId}
|
WHERE pqsr2.resident_id = #{residentId}
|
||||||
AND question_info_id = spmrn.question_info_id) patientQuestionSubmitResultId
|
AND pqsr2.question_info_id = spmrn.question_info_id
|
||||||
|
AND pqsr2.manage_route_node_id = spmrn.id ) patientQuestionSubmitResultId
|
||||||
from sign_patient_manage_route_node spmrn
|
from sign_patient_manage_route_node spmrn
|
||||||
LEFT JOIN sign_patient_manage_route spmr on spmr.id = spmrn.manage_route_id
|
LEFT JOIN sign_patient_manage_route spmr on spmr.id = spmrn.manage_route_id
|
||||||
LEFT JOIN patient_info pi ON pi.id = spmr.patient_id
|
LEFT JOIN patient_info pi ON pi.id = spmr.patient_id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user