5f3d5bc1 by 冯轩

MOD:string转float

1 parent c3cc87ad
......@@ -1155,7 +1155,11 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d
# 财报情况说明
financial_statement_supplementary_info = {}
financial_statement_supplementary_input = []
need_fss = float(corporateFinancialInformation.get('cashAndCashEquivalentAtEndOfPeriod', -1)) == 0
cashAndCashEquivalentAtEndOfPeriod = corporateFinancialInformation.get('cashAndCashEquivalentAtEndOfPeriod', '')
if cashAndCashEquivalentAtEndOfPeriod == '':
need_fss = False
else:
need_fss = float(cashAndCashEquivalentAtEndOfPeriod) == 0
if is_bo_corporate and need_fss:
financial_statement_supplementary_input.append((consts.SE_FSS_FIELD[0], borrower_name))
financial_statement_supplementary_input.append((consts.SE_FSS_FIELD[1], consts.SE_STAMP_VALUE))
......@@ -1807,7 +1811,11 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect
# 财报情况说明
financial_statement_supplementary_info = {}
financial_statement_supplementary_input = []
need_fss = float(corporateFinancialInformation.get('cashAndCashEquivalentAtEndOfPeriod', -1)) == 0
cashAndCashEquivalentAtEndOfPeriod = corporateFinancialInformation.get('cashAndCashEquivalentAtEndOfPeriod', '')
if cashAndCashEquivalentAtEndOfPeriod == '':
need_fss = False
else:
need_fss = float(cashAndCashEquivalentAtEndOfPeriod) == 0
if is_bo_corporate and need_fss:
financial_statement_supplementary_input.append((consts.SE_FSS_FIELD[0], borrower_name))
financial_statement_supplementary_input.append((consts.SE_FSS_FIELD[1], consts.SE_STAMP_VALUE))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!