|
@@ -158,7 +158,8 @@
|
|
|
</select>
|
|
</select>
|
|
|
<select id="queryOwnerQuestionAnswers" parameterType="Map" resultType="Map">
|
|
<select id="queryOwnerQuestionAnswers" parameterType="Map" resultType="Map">
|
|
|
select qa.qa_name qaName,qa.qa_type qaType,qa.start_time startTime,qa.end_time endTime,qa.remark,
|
|
select qa.qa_name qaName,qa.qa_type qaType,qa.start_time startTime,qa.end_time endTime,qa.remark,
|
|
|
- qa.community_id communityId,qa.qa_id qaId,td.`name` qaTypeName
|
|
|
|
|
|
|
+ qa.community_id communityId,qa.qa_id qaId,td.`name` qaTypeName,
|
|
|
|
|
+ t.owner_name ownerName,t.link,t.room_name roomName
|
|
|
from user_question_answer t
|
|
from user_question_answer t
|
|
|
left join question_answer qa on t.qa_id = qa.qa_id and qa.status_cd = '0'
|
|
left join question_answer qa on t.qa_id = qa.qa_id and qa.status_cd = '0'
|
|
|
LEFT JOIN t_dict td on td.status_cd = qa.qa_type and td.table_name = 'question_answer' and td.table_columns = 'qa_type'
|
|
LEFT JOIN t_dict td on td.status_cd = qa.qa_type and td.table_name = 'question_answer' and td.table_columns = 'qa_type'
|