修改字段名
This commit is contained in:
@@ -1307,9 +1307,9 @@ def out_put_price(ct, rl, lk, weekend):
|
|||||||
|
|
||||||
pt.replace_one(
|
pt.replace_one(
|
||||||
|
|
||||||
{"city": ct, "region": rl, "district_name": p[0], "calc_date": weekend},
|
{"city": ct, "region": rl, "name": p[0], "calc_date": weekend},
|
||||||
|
|
||||||
{"city": ct, "region": rl, "district_name": p[0], "c_date": c_date, 'status': int(102),
|
{"city": ct, "region": rl, "name": p[0], "c_date": c_date, 'status': int(102),
|
||||||
'remark': 'week', 'category': 'sell', "calc_date": weekend, 'priority': int(0),
|
'remark': 'week', 'category': 'sell', "calc_date": weekend, 'priority': int(0),
|
||||||
'problem': None, "calc_type": int(0)
|
'problem': None, "calc_type": int(0)
|
||||||
}, True
|
}, True
|
||||||
@@ -1332,9 +1332,9 @@ def out_put_price(ct, rl, lk, weekend):
|
|||||||
else:
|
else:
|
||||||
pt.replace_one(
|
pt.replace_one(
|
||||||
|
|
||||||
{"city": ct, "region": rl, "district_name": p[0], "calc_date": weekend},
|
{"city": ct, "region": rl, "name": p[0], "calc_date": weekend},
|
||||||
|
|
||||||
{"city": ct, "region": rl, "district_name": p[0], "c_date": c_date, 'status': int(3),
|
{"city": ct, "region": rl, "name": p[0], "c_date": c_date, 'status': int(3),
|
||||||
'remark': 'week', 'category': 'sell', "calc_date": weekend, 'priority': int(0),
|
'remark': 'week', 'category': 'sell', "calc_date": weekend, 'priority': int(0),
|
||||||
'problem': mm[0], "calc_type": int(0)
|
'problem': mm[0], "calc_type": int(0)
|
||||||
}, True
|
}, True
|
||||||
|
|||||||
Reference in New Issue
Block a user