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
6e9f7b32
authored
2021-12-22 14:13:08 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bs bug
1 parent
99e1ec8c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
src/apps/doc/consts.py
src/celery_compare/tasks.py
src/apps/doc/consts.py
View file @
6e9f7b3
...
...
@@ -1799,16 +1799,12 @@ SPECIAL_REASON_2 = '担保人未提供银行流水,需人工查看直系亲属
SPECIAL_REASON_3
=
'未提供银行流水'
BS_REASON
=
{
'主共借人未提供银行流水,含担保人需人工查看直系亲属关系'
,
'担保人未提供银行流水,需人工查看直系亲属关系'
,
'未提供银行流水'
,
'主共借人未提供银行流水'
,
'担保人未提供银行流水'
,
'主共借人银行流水打印日期超过15天'
,
'担保人银行流水打印日期超过15天'
,
'主共借人银行流水日期不满足3个月'
,
'担保人银行流水日期不满足3个月'
SPECIAL_REASON
,
SPECIAL_REASON_2
,
SPECIAL_REASON_3
,
}
for
_
,
_
,
_
,
tmp_bs_reason
in
BS_COMPARE_LOGIC
.
values
():
BS_REASON
.
add
(
tmp_bs_reason
)
# ['合同编号-每页', '合同编号-正文', '车辆识别代码', '车辆卖方', '车辆原始销售价格', '融资成本总额', '租期', '还款计划表', 'ASP项目详情', '购置税校验', '承租人法定代表人或授权代表']
# ['承租人姓名', '承租人证件号', '承租人签字', '共同承租人姓名', '共同承租人证件号', '共同承租人签字', '保证人姓名1', '保证人证件号1', '保证人签字1', '保证人姓名2', '保证人证件号2', '保证人签字2']
...
...
src/celery_compare/tasks.py
View file @
6e9f7b3
...
...
@@ -2823,8 +2823,9 @@ def se_compare(application_id, application_entity, ocr_res_id, last_obj, ocr_res
'[error={4}]'
.
format
(
log_base
,
application_entity
,
application_id
,
ocr_res_id
,
traceback
.
format_exc
()))
else
:
compare_log
.
info
(
'{0} [SE] [cms success] [entity={1}] [id={2}] [ocr_res_id={3}] [response={4}]'
.
format
(
log_base
,
application_entity
,
application_id
,
ocr_res_id
,
response
))
compare_log
.
info
(
'{0} [SE] [cms success] [entity={1}] [id={2}] [ocr_res_id={3}] [data={4}] '
'[response={5}]'
.
format
(
log_base
,
application_entity
,
application_id
,
ocr_res_id
,
data
,
response
))
@app.task
...
...
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