Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
349fb21f
Commit
349fb21f
authored
Jan 18, 2021
by
赵杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
月度回报字符串key1
parent
f22c77dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
result_service_v2.py
app/service/result_service_v2.py
+1
-1
No files found.
app/service/result_service_v2.py
View file @
349fb21f
...
@@ -351,7 +351,7 @@ class UserCustomerResultAdaptor(UserCustomerDataAdaptor):
...
@@ -351,7 +351,7 @@ class UserCustomerResultAdaptor(UserCustomerDataAdaptor):
now_year
=
self
.
end_date
.
year
now_year
=
self
.
end_date
.
year
month_return_data_dict
=
{}
month_return_data_dict
=
{}
for
i
in
range
(
now_year
-
start_year
+
1
):
for
i
in
range
(
now_year
-
start_year
+
1
):
month_return_data_dict
[
st
art_year
+
i
]
=
{
j
+
1
:
{
"profit"
:
"-"
,
"net_amount"
:
"-"
}
for
j
in
range
(
12
)}
month_return_data_dict
[
st
r
(
start_year
+
i
)]
=
{
str
(
j
+
1
)
:
{
"profit"
:
"-"
,
"net_amount"
:
"-"
}
for
j
in
range
(
12
)}
for
d_index
,
d_row
in
month_sum
.
items
():
for
d_index
,
d_row
in
month_sum
.
items
():
cur_year
=
str
(
int
(
d_index
[:
4
]))
cur_year
=
str
(
int
(
d_index
[:
4
]))
cur_month
=
str
(
int
(
d_index
[
5
:]))
cur_month
=
str
(
int
(
d_index
[
5
:]))
...
...
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