|
|
@@ -11,7 +11,7 @@
|
|
|
from user_question_answer_value t
|
|
|
left join question_answer_title uat on t.title_id = uat.title_id and uat.status_cd = '0'
|
|
|
left join question_answer qa on uat.qa_id = qa.qa_id and qa.status_cd = '0'
|
|
|
- left join u_user uu on t.person_id = uu.user_id and uu.status_cd = '0'
|
|
|
+ left join u_user uu on t.user_qa_id = uu.user_id and uu.status_cd = '0'
|
|
|
left join question_answer_title_value qatv on t.value_id = qatv.value_id and qatv.status_cd = '0'
|
|
|
left join t_dict td on qa.qa_type = td.status_cd and td.table_name = 'question_answer' and td.table_columns = 'qa_type'
|
|
|
where 1=1
|
|
|
@@ -77,7 +77,7 @@
|
|
|
from user_question_answer_value t
|
|
|
left join question_answer_title uat on t.title_id = uat.title_id and uat.status_cd = '0'
|
|
|
left join question_answer qa on uat.qa_id = qa.qa_id and qa.status_cd = '0'
|
|
|
- left join u_user uu on t.person_id = uu.user_id and uu.status_cd = '0'
|
|
|
+ left join u_user uu on t.user_qa_id = uu.user_id and uu.status_cd = '0'
|
|
|
left join question_answer_title_value qatv on t.value_id = qatv.value_id and qatv.status_cd = '0'
|
|
|
left join t_dict td on qa.qa_type = td.status_cd and td.table_name = 'question_answer' and td.table_columns = 'qa_type'
|
|
|
where 1=1
|