insert into owner_car_attr(
attr_id,spec_cd,community_id,value,member_id
) values (
#{attrId},#{specCd},#{communityId},#{value},#{memberId}
)
update owner_car_attr t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.spec_cd= #{specCd}
, t.community_id= #{communityId}
, t.value= #{value}
, t.member_id= #{memberId}
where 1=1
and t.attr_id= #{attrId}