|  | @@ -14,6 +14,10 @@ def book_trend():
 | 
	
		
			
				|  |  |      sql="""insert into book_trend
 | 
	
		
			
				|  |  |      select dt,book,platform,type,
 | 
	
		
			
				|  |  |  sum(cost) cost,
 | 
	
		
			
				|  |  | +sum(order_count),
 | 
	
		
			
				|  |  | +sum(order_user),
 | 
	
		
			
				|  |  | +sum(order_amount),
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  sum(first_order_count) first_order_count,
 | 
	
		
			
				|  |  |  sum(first_order_user) first_order_user,
 | 
	
		
			
				|  |  |  sum(first_order_amount) first_order_amount,
 |