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
3158b611
authored
2024-04-28 16:17:51 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:
1 parent
25f7839e
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 @
3158b61
...
...
@@ -918,7 +918,7 @@ def get_se_cms_compare_info_auto(application_id, last_obj, application_entity, d
dealer_name
=
[]
if
len
(
dealer_name_list
)
!=
0
:
dealer_name
.
append
(
dealer_name_list
[
-
1
])
# CMS的最后一个值
dealer_name_mapper_obj
=
DealerMapping
.
objects
.
filter
(
cms_value
=
dealer_name_list
[
0
])
.
first
()
.
mapping_value
dealer_name_mapper_obj
=
DealerMapping
.
objects
.
filter
(
cms_value
=
dealer_name_list
[
0
])
.
first
()
if
dealer_name_mapper_obj
is
not
None
:
dealer_name_mapper_str
=
dealer_name_mapper_obj
.
mapping_value
dealer_name_mapper_list
=
dealer_name_mapper_str
.
split
(
','
)
...
...
@@ -1485,7 +1485,7 @@ def get_se_cms_compare_info(application_id, last_obj, application_entity, detect
dealer_name
=
[]
if
len
(
dealer_name_list
)
!=
0
:
dealer_name
.
append
(
dealer_name_list
[
-
1
])
# CMS的最后一个值
dealer_name_mapper_obj
=
DealerMapping
.
objects
.
filter
(
cms_value
=
dealer_name_list
[
0
])
.
first
()
.
mapping_value
dealer_name_mapper_obj
=
DealerMapping
.
objects
.
filter
(
cms_value
=
dealer_name_list
[
0
])
.
first
()
if
dealer_name_mapper_obj
is
not
None
:
dealer_name_mapper_str
=
dealer_name_mapper_obj
.
mapping_value
dealer_name_mapper_list
=
dealer_name_mapper_str
.
split
(
','
)
...
...
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