优化
This commit is contained in:
@@ -18,8 +18,8 @@ m_date = dateutils.iso_format()
|
||||
def build_doc(item):
|
||||
doc_dict = dict()
|
||||
if pd.notna(item['three_months_sell_num']):
|
||||
doc_dict['three_months_sell_num'] = item['three_months_sell_num']
|
||||
|
||||
doc_dict['three_months_sell_num'] = int(item['three_months_sell_num'])
|
||||
return doc_dict
|
||||
|
||||
def sync(city=None):
|
||||
log.info(f"开始同步出售信息至206 {index_name}")
|
||||
|
||||
Reference in New Issue
Block a user