insert into user_question_answer_value(
score,value_id,title_id,answer_type,obj_id,user_qa_id,value_content,person_id,obj_type,user_title_id,qa_id
)
values
(#{item.score},#{item.valueId},#{item.titleId},#{item.answerType},#{item.objId},#{item.userQaId},
#{item.valueContent},#{item.personId},#{item.objType},#{item.userTitleId},#{item.qaId})
update user_question_answer_value t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.score= #{score}
, t.value_id= #{valueId}
, t.title_id= #{titleId}
, t.answer_type= #{answerType}
, t.obj_id= #{objId}
, t.user_qa_id= #{userQaId}
, t.value_content= #{valueContent}
, t.person_id= #{personId}
, t.obj_type= #{objType}
, t.qa_id= #{qaId}
where 1=1
and t.user_title_id= #{userTitleId}