create_by,
		create_time,
		update_by,
		update_time,
			id,
			vip_id,
			source,
			staff_id,
			staff_name,
			remark,
			order_id,
			t1,
			t2,
			t3,
			t4
	
	
	
	
		#{item.createBy},
		now(),
		#{item.updateBy},
		now(),
			#{item.id},
			#{item.vipId},
			#{item.source},
			#{item.staffId},
			#{item.staffName},
			#{item.remark},
			#{item.orderId},
			#{item.t1},
			#{item.t2},
			#{item.t3},
			#{item.t4}
	
	
	
	
		 
		 
			
				and id  = #{record.id} 
			
			
				and vip_id  = #{record.vipId} 
			
			
				and source  = #{record.source} 
			
			
				and staff_id  = #{record.staffId} 
			
			
				and staff_name  = #{record.staffName} 
			
			
				and remark  = #{record.remark} 
			
			
				and order_id  = #{record.orderId} 
			
			
				and t1  = #{record.t1} 
			
			
				and t2  = #{record.t2} 
			
			
				and t3  = #{record.t3} 
			
			
				and t4  = #{record.t4} 
			
		
		 
	
	
	
	
		INSERT INTO sys_source_flow (
			 
		)
	VALUES (
		 
	)
	
	
	
	
	
	
		INSERT INTO sys_source_flow (
			
		)
	VALUES 
	(
			
	)
	
	
	
	
	
	
	
	
		UPDATE sys_source_flow
		
			
					vip_id = #{vipId},
						
			
					source = #{source},
						
			
					staff_id = #{staffId},
						
			
					staff_name = #{staffName},
						
			
					remark = #{remark},
						
			
					order_id = #{orderId},
						
			
					t1 = #{t1},
						
			
					t2 = #{t2},
						
			
					t3 = #{t3},
						
			
					t4 = #{t4},
						
		
		WHERE id=#{id} 
	 
	
	
	
	
		UPDATE sys_source_flow
		
			
				vip_id  = #{record.vipId}, 
			
			
				source  = #{record.source}, 
			
			
				staff_id  = #{record.staffId}, 
			
			
				staff_name  = #{record.staffName}, 
			
			
				remark  = #{record.remark}, 
			
			
				order_id  = #{record.orderId}, 
			
			
				t1  = #{record.t1}, 
			
			
				t2  = #{record.t2}, 
			
			
				t3  = #{record.t3}, 
			
			
				t4  = #{record.t4}, 
			
		
		WHERE id=#{record.id} 
	
	
	
	
		delete from sys_source_flow where  id in
		
			#{item}
		
	
		
	
	
		DELETE FROM sys_source_flow
		where  id=#{id} 
	
	
	
	
		DELETE FROM sys_source_flow