Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
python_shell
/
pythonworkspace
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 cf80d6a8
authored
Dec 26, 2023
by
王欣伟
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加导出的字段
1 parent
12f77a14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
djcardrenewal/supplychain/dealHengxinEdr.py
djcardrenewal/supplychain/dealHengxinEdr.py
View file @
cf80d6a
...
@@ -119,8 +119,12 @@ class DealHengXinEdrMain:
...
@@ -119,8 +119,12 @@ class DealHengXinEdrMain:
print
(
'dont match dj sn data'
)
print
(
'dont match dj sn data'
)
else
:
else
:
for
djItem
in
djDbData
:
for
djItem
in
djDbData
:
djMerchantId
=
djItem
[
3
]
djMerchantName
=
djItem
[
4
]
djSn
=
djItem
[
5
]
djSn
=
djItem
[
5
]
dataExport
.
loc
[
dataExport
[
'设备号'
]
==
djSn
,
'是否录入嘀加系统'
]
=
'是'
dataExport
.
loc
[
dataExport
[
'设备号'
]
==
djSn
,
'是否录入嘀加系统'
]
=
'是'
dataExport
.
loc
[
dataExport
[
'设备号'
]
==
djSn
,
'录入嘀加商户号'
]
=
djMerchantId
dataExport
.
loc
[
dataExport
[
'设备号'
]
==
djSn
,
'录入嘀加商户名称'
]
=
djMerchantName
print
(
'输出excel数据'
)
print
(
'输出excel数据'
)
# 输出数据到excel
# 输出数据到excel
...
@@ -143,7 +147,7 @@ if __name__ == "__main__":
...
@@ -143,7 +147,7 @@ if __name__ == "__main__":
logging
.
info
(
"start handle"
+
dealMain
.
handleDescription
+
' the month:'
+
dealMain
.
handleMonth
)
logging
.
info
(
"start handle"
+
dealMain
.
handleDescription
+
' the month:'
+
dealMain
.
handleMonth
)
dealMain
.
module_file_path
=
'E:/work/000 - 运营数据导出/恒信-C580记录仪设备明细-template.xlsx'
dealMain
.
module_file_path
=
'E:/work/000 - 运营数据导出/恒信-C580记录仪设备明细-template.xlsx'
dealMain
.
defaultExportReleasePath
=
'E:/work/000 - 运营数据导出/export/恒信-C580记录仪设备明细-2023122
2
.xlsx'
dealMain
.
defaultExportReleasePath
=
'E:/work/000 - 运营数据导出/export/恒信-C580记录仪设备明细-2023122
6
.xlsx'
dealMain
.
dealContentFile
()
dealMain
.
dealContentFile
()
print
(
'导出完成。'
)
print
(
'导出完成。'
)
\ No newline at end of file
\ No newline at end of file
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