| 
					
				 | 
			
			
				@@ -484,19 +484,29 @@ class Mvp: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             用户画像-行业,用户画像-出行方式,用户画像-消费结构,用户画像-生活方式,用户画像-社交模式, 模块分数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         :return: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         """ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        self.insert_table = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        self.ids = self.query_data() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        for city in self.city_list: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for age in self.age_list: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                for crowd in self.crowd: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    result = self.city_age_crowd(city, age, crowd) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    self.insert_score_to_db(result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        print('{}数据更新完成...'.format(time.time())) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        insert_data = self.shanghai_85_module_score_insert() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        self.insert_score_to_db(insert_data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        print('上海市-85后模块分值模拟数据入库成功...') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        self.update_gender_rate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        self.update_icon() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        message = {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        try: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            self.insert_table = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            self.ids = self.query_data() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for city in self.city_list: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for age in self.age_list: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    for crowd in self.crowd: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        result = self.city_age_crowd(city, age, crowd) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        self.insert_score_to_db(result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            print('{}数据更新完成...'.format(time.time())) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message['实际分值'] = '更新完成' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            insert_data = self.shanghai_85_module_score_insert() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            self.insert_score_to_db(insert_data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            print('上海市-85后模块分值模拟数据入库成功...') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message['模块模拟分值'] = '更新完成' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            self.update_gender_rate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message['性别信息'] = '更新完成' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            self.update_icon() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message['行为图标'] = '更新完成' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return message 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        except Exception as e: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            message['error'] = str(e) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return message 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     def update_gender_rate(self, ids=None): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         """ 
			 |