insert into question_answer_title_rel(
score,title_id,qatr_id,community_id,seq,qa_id
) values (
#{score},#{titleId},#{qatrId},#{communityId},#{seq},#{qaId}
)
update question_answer_title_rel t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.score= #{score}
, t.title_id= #{titleId}
, t.community_id= #{communityId}
, t.seq= #{seq}
, t.qa_id= #{qaId}
where 1=1
and t.qatr_id= #{qatrId}