INSERT INTO onlinebooking (
			id,
			shop_Id,
			vip_Id,
			time,
			status,
			remark,
			reason,
			create_time,
			staff_id,
			vip_name,
			tel,
			sys_vip_info_id,
			product_id,
			order_no,
			form_id
		)
	VALUES (
			#{id},
			#{shopId},
			#{vipId},
			#{time},
			#{status},
			#{remark},
			#{reason},
			#{createTime},
			#{staffId},
			#{vipName},
			#{tel},
			#{bizUserId},
			#{productId},
			#{orderNo},
			#{formId}
	)
	
	
	
	
	
		UPDATE onlinebooking
		
				
					shop_Id = #{shopId},
						
				
					vip_Id = #{vipId},
						
				
					time = #{time},
						
				
					status = #{status},
						
				
				
					remark = #{remark},
						
				
					reason = #{reason},
					
				
					create_time = #{createTime},
				
			
				staff_id = #{staffId},
			
			
					vip_name = #{vipName},
				
				
					tel = #{tel},
				
				
					sys_vip_info_id = #{bizUserId},
				
				
					product_id = #{productId},
				
			
				order_no = #{orderNo},
			
		
		WHERE id=#{id} 
	
	
	
	
		delete from onlinebooking where  id in
		
			#{item}
		
	
		
	
	
		DELETE FROM onlinebooking
		where  id=#{id} 
	
	
	
	
		DELETE FROM onlinebooking
		where 1=1
		
			
				and id = #{record.id} 
			
			
				and shop_Id = #{record.shopId} 
			
			
				and vip_Id = #{record.vipId} 
			
			
				and time = #{record.time} 
			
			
				and status = #{record.status} 
			
			
				and create_time = #{record.createTime}