diff --git a/src/celery_compare/tasks.py b/src/celery_compare/tasks.py index 2fe50cb..36bef0c 100644 --- a/src/celery_compare/tasks.py +++ b/src/celery_compare/tasks.py @@ -1579,7 +1579,7 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d # 首付款承诺书 down_payment_info = {} down_payment_input = {} - totalDownPayment = cms_info.get('totalDownPayment') + totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment')) if totalDownPayment and totalDownPayment == 0: down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', ''))) down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name)) @@ -2233,7 +2233,7 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect # 首付款承诺书 down_payment_info = {} down_payment_input = {} - totalDownPayment = cms_info.get('totalDownPayment') + totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment')) if totalDownPayment and totalDownPayment == 0: down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', ''))) down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name))