insert into user_question_answer(
score,evaluation_score,obj_id,user_qa_id,person_id,state,obj_type,qa_id
) values (
#{score},#{evaluationScore},#{objId},#{userQaId},#{personId},#{state},#{objType},#{qaId}
)
update user_question_answer t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.score= #{score}
, t.evaluation_score= #{evaluationScore}
, t.obj_id= #{objId}
, t.person_id= #{personId}
, t.state= #{state}
, t.obj_type= #{objType}
, t.qa_id= #{qaId}
where 1=1
and t.user_qa_id= #{userQaId}