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
ea51917a
authored
2020-12-09 12:51:26 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
d2a52df8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/apps/doc/ocr/wb.py
src/apps/doc/ocr/wb.py
View file @
ea51917
...
...
@@ -475,9 +475,8 @@ class BSWorkbook(Workbook):
if
fill_rows
:
amount_fill_row
.
add
(
amount_cell
.
row
)
amount_fill_row
.
update
(
fill_rows
)
else
:
amount_mapping
.
setdefault
(
date_cell_value
[:
10
],
{})
.
setdefault
(
amount_cell
.
value
,
[])
.
append
(
amount_cell
.
row
)
amount_mapping
.
setdefault
(
date_cell_value
[:
10
],
{})
.
setdefault
(
amount_cell
.
value
,
[])
.
append
(
amount_cell
.
row
)
# 3.5.核对结果
if
amount_success
and
over_success
and
amount_cell
.
row
>
2
:
...
...
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