INSERT INTO money_card_use_flow (
		id,
		order_no,
		pay_no,
		operation_id,
		content,
		create_time,
		vip_id,
		car_use_id,
		oper_vip_id,
		type,
		total,
		times,
		gift_money,
		balance
		)
		VALUES (
		#{id},
		#{orderNo},
		#{payNo},
		#{operationId},
		#{content},
		#{createTime},
		#{vipId},
		#{carUseId},
		#{operVipId},
		#{type},
		#{total},
		#{times},
		#{giftMoney},
		#{balance}
		)
	
	
	
		UPDATE money_card_use_flow
		
			
				order_no = #{orderNo},
			
			
				operation_id = #{operationId},
			
			
				content = #{content},
			
			
				create_time = #{createTime},
			
			
				vip_id = #{vipId},
			
			
				car_use_id = #{carUseId},
			
			
				oper_vip_id = #{operVipId},
			
			
				type = #{type},
			
			
				total = #{total},
			
			
				times = #{times},
			
			
				gift_money = #{giftMoney},
			
			
				balance = #{balance},
			
		
		WHERE id=#{id}
	
	
	
		delete from money_card_use_flow where id in
		
			#{item}
		
	
	
	
		DELETE FROM
		money_card_use_flow
		where id=#{id}