insert into most_beautiful_volunteer
id,
name,
certificate_url,
self_introduction,
volunteer_style,
weight_sorting,
unmount_type,
community_id,
creation_time
values
#{mostBeautifulVolunteerVO.id},
#{mostBeautifulVolunteerVO.name},
#{mostBeautifulVolunteerVO.certificateUrl},
#{mostBeautifulVolunteerVO.selfIntroduction},
#{mostBeautifulVolunteerVO.volunteerStyle},
#{mostBeautifulVolunteerVO.weightSorting},
#{mostBeautifulVolunteerVO.unmountType},
#{mostBeautifulVolunteerVO.communityId},
sysdate()
update most_beautiful_volunteer
id=#{mostBeautifulVolunteerVO.id},
name=#{mostBeautifulVolunteerVO.name},
certificate_url=#{mostBeautifulVolunteerVO.certificateUrl},
self_introduction=#{mostBeautifulVolunteerVO.selfIntroduction},
volunteer_style=#{mostBeautifulVolunteerVO.volunteerStyle},
weight_sorting=#{mostBeautifulVolunteerVO.weightSorting},
unmount_type=#{mostBeautifulVolunteerVO.unmountType},
update_time=sysdate()
where id = #{mostBeautifulVolunteerVO.id}
delete from most_beautiful_volunteer where id=#{id}