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
976dd762
Commit
976dd762
authored
Jan 27, 2021
by
wang zhengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复时间停滞问题
parent
629ec9aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
jinjia2html_v2.py
app/utils/jinjia2html_v2.py
+2
-1
No files found.
app/utils/jinjia2html_v2.py
View file @
976dd762
...
...
@@ -13,6 +13,7 @@ from app.service.result_service_v2 import UserCustomerResultAdaptor
import
numpy
as
np
from
concurrent
import
futures
import
os
from
datetime
import
datetime
# 准备数据
from
app.utils.draw
import
draw_month_return_chart
,
draw_contribution_chart
,
draw_combination_chart
,
\
...
...
@@ -235,7 +236,7 @@ class DataIntegrate:
data
=
{
# 全局数据
'customer_name'
:
self
.
customer_name
,
'year_month'
:
self
.
user_customer
.
end_date
.
strftime
(
"
%
Y-
%
m-
%
d"
),
'year_month'
:
datetime
.
now
()
.
strftime
(
"
%
Y-
%
m-
%
d"
),
'valueSex'
:
self
.
user_customer
.
valueSex
,
'month'
:
self
.
user_customer
.
month_start_date
.
strftime
(
"
%
m"
),
'start_date'
:
self
.
user_customer
.
start_date
.
strftime
(
"
%
Y-
%
m-
%
d"
),
...
...
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