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
01e95400
authored
2025-01-20 18:20:14 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:uat解密方式和生产不同,aes加密未上生产
1 parent
a7108e9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
01e9540
...
...
@@ -979,7 +979,7 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d
borrower_name
=
customer_name
for
id_info
in
individual_info
.
get
(
'IDInformation'
,
[]):
if
id_info
.
get
(
'idType'
)
in
consts
.
SE_CMS_FIRST_ID_FIELD_MAPPING
:
borrower_idnum
=
decode_des
(
id_info
.
get
(
'idNum'
,
''
),
des_key
)
borrower_idnum
=
aes_decrypt_cbc
(
id_info
.
get
(
'idNum'
,
''
),
des_key
,
des_iv
)
for
id_info
in
individual_info
.
get
(
'IDInformation'
,
[]):
if
id_info
.
get
(
'idType'
)
in
consts
.
SE_CMS_FIRST_ID_FIELD_MAPPING
:
...
...
@@ -1668,7 +1668,7 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect
borrower_name
=
customer_name
for
id_info
in
individual_info
.
get
(
'IDInformation'
,
[]):
if
id_info
.
get
(
'idType'
)
in
consts
.
SE_CMS_FIRST_ID_FIELD_MAPPING
:
borrower_idnum
=
decode_des
(
id_info
.
get
(
'idNum'
,
''
),
des_key
)
borrower_idnum
=
aes_decrypt_cbc
(
id_info
.
get
(
'idNum'
,
''
),
des_key
,
des_iv
)
for
id_info
in
individual_info
.
get
(
'IDInformation'
,
[]):
if
id_info
.
get
(
'idType'
)
in
consts
.
SE_CMS_FIRST_ID_FIELD_MAPPING
:
...
...
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