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
e9bdb6cd
authored
2021-11-22 11:02:02 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
prod fix
1 parent
751696b3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
src/apps/doc/consts.py
src/celery_compare/tasks.py
src/apps/doc/consts.py
View file @
e9bdb6c
...
...
@@ -1645,7 +1645,7 @@ HT_COMPARE_LOGIC = {
'户名'
:
(
'户名'
,
'se_common_compare'
,
{},
'主合同页中户名与系统不一致'
),
'开户行'
:
(
'开户行'
,
'se_both_contain_compare'
,
{},
'主合同页中开户行与系统不一致'
),
'借款人签字及时间'
:
(
'借款人签字及时间'
,
'se_
commo
n_compare'
,
{},
'合同首页签字项与系统不一致'
),
'借款人签字及时间'
:
(
'借款人签字及时间'
,
'se_
both_contai
n_compare'
,
{},
'合同首页签字项与系统不一致'
),
'借款人姓名'
:
(
'借款人姓名'
,
'se_common_compare'
,
{},
'主合同主借人姓名与系统不一致'
),
'借款人证件号'
:
(
'借款人证件号'
,
'se_common_compare'
,
{},
'主合同主借人证件号码与系统不一致'
),
'共借人姓名'
:
(
'共借人姓名'
,
'se_common_compare'
,
{},
'主合同共借人姓名与系统不一致'
),
...
...
src/celery_compare/tasks.py
View file @
e9bdb6c
...
...
@@ -926,7 +926,7 @@ def get_se_cms_compare_info(last_obj, application_entity, detect_list):
field_input
.
append
((
'idExpiryDate'
,
id_info
.
get
(
'idExpiryDate'
,
''
)))
license_dict
[
license_en
]
=
field_input
all_id_num
.
append
(
id_num
)
elif
id_info
.
get
(
'idType'
)
==
'Unified Social Credit Code'
:
elif
id_info
.
get
(
'idType'
)
in
[
'Unified Social Credit Code'
,
'Tax Number'
,
'Business License Number'
]
:
# ['companyName', 'legalRepName', 'businessLicenseNo', 'organizationCreditCode',
# 'taxRegistrationCertificateNo', 'establishmentDate', 'businessLicenseDueDate']
id_num
=
decode_des
(
id_info
.
get
(
'idNum'
,
''
),
des_key
)
...
...
@@ -1004,10 +1004,10 @@ 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
=
round
(
float
(
amount
)
/
1.13
,
2
)
bhsj
=
float
(
amount
)
/
1.13
vehicle_field_input
.
append
((
consts
.
SE_NEW_ADD_FIELD
[
5
],
consts
.
SPLIT_STR
.
join
([
str
(
bhsj
),
str
(
round
(
float
(
amount
)
-
bhsj
)
),
format
(
bhsj
,
'.2f'
),
format
(
float
(
amount
)
-
bhsj
,
'.2f'
),
consts
.
RESULT_Y
])))
vehicle_info
[
consts
.
MVI_EN
]
=
vehicle_field_input
...
...
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