Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
deal_mysql_data
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 70f24aab
authored
Apr 14, 2023
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加数据处理脚本--分摊
1 parent
54aeb8b0
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
0 deletions
20230413/deal01.py
20230413/deal01_1.py
20230413/deal01_2.py
20230413/deal01_3.py
20230413/deal01_4.py
20230413/deal02.py
20230413/deal02_1.py
20230413/deal02_2.py
20230413/deal02_3.py
20230413/deal02_4.py
20230413/deal01.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal01_1.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal01_2.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal01_3.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal01_4.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal02.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal02_1.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal02_2.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal02_3.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
20230413/deal02_4.py
View file @
70f24aa
...
...
@@ -154,6 +154,7 @@ def export_csv(fileName):
logger
.
debug
(
row
)
lineValue
+=
f
",0,0"
else
:
logger
.
info
(
result
)
lineValue
+=
f
",{paddnum_price(result[3])},{paddnum_price(result[4])}"
# for row01 in result:
# logger.info(row01)
...
...
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