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
3586d37a
authored
2022-01-19 11:39:47 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add ltgt
1 parent
634fd497
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
src/apps/doc/consts.py
src/apps/doc/management/commands/folder_ltgt_process.py
src/celery_compare/tasks.py
src/apps/doc/consts.py
View file @
3586d37
...
...
@@ -832,6 +832,16 @@ MVC_SE_FIELD_ORDER_3_4 = (
(
'解除抵押日期'
,
'解除抵押日期'
),
)
MVC_SE_FIELD_ORDER_1_2_LTGT
=
((
'1.机动车所有人/身份证名称/号码'
,
'机动车所有人/身份证明名称/号码'
),
(
'编号'
,
'机动车登记证书编号'
),)
MVC_SE_FIELD_ORDER_3_4_LTGT
=
(
(
'身份证名称/号码'
,
'身份证明名称/号码'
),
(
'机动车登记证书编号'
,
'机动车登记证书编号'
),
(
'抵押登记日期'
,
'抵押登记日期'
),
)
# 机动车销售统一发票
MVI_CN_NAME
=
'机动车销售统一发票'
MVI_CLASSIFY
=
29
...
...
@@ -1421,6 +1431,23 @@ SE_DDA_FIELD = ['applicationId(1)', 'applicationId(2)', 'bankName', 'companyName
ASP_KEY
=
'is_asp'
AFC_CON_MAP_LTGT
=
{
'合同编号'
:
(
1
,
1
,
'合同编号'
,
None
),
'借款人姓名'
:
(
2
,
2
,
'借款人及抵押人'
,
'name'
),
'共借人姓名'
:
(
2
,
2
,
'共同借款人及共同抵押人'
,
'name'
),
'保证人姓名1'
:
(
2
,
2
,
'保证人1'
,
'name'
),
'保证人姓名2'
:
(
2
,
2
,
'保证人2'
,
'name'
),
}
AFC_CON_FIELD_ORDER_LTGT
=
(
(
'合同编号'
,
'合同编号'
),
(
'借款人姓名'
,
'借款人姓名'
),
(
'共借人姓名'
,
'共借人姓名'
),
(
'保证人姓名1'
,
'保证人姓名1'
),
(
'保证人姓名2'
,
'保证人姓名2'
),
)
SE_AFC_CON_MAP
=
{
'合同编号-每页'
:
(
None
,
None
,
'合同编号'
,
None
),
'所购车辆价格-小写-重要条款'
:
(
1
,
1
,
'所购车辆价格'
,
None
),
...
...
src/apps/doc/management/commands/folder_ltgt_process.py
View file @
3586d37
This diff is collapsed.
Click to expand it.
src/celery_compare/tasks.py
View file @
3586d37
...
...
@@ -1067,8 +1067,8 @@ def get_se_cms_compare_info_auto(last_obj, application_entity):
# ('accountNo', account_no),
# ]
# bank_info[consts.DDA_EN] = dda_field_input
#
if len(bank_info) > 0:
#
compare_info['bankInfo'] = bank_info
if
len
(
bank_info
)
>
0
:
compare_info
[
'bankInfo'
]
=
bank_info
# 银行流水 --------------------------------------------------------------------
if
cms_info
.
get
(
'autoApprovedDetails'
,
{})
.
get
(
'aaType'
,
''
)
in
[
'CAA1'
,
'CAA2'
]:
...
...
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