insert into building_owner(id_card, sex, link, owner_type_cd, remark, owner_id, user_id, name, state, community_id, age, member_id, address,person_type,person_role,concact_person,concact_link,face_url,other_address) values (#{idCard}, #{sex}, #{link}, #{ownerTypeCd}, #{remark}, #{ownerId}, #{userId}, #{name}, #{state}, #{communityId}, #{age}, #{memberId}, #{address},#{personType},#{personRole},#{concactPerson},#{concactLink},#{faceUrl},#{otherAddress}) update building_owner t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} ,t.id_card= #{idCard} ,t.sex= #{sex} ,t.link= #{link} ,t.address= #{address} ,t.other_address= #{otherAddress} ,t.owner_type_cd= #{ownerTypeCd} ,t.remark= #{remark} ,t.owner_id= #{ownerId} ,t.user_id= #{userId} ,t.name= #{name} ,t.state= #{state} ,t.age= #{age} , t.person_type= #{personType} , t.person_role= #{personRole} , t.concact_person= #{concactPerson} , t.concact_link= #{concactLink} , t.face_url= #{faceUrl} where 1=1 and t.member_id= #{memberId} and t.community_id= #{communityId}