create_by,
		create_time,
		update_by,
		update_time,
			id,
			title,
			img_url,
			jump_path,
			type_id,
			sort,
			remarks,
link_type,
link_url,
            company_id
	
	
	
	
		#{item.createBy},
		now(),
		#{item.updateBy},
		now(),
			#{item.id},
			#{item.title},
			#{item.imgUrl},
			#{item.jumpPath},
			#{item.typeId},
			#{item.sort},
			#{item.remarks},
			#{item.linkType},
			#{item.linkUrl},
        #{item.companyId}
	
	
	
	
		 
		 
			
				and id  = #{record.id} 
			
			
				and title  = #{record.title} 
			
			
				and img_url  = #{record.imgUrl} 
			
			
				and jump_path  = #{record.jumpPath} 
			
			
				and type_id  = #{record.typeId} 
			
			
				and sort  = #{record.sort} 
			
			
				and remarks  = #{record.remarks} 
			
			 
				 and company_id = #{record.companyId}
			 
		 
		 
	
	
	
	
		INSERT INTO shop_advertis (
			 
		)
	VALUES (
		 
	)
	
	
	
	
	
	
		INSERT INTO shop_advertis (
			
		)
	VALUES 
	(
			
	)
	
	
	
	
	
	
	
	
		UPDATE shop_advertis
		
			
					title = #{title},
						
			
					img_url = #{imgUrl},
						
			
					jump_path = #{jumpPath},
						
			
					type_id = #{typeId},
						
			
					sort = #{sort},
						
			
					remarks = #{remarks},
				
			
				link_url = #{linkUrl},
			
			
				link_type = #{linkType},
			
		
		WHERE id=#{id} 
	 
	
	
	
	
		UPDATE shop_advertis
		
			
				title  = #{record.title}, 
			
			
				img_url  = #{record.imgUrl}, 
			
			
				jump_path  = #{record.jumpPath}, 
			
			
				type_id  = #{record.typeId}, 
			
			
				sort  = #{record.sort}, 
			
			
				remarks  = #{record.remarks}, 
			
			
				link_type = #{linkType},
			
			
				link_url = #{linkUrl},
			
			
				 company_id = #{record.companyId}
			
		
		WHERE id=#{record.id} 
	
	
	
	
		delete from shop_advertis where  id in
		
			#{item}
		
	
		
	
	
		DELETE FROM shop_advertis
		where  id=#{id} 
	
	
	
	
		DELETE FROM shop_advertis