Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
data_report
/
data-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 2a2c045b
authored
Oct 13, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixbug(common_equity):红黄门店的产值表格加长
1 parent
833c2aa6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
data-process/common_equity_processor.py
data-process/common_equity_processor.py
View file @
2a2c045
...
@@ -667,7 +667,7 @@ class CommonEquityProcessor:
...
@@ -667,7 +667,7 @@ class CommonEquityProcessor:
"SELECT merchant_id, SUM(delivery_count) AS total "
"SELECT merchant_id, SUM(delivery_count) AS total "
"FROM dj_car_life_merchant_daily_report_huawei "
"FROM dj_car_life_merchant_daily_report_huawei "
"WHERE deleted_flag = 'N' "
"WHERE deleted_flag = 'N' "
" AND brand_id = -1 AND first_brand_id = -1
and scene_type = 0
"
" AND brand_id = -1 AND first_brand_id = -1
AND scene_type = 0
"
f
" AND merchant_id IN ({ph}) "
f
" AND merchant_id IN ({ph}) "
" AND report_date >= :start_date AND report_date <= :end_date "
" AND report_date >= :start_date AND report_date <= :end_date "
"GROUP BY merchant_id"
"GROUP BY merchant_id"
...
@@ -2370,7 +2370,7 @@ class CommonEquityProcessor:
...
@@ -2370,7 +2370,7 @@ class CommonEquityProcessor:
cell
.
font
=
cell_font
cell
.
font
=
cell_font
for
i
,
(
title
,
_key
,
_kind
)
in
enumerate
(
columns
):
for
i
,
(
title
,
_key
,
_kind
)
in
enumerate
(
columns
):
width
=
14
if
title
in
(
'兜底要求'
,
'线上运营'
)
else
max
(
9
,
len
(
str
(
title
))
*
2
+
2
)
width
=
14
if
title
in
(
'兜底要求'
,
'线上运营'
,
'产值'
)
else
max
(
9
,
len
(
str
(
title
))
*
2
+
2
)
ws
.
column_dimensions
[
get_column_letter
(
i
+
1
)]
.
width
=
width
ws
.
column_dimensions
[
get_column_letter
(
i
+
1
)]
.
width
=
width
ws
.
freeze_panes
=
'C2'
ws
.
freeze_panes
=
'C2'
ws
.
row_dimensions
[
1
]
.
height
=
30
ws
.
row_dimensions
[
1
]
.
height
=
30
...
...
Write
Preview
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