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