|  | @@ -139,6 +139,19 @@ def zhangzhongyun(start=None,end=None,new=None):
 | 
	
		
			
				|  |  |      executor.shutdown()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +def yueweng(start=None,end=None,new=None):
 | 
	
		
			
				|  |  | +    if start is None:
 | 
	
		
			
				|  |  | +        start = end = du.getNow()
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    executor = ThreadPoolExecutor(max_workers=5)
 | 
	
		
			
				|  |  | +    accounts = get_account("阅文") if new is None else get_new_account('阅文')
 | 
	
		
			
				|  |  | +    if len(accounts) == 0:
 | 
	
		
			
				|  |  | +        return
 | 
	
		
			
				|  |  | +    else:
 | 
	
		
			
				|  |  | +        print(f'阅文有账号{len(accounts)}个')
 | 
	
		
			
				|  |  | +    for account in accounts:
 | 
	
		
			
				|  |  | +        executor.submit(get_yueweng_order_task,start, end, account)
 | 
	
		
			
				|  |  | +    executor.shutdown()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -171,6 +184,6 @@ if __name__ == '__main__':
 | 
	
		
			
				|  |  |      # qiyue()
 | 
	
		
			
				|  |  |      # wending()
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    # zhangdu('2020-12-20','2021-02-22')
 | 
	
		
			
				|  |  | -    zhangzhongyun('2021-02-10', '2021-02-23')
 | 
	
		
			
				|  |  | +    zhangdu('2020-11-01', '2020-12-20')
 | 
	
		
			
				|  |  | +    # zhangzhongyun('2020-11-01', '2021-02-23')
 | 
	
		
			
				|  |  |      """要是只跑一个账号 把 get_yg_acccount() 里面的sql where 条件加上 id=xxx"""
 |