insert into question_answer( qa_name,qa_type,start_time,remark,end_time,community_id,content,qa_id,state ) values ( #{qaName},#{qaType},#{startTime},#{remark},#{endTime},#{communityId},#{content},#{qaId},#{state} ) update question_answer t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.qa_name= #{qaName} , t.qa_type= #{qaType} , t.start_time= #{startTime} , t.remark= #{remark} , t.end_time= #{endTime} , t.state= #{state} , t.content= #{content} where 1=1 and t.qa_id= #{qaId} and t.community_id= #{communityId}