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
d157ec98
authored
2024-11-15 10:56:04 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:流水两个reason中间换行
1 parent
895174eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
d157ec9
...
...
@@ -2306,7 +2306,7 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type):
result
=
consts
.
RESULT_Y
if
all
(
auto_elec_verify_list
)
else
consts
.
RESULT_N1
reason1
=
'<关注>第{0}份电子流水疑似造假,请核查excel。'
.
format
(
'、'
.
join
(
auto_elec_verify_false_idx_list
))
reason2
=
'<关注>第{0}份流水为纸质版,请核查流水真伪。'
.
format
(
'、'
.
join
(
auto_paper_verify_false_idx_list
))
reason
=
reason1
+
reason2
reason
=
reason1
+
'
\n
'
+
reason2
result_field_list
.
append
((
name
,
empty_str
,
result
,
json
.
dumps
(
verify_list
,
ensure_ascii
=
False
),
empty_str
,
empty_error_type
,
reason
))
# 担保人1
...
...
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