insert into volunteer_community_config
id,
community_id,
discount_id,
address,
lat,
lng,
is_opne_withdraw,
business_end_time,
business_start_time,
business_type,
creation_time
values
#{item.id},
#{item.communityId},
#{item.discountId},
#{item.address},
#{item.lat},
#{item.lng},
#{item.isOpneWithdraw},
#{item.businessEndTime},
#{item.businessStartTime},
#{item.businessType},
sysdate()
update volunteer_community_config
id=#{item.id},
community_id=#{item.communityId},
discount_id=#{item.discountId},
address=#{item.address},
lat=#{item.lat},
lng=#{item.lng},
is_opne_withdraw=#{item.isOpneWithdraw},
business_end_time=#{item.businessEndTime},
business_start_time=#{item.businessStartTime},
business_type=#{item.businessType},
update_time=sysdate()
where community_id=#{item.communityId}
delete from volunteer_community_config where id=#{id}