From d887ad2c495f6274173d03b069e402204e9cce0e Mon Sep 17 00:00:00 2001 From: wangwenyan Date: Mon, 12 Mar 2018 14:29:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AD=97=E6=AE=B5=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PriceSystem/sell_price/zhuge0118A.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PriceSystem/sell_price/zhuge0118A.py b/PriceSystem/sell_price/zhuge0118A.py index 501ff12..28c7941 100644 --- a/PriceSystem/sell_price/zhuge0118A.py +++ b/PriceSystem/sell_price/zhuge0118A.py @@ -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