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
bf9a6f86
authored
2021-11-18 17:48:36 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
d3de42e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
src/apps/doc/consts.py
src/celery_compare/tasks.py
src/apps/doc/consts.py
View file @
bf9a6f8
...
...
@@ -1667,7 +1667,7 @@ HT_COMPARE_LOGIC = {
'见证人签字'
:
(
'见证人签字'
,
'se_have_compare'
,
{},
'合同见证人无'
),
'见证人日期'
:
(
'见证人日期'
,
'se_date_contain_compare'
,
{},
'合同见证人签字日期不符合逻辑'
),
'还款计划表'
:
(
'
见证人日期
'
,
'se_schedule_compare'
,
{},
'还款计划表与系统不一致'
),
'还款计划表'
:
(
'
还款计划表
'
,
'se_schedule_compare'
,
{},
'还款计划表与系统不一致'
),
}
...
...
src/celery_compare/tasks.py
View file @
bf9a6f8
...
...
@@ -1121,19 +1121,21 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
(
consts
.
SE_AFC_CON_FIELD
[
17
],
schedule_list_str
),
]
asp_list
=
[]
for
asp_info
in
cms_info
.
get
(
'associatedServices'
,
[]):
asp_list
.
append
(
(
asp_info
.
get
(
'associatedServices'
,
''
),
asp_info
.
get
(
'price'
,
0.0
),
asp_info
.
get
(
'financed'
,
0.0
)
)
)
#
asp_list = []
#
for asp_info in cms_info.get('associatedServices', []):
#
asp_list.append(
#
(
#
asp_info.get('associatedServices', ''),
#
asp_info.get('price', 0.0),
#
asp_info.get('financed', 0.0)
#
)
#
)
if
len
(
asp_list
)
==
0
:
if
str
(
cms_info
.
get
(
'financialInformation'
,
{})
.
get
(
'associatedServicePrincipal'
,
'0.00'
))
==
'0.00'
:
afc_contract_input
.
pop
(
5
)
afc_contract_input
.
pop
(
6
)
afc_contract_input
.
pop
(
11
)
afc_contract_input
.
pop
(
12
)
# if len(asp_list) > 0:
# fin_total = 0
...
...
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