|  | @@ -389,11 +389,11 @@ class SpApiRequest:
 | 
											
												
													
														|  |                  temp = df_rel.query("""listing_id==@listing_id and asin==@asin and sku==@sku and quantity==@quantity and fulfillment_channel==@fulfillment_channel and price==@price and product_id==@product_id and country_code==@country_code and seller_id==@seller_id and title==@title and image_link==@imageurl""")
 |  |                  temp = df_rel.query("""listing_id==@listing_id and asin==@asin and sku==@sku and quantity==@quantity and fulfillment_channel==@fulfillment_channel and price==@price and product_id==@product_id and country_code==@country_code and seller_id==@seller_id and title==@title and image_link==@imageurl""")
 | 
											
												
													
														|  |                  print("需要关注数据(是否异常):",len(temp),temp.to_numpy().tolist()) if len(temp)>1 else 1
 |  |                  print("需要关注数据(是否异常):",len(temp),temp.to_numpy().tolist()) if len(temp)>1 else 1
 | 
											
												
													
														|  |                  if len(temp)>1:
 |  |                  if len(temp)>1:
 | 
											
												
													
														|  | -                    temp = temp.head(1).to_numpy().tolist()
 |  | 
 | 
											
												
													
														|  | 
 |  | +                    # temp = temp.head(1).to_numpy().tolist()
 | 
											
												
													
														|  |                      df_data = df_data.append(temp_df, ignore_index=True)
 |  |                      df_data = df_data.append(temp_df, ignore_index=True)
 | 
											
												
													
														|  |                      delete_list.append((seller_id, marketplace_id, sku, listing_id, product_id))
 |  |                      delete_list.append((seller_id, marketplace_id, sku, listing_id, product_id))
 | 
											
												
													
														|  |                  # print(len(temp))
 |  |                  # print(len(temp))
 | 
											
												
													
														|  | -                if len(temp)==0:
 |  | 
 | 
											
												
													
														|  | 
 |  | +                elif len(temp)==0:
 | 
											
												
													
														|  |                      df_data = df_data.append(temp_df,ignore_index=True)
 |  |                      df_data = df_data.append(temp_df,ignore_index=True)
 | 
											
												
													
														|  |                      delete_list.append((seller_id,marketplace_id,sku,listing_id,product_id))
 |  |                      delete_list.append((seller_id,marketplace_id,sku,listing_id,product_id))
 | 
											
												
													
														|  |                  row += 1
 |  |                  row += 1
 | 
											
										
											
												
													
														|  | @@ -682,8 +682,7 @@ class SpApiRequest:
 | 
											
												
													
														|  |                          "timezone","seller_id","country_code"
 |  |                          "timezone","seller_id","country_code"
 | 
											
												
													
														|  |                          ]
 |  |                          ]
 | 
											
												
													
														|  |          list_df = decom_df[reserve_columns].to_numpy().tolist()
 |  |          list_df = decom_df[reserve_columns].to_numpy().tolist()
 | 
											
												
													
														|  | -        # print(list_df)
 |  | 
 | 
											
												
													
														|  | -        # print(list_df[0])
 |  | 
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |          # tuple_data = [tuple(i) for i in list_df]
 |  |          # tuple_data = [tuple(i) for i in list_df]
 | 
											
												
													
														|  |          conn = self.mysql_connect()
 |  |          conn = self.mysql_connect()
 | 
											
												
													
														|  |          cursor = conn.cursor()
 |  |          cursor = conn.cursor()
 |