f744f42a by 冯轩

Merge branch 'feature/CHINARPA-5075' into feature/uat-tmp

2 parents 5d49d183 1f3bedfb
......@@ -1589,7 +1589,7 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d
down_payment_info = {}
down_payment_input = []
totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment'))
if totalDownPayment and totalDownPayment == '0.00':
if totalDownPayment and totalDownPayment != '0.00':
down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', '')))
down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name))
down_payment_input.append((consts.SE_DP_FIELD[2], borrower_idnum))
......@@ -2243,7 +2243,7 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect
down_payment_info = {}
down_payment_input = []
totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment'))
if totalDownPayment and totalDownPayment == '0.00':
if totalDownPayment and totalDownPayment != '0.00':
down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', '')))
down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name))
down_payment_input.append((consts.SE_DP_FIELD[2], borrower_idnum))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!