id,
address,
lat,
lng,
user_id,
phone,
`name`,
community_id,
create_time,
update_time,
is_default,
gender,
house_num,
city
insert into union_shipping_address
user_id,
community_id,
lat,
lng,
address,
phone,
`name`,
is_default,
gender,
house_num,
city,
create_time
values
#{item.userId},
#{item.communityId},
#{item.lat},
#{item.lng},
#{item.address},
#{item.phone},
#{item.name},
#{item.isDefault},
#{item.gender},
#{item.houseNum},
#{item.city},
sysdate()
update union_shipping_address
user_id=#{item.userId},
community_id=#{item.communityId},
lat=#{item.lat},
lng=#{item.lng},
address=#{item.address},
phone=#{item.phone},
`name`=#{item.name},
is_default=#{item.isDefault},
gender=#{item.gender},
house_num=#{item.houseNum},
city=#{item.city},
update_time=sysdate()
where id = #{item.id}
delete from union_shipping_address where id=#{id}