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