From 050a804c9d21ca82cf8a9d7b8c121ba6eb2443a0 Mon Sep 17 00:00:00 2001 From: lg <290328566@qq.com> Date: Thu, 8 Mar 2018 15:59:01 +0800 Subject: [PATCH] status:102 --- PriceSystem/sell_price/zhuge0118A.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/PriceSystem/sell_price/zhuge0118A.py b/PriceSystem/sell_price/zhuge0118A.py index 3ba7dba..91124e6 100644 --- a/PriceSystem/sell_price/zhuge0118A.py +++ b/PriceSystem/sell_price/zhuge0118A.py @@ -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 ) \ No newline at end of file