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
a95d70ca
Commit
a95d70ca
authored
Dec 16, 2020
by
赵杰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
72b0c9f6
430d2221
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
jinjia2html_v2.py
app/utils/jinjia2html_v2.py
+2
-2
timed_task.py
app/utils/timed_task.py
+2
-1
No files found.
app/utils/jinjia2html_v2.py
View file @
a95d70ca
...
...
@@ -42,8 +42,8 @@ class DataIntegrate:
# 月度回报表格
self
.
get_month_table_return
()
# 渲染模版
self
.
render_data
()
#
#
渲染模版
#
self.render_data()
# 分组和计算个基点评以及新增基金等结果
def
get_group_result
(
self
):
...
...
app/utils/timed_task.py
View file @
a95d70ca
...
...
@@ -59,7 +59,8 @@ def call_month_report(ifauser_id, ifauser_name, customer_id, customer_name):
print
(
'开始制作IFA: {}, 客户: {}的基金月报'
.
format
(
ifauser_name
,
customer_name
))
start
=
time
.
time
()
try
:
DataIntegrate
(
ifauser_id
,
customer_id
,
'{}_{}_.pdf'
.
format
(
ifauser_name
,
customer_name
))
dt
=
DataIntegrate
(
ifauser_id
,
customer_id
,
'{}_{}_.pdf'
.
format
(
ifauser_name
,
customer_name
))
dt
.
render_data
()
print
(
'IFA: {}, 客户: {}的基金月报已经生成, 耗时{}秒'
.
format
(
ifauser_name
,
customer_name
,
time
.
time
()
-
start
))
except
OSError
:
print
(
'IFA: {}, 客户: {}的基金月报已经生成,耗时{}秒'
.
format
(
ifauser_name
,
customer_name
,
time
.
time
()
-
start
))
...
...
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