insert into inspection_item_title_value(
value_id,title_id,item_value,community_id,seq
) values (
#{valueId},#{titleId},#{itemValue},#{communityId},#{seq}
)
update inspection_item_title_value t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.item_value= #{itemValue}
, t.community_id= #{communityId}
, t.seq= #{seq}
where 1=1
and t.value_id= #{valueId}
and t.title_id= #{titleId}