立案信息移动到经营风险

This commit is contained in:
王思川 2021-12-23 15:02:32 +08:00
parent 2c8adba8f2
commit 409065d530
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ def compliance_risk(param):
score = 43
elif param['严重违法'] or param['经营异常'] or param['欠税公告'] or param['税收违法']:
score = 33
elif param['立案信息'] or param['行政处罚'] or param['环保处罚']:
elif param['行政处罚'] or param['环保处罚']:
score = 23
else:
score = 0
@ -23,6 +23,7 @@ def management_risk(param):
经营风险打分
"""
score = dict()
score['立案信息'] = 10 if param['立案信息'] >= 50 else round(param['立案信息'] * 0.2, 2)
score['开庭公告'] = 10 if param['开庭公告'] >= 50 else round(param['开庭公告'] * 0.2, 2)
score['被执行人'] = 10 if param['被执行人'] >= 30 else round(param['被执行人'] * 0.33, 2)
score['法院公告'] = 5 if param['法院公告'] >= 50 else round(param['法院公告'] * 0.1, 2)