insert into owner_app_user( id_card,open_id,link,remark,user_id,app_type,app_user_name,nickname,headimgurl,community_name,state,app_user_id,community_id,app_type_cd,member_id ) values ( #{idCard},#{openId},#{link},#{remark},#{userId},#{appType},#{appUserName},#{nickname},#{headimgurl},#{communityName},#{state},#{appUserId},#{communityId},#{appTypeCd},#{memberId} ) update owner_app_user t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.id_card= #{idCard} , t.open_id= #{openId} , t.link= #{link} , t.remark= #{remark} , t.user_id= #{userId} , t.app_type= #{appType} , t.app_user_name= #{appUserName} , t.nickname= #{nickname} , t.headimgurl= #{headimgurl} , t.community_name= #{communityName} , t.state= #{state} , t.community_id= #{communityId} , t.app_type_cd= #{appTypeCd} , t.member_id= #{memberId} where 1=1 and t.app_user_id= #{appUserId}