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
c08f987a
authored
2024-11-07 14:44:44 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:allow_bs_type增加默认值
1 parent
d424ce49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
c08f987
...
...
@@ -1205,6 +1205,8 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d
compare_info
[
'bankInfo'
]
=
bank_info
# 银行流水 --------------------------------------------------------------------
#增加 allow_bs_type 默认值,防止不需要比对流水的申请报错
allow_bs_type
=
'全部'
if
cms_info
.
get
(
'autoApprovedDetails'
,
{})
.
get
(
'aaType'
,
''
)
in
[
'CAA1'
,
'CAA2'
]
and
\
'无需提供银行流水'
not
in
cms_info
.
get
(
'autoApprovedDetails'
,
{})
.
get
(
'PolicyComments'
,
''
):
date_timedelta
=
60
if
auto
else
90
...
...
@@ -1873,6 +1875,8 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect
compare_info
[
'bankInfo'
]
=
bank_info
# 银行流水 --------------------------------------------------------------------
#增加 allow_bs_type 默认值,防止不需要比对流水的申请报错
allow_bs_type
=
'全部'
if
cms_info
.
get
(
'autoApprovedDetails'
,
{})
.
get
(
'aaType'
,
''
)
in
[
'CAA1'
,
'CAA2'
]
and
\
'无需提供银行流水'
not
in
cms_info
.
get
(
'autoApprovedDetails'
,
{})
.
get
(
'PolicyComments'
,
''
):
date_timedelta
=
60
if
auto
else
90
...
...
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