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