MOD:dp判断条件
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -1580,7 +1580,7 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d | ... | @@ -1580,7 +1580,7 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d |
1580 | down_payment_info = {} | 1580 | down_payment_info = {} |
1581 | down_payment_input = {} | 1581 | down_payment_input = {} |
1582 | totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment')) | 1582 | totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment')) |
1583 | if totalDownPayment and totalDownPayment == 0: | 1583 | if totalDownPayment and totalDownPayment == '0.00': |
1584 | down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', ''))) | 1584 | down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', ''))) |
1585 | down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name)) | 1585 | down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name)) |
1586 | down_payment_input.append((consts.SE_DP_FIELD[2], borrower_idnum)) | 1586 | down_payment_input.append((consts.SE_DP_FIELD[2], borrower_idnum)) |
... | @@ -2234,7 +2234,7 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect | ... | @@ -2234,7 +2234,7 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect |
2234 | down_payment_info = {} | 2234 | down_payment_info = {} |
2235 | down_payment_input = {} | 2235 | down_payment_input = {} |
2236 | totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment')) | 2236 | totalDownPayment = str(cms_info.get('financialInformation', {}).get('totalDownPayment')) |
2237 | if totalDownPayment and totalDownPayment == 0: | 2237 | if totalDownPayment and totalDownPayment == '0.00': |
2238 | down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', ''))) | 2238 | down_payment_input.append((consts.SE_DP_FIELD[0], cms_info.get('financeCompany', ''))) |
2239 | down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name)) | 2239 | down_payment_input.append((consts.SE_DP_FIELD[1], borrower_name)) |
2240 | down_payment_input.append((consts.SE_DP_FIELD[2], borrower_idnum)) | 2240 | down_payment_input.append((consts.SE_DP_FIELD[2], borrower_idnum)) | ... | ... |
-
Please register or sign in to post a comment