Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amazon_reports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
common
amazon_reports
Commits
39dc7f39
Commit
39dc7f39
authored
Dec 21, 2024
by
邱阿朋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spa查询
parent
c106c572
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
payment.py
src/payment.py
+1
-1
return_goods.py
src/return_goods.py
+1
-1
spa_search.py
src/spa_search.py
+1
-1
No files found.
src/payment.py
View file @
39dc7f39
...
...
@@ -314,7 +314,7 @@ def main():
# list_data = list_data[25:]
# 获取当前日期和时间并格式化
current_datetime
=
datetime
.
now
()
.
strftime
(
'
%
Y
%
m
%
d
%
H
%
M'
)
# 格式化为 'YYYY-MM-DD_HH-MM-SS'
current_datetime
=
datetime
.
now
()
.
strftime
(
'
%
Y
-
%
m-
%
d-
%
H-
%
M'
)
# 原文件名
file_name
=
"回款数据.xlsx"
# 拼接新的文件名
...
...
src/return_goods.py
View file @
39dc7f39
...
...
@@ -96,7 +96,7 @@ def main():
new_list_data
.
append
(
data_dict
)
# 获取当前日期和时间并格式化
current_datetime
=
datetime
.
now
()
.
strftime
(
'
%
Y
%
m
%
d
%
H
%
M'
)
# 格式化为 'YYYY-MM-DD_HH-MM-SS'
current_datetime
=
datetime
.
now
()
.
strftime
(
'
%
Y
-
%
m-
%
d-
%
H-
%
M'
)
# 原文件名
file_name
=
"退货明细.xlsx"
# 拼接新的文件名
...
...
src/spa_search.py
View file @
39dc7f39
...
...
@@ -177,7 +177,7 @@ def main():
log
.
info
(
f
"共计: {len(coop_list)} 条数据"
)
# 获取当前日期和时间并格式化
current_datetime
=
datetime
.
now
()
.
strftime
(
'
%
Y
%
m
%
d
%
H
%
M'
)
current_datetime
=
datetime
.
now
()
.
strftime
(
'
%
Y
-
%
m-
%
d-
%
H-
%
M'
)
file_name
=
"spa.xlsx"
new_file_name
=
f
"{current_datetime}_{file_name}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment