Commit 9c902fa7 authored by 舒皓月's avatar 舒皓月

20191209_1

parent 1c84d297
......@@ -415,8 +415,7 @@ class VLMMonitor:
'$lte': '%s 00:00:00' % self.end_date}}
fields = {'wf_biz_no': 1, 'wf_created_at': 1, 'wf_loan_type': 1,
'passdue_day': 1, 'wf_biz_channel': 1, 'applied_channel_cn': 1}
mongo_field = [x for i, x in enumerate(self.field_query_list) if self.field_DB_list[i] == 'mongoDB']
for f in mongo_field: # 加入Excel中预置的模型分名称
for f in self.field_query_list: # 加入Excel中预置的模型分名称
fields[f] = 1
self.mongo_df = self.query_mongo(condition, fields)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment