update esg保存数据接口bug
This commit is contained in:
parent
05fa2463f0
commit
f16bb8647c
|
@ -387,6 +387,7 @@ class EsgRating(EsgInputData, CreditUtils):
|
|||
|
||||
def other_type_data_script():
|
||||
"""其他类型问卷"""
|
||||
if questionnaire['其他类型问卷']:
|
||||
other_type_data = OtherTypeDataByE()
|
||||
other_type_data.question_01 = questionnaire['其他类型问卷'][0][0]
|
||||
other_type_data.question_02 = questionnaire['其他类型问卷'][1][0]
|
||||
|
@ -429,6 +430,7 @@ class EsgRating(EsgInputData, CreditUtils):
|
|||
|
||||
def other_type_data_script():
|
||||
"""其他类型问卷"""
|
||||
if questionnaire['其他类型问卷']:
|
||||
other_type_data = OtherTypeDataByS()
|
||||
other_type_data.question_01 = questionnaire['其他类型问卷'][0]
|
||||
other_type_data.question_02 = questionnaire['其他类型问卷'][1]
|
||||
|
@ -459,6 +461,7 @@ class EsgRating(EsgInputData, CreditUtils):
|
|||
|
||||
def other_type_data_script():
|
||||
"""其他类型问卷"""
|
||||
if questionnaire['其他类型问卷']:
|
||||
other_type_data = OtherTypeDataByG()
|
||||
other_type_data.question_01 = questionnaire['其他类型问卷'][0]
|
||||
other_type_data.question_02 = questionnaire['其他类型问卷'][1]
|
||||
|
|
Loading…
Reference in New Issue