|
@ -22,7 +22,7 @@ public interface SurveyUserAnswerDao extends JpaRepository<WlyySurveyUserAnswerD
|
|
|
@Query("From WlyySurveyUserAnswerDO c WHERE c.tempOptionCode = ?1 and c.surveyTempCode = ?2")
|
|
|
List<WlyySurveyUserAnswerDO> findBytempOptionCode(String tempOptionCode,String surveyTempCode);
|
|
|
|
|
|
@Query("SELECT DISTINCT c.patient from WlyySurveyUserAnswerDO c WHERE c.tempQuestionCode = ?1 and c.surveyTempCode = ?2")
|
|
|
@Query("SELECT DISTINCT c from WlyySurveyUserAnswerDO c WHERE c.tempQuestionCode = ?1 and c.surveyTempCode = ?2")
|
|
|
List<WlyySurveyUserAnswerDO> findByTempQuestionCodeDistinctPatient(String tempQuestionCode,String surveyTempCode );
|
|
|
|
|
|
|