select id, member_id, name, phone_hidden,phone_encrypted, default_status, post_code, province, city, district, detail_address, is_default, create_by, create_time, update_by, update_time from ums_member_address
update ums_member_address
member_id = #{memberId, jdbcType=BIGINT},
name = #{name, jdbcType=BIGINT},
phone = #{phone, jdbcType=BIGINT},
default_status = #{defaultStatus, jdbcType=BIGINT},
post_code = #{postCode, jdbcType=BIGINT},
province = #{province, jdbcType=BIGINT},
city = #{city, jdbcType=BIGINT},
district = #{district, jdbcType=BIGINT},
detail_address = #{detailAddress, jdbcType=BIGINT},
is_default = #{isDefault, jdbcType=BIGINT},
create_by = #{createBy, jdbcType=BIGINT},
create_time = #{createTime, jdbcType=BIGINT},
update_by = #{updateBy, jdbcType=BIGINT},
update_time = #{updateTime, jdbcType=BIGINT},
where id = #{id, jdbcType=BIGINT}
update ums_member_address
set is_default = #{param1}
where member_id = #{param2}