insert into question_title(title_type, title_id, community_id, qa_title) values (#{titleType}, #{titleId}, #{communityId}, #{qaTitle}) update question_title t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.title_type= #{titleType} , t.community_id= #{communityId} , t.qa_title= #{qaTitle} where 1=1 and t.title_id= #{titleId}