Commit 2218555b authored by zhengjinlei's avatar zhengjinlei

更改分数

parent 5bd64cf4
......@@ -144,15 +144,15 @@ def single_score_stat(t, create_date, stat_count=0):
for check in checks:
stat_count += 1
score_item = json.loads(check['scoreItemRecord'])
service_score = service_s
business_score = business_s
service_score = 35
business_score = 65
validate_zero = 0
for m in score_item:
if m['scoreItemName'] in score_item_service.keys():
service_score -= m['score']
service_score -= m['score'] if m['scoreType'] == 1 else -m['score']
if m['scoreItemName'] in score_item_business.keys():
business_score -= m['score']
business_score -= m['score'] if m['scoreType'] == 1 else -m['score']
if m['scoreItemName'] in score_item_zero.keys():
validate_zero += 1
if validate_zero > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment