Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5f3d5bc1
authored
2024-08-06 17:22:10 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:string转float
1 parent
c3cc87ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
5f3d5bc
...
...
@@ -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
))
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment