status:102

This commit is contained in:
lg
2018-03-08 15:59:01 +08:00
parent ba899dd420
commit 050a804c9d
+8 -8
View File
@@ -1305,11 +1305,11 @@ def out_put_price(ct, rl, lk, weekend):
pt.replace_one(
{"city": ct, "region": rl, "district_name": p[0], "weekend": weekend},
{"city": ct, "region": rl, "district_name": p[0], "calc_date": weekend},
{"city": ct, "region": rl, "district_name": p[0], "c_date": c_date, 'status': int(0),
'remark': 'week', 'category': 'sell', 'weekend': weekend, 'priority': int(0),
'problem': None,
{"city": ct, "region": rl, "district_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
)
@@ -1330,10 +1330,10 @@ def out_put_price(ct, rl, lk, weekend):
else:
pt.replace_one(
{"city": ct, "region": rl, "district_name": p[0], "weekend": weekend},
{"city": ct, "region": rl, "district_name": p[0], "calc_date": weekend},
{"city": ct, "region": rl, "district_name": p[0], "c_date": c_date, 'status': int(1),
'remark': 'week', 'category': 'sell', 'weekend': weekend, 'priority': int(0),
'problem': mm[0],
{"city": ct, "region": rl, "district_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
)