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
bb43f703
authored
2021-11-16 14:18:20 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
50a831ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/apps/doc/views.py
src/celery_compare/tasks.py
src/apps/doc/views.py
View file @
bb43f70
...
...
@@ -735,8 +735,8 @@ class SECompareView(GenericView):
quotationt_info
=
quotationt_info
)
# 触发比对
compare
.
apply_async
((
application_id
,
business_type
,
uniq_seq
,
None
,
False
,
False
),
queue
=
'queue_compare'
)
#
compare.apply_async((application_id, business_type, uniq_seq, None, False, False),
#
queue='queue_compare')
return
response
.
ok
()
post
.
openapi_doc
=
'''
...
...
src/celery_compare/tasks.py
View file @
bb43f70
...
...
@@ -1004,7 +1004,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
vehicle_field_input
.
append
((
consts
.
SE_NEW_ADD_FIELD
[
2
],
first_submmison_date
))
vehicle_field_input
.
append
((
consts
.
SE_NEW_ADD_FIELD
[
3
],
consts
.
SE_STAMP_VALUE
))
vehicle_field_input
.
append
((
consts
.
SE_NEW_ADD_FIELD
[
4
],
consts
.
SE_FPL_VALUE
))
bhsj
=
float
(
amount
)
/
1.13
bhsj
=
round
(
float
(
amount
)
/
1.13
,
2
)
vehicle_field_input
.
append
((
consts
.
SE_NEW_ADD_FIELD
[
5
],
consts
.
SPLIT_STR
.
join
([
str
(
bhsj
),
str
(
float
(
amount
)
-
bhsj
),
...
...
@@ -1076,7 +1076,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
compare_info
[
'bankInfo'
]
=
bank_info
full_no
=
cms_info
.
get
(
'settlemnetVerification'
,
{})
.
get
(
'applicationNo'
,
''
)
if
cms_info
.
get
(
'mortgageType'
,
''
)
==
'Mortgage Free'
:
if
cms_info
.
get
(
'mortgageType'
,
''
)
==
'Mortgage Free'
or
cms_info
.
get
(
'mortgageType'
,
''
)
==
'MortgageFree'
:
other_info
=
{}
hmh_field_input
=
[
(
consts
.
SE_HMH_FIELD
[
0
],
hmh_name
),
...
...
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