修改字段名

This commit is contained in:
2018-03-12 14:29:02 +08:00
parent 00abae3ce6
commit d887ad2c49
+4 -4
View File
@@ -1307,9 +1307,9 @@ def out_put_price(ct, rl, lk, weekend):
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),
'problem': None, "calc_type": int(0)
}, True
@@ -1332,9 +1332,9 @@ def out_put_price(ct, rl, lk, weekend):
else:
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),
'problem': mm[0], "calc_type": int(0)
}, True