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
48cd73e2
Commit
48cd73e2
authored
Dec 10, 2020
by
pengxiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结尾图
parent
30ad98ad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
default-user.png
app/templates/v2/img/default-user.png
+0
-0
monthReportV2.1.html
app/templates/v2/monthReportV2.1.html
+3
-3
timed_task.py
app/utils/timed_task.py
+1
-1
No files found.
app/templates/v2/img/default-user.png
0 → 100644
View file @
48cd73e2
25.2 KB
app/templates/v2/monthReportV2.1.html
View file @
48cd73e2
...
...
@@ -1711,7 +1711,7 @@
<div
class=
"box5_content"
>
<div
class=
"geji_list_wrap"
>
{% for i in range(group_result["single_fund_data_list"]|length) %}
{% if (i+1) %
3
== 1 and i != 0%}
{% if (i+1) %
4
== 1 and i != 0%}
<div
class=
"page dtable"
>
<div
class=
"page_title dcell"
>
</div>
...
...
@@ -1730,7 +1730,7 @@
</div>
</div>
{% endif %}
{% if (i+1) %
3
== 0 and i != 0%}
{% if (i+1) %
4
== 0 and i != 0%}
<div
class=
"self_item"
style=
"page-break-after:always;"
>
{% else %}
<div
class=
"self_item"
>
...
...
@@ -1770,7 +1770,7 @@
<!-- 持仓点评 -->
{% if
single_fund_data_list|length % 3 == 0 and single_fund_data_list
|length != 0%}
{% if
group_result["single_fund_data_list"]|length % 4 == 0 and group_result["single_fund_data_list"]
|length != 0%}
<div
class=
"page dtable"
>
<div
class=
"page_title dcell"
>
</div>
...
...
app/utils/timed_task.py
View file @
48cd73e2
...
...
@@ -54,7 +54,7 @@ with TAMP_SQL(tamp_user_engine) as tamp_user, TAMP_SQL(tamp_order_engine) as tam
for
ifauser
in
ifausers
:
# 获取某个 ifa 的所有 customer
customers
=
tamp_order_session
.
query
(
Ifa_Customer
)
.
\
filter
(
and_
(
Ifa_Customer
.
ifa_id
==
ifauser
.
id
,
Ifa_Customer
.
customer_id
.
in_
([
'6716613804
966817792
'
])))
.
all
()
filter
(
and_
(
Ifa_Customer
.
ifa_id
==
ifauser
.
id
,
Ifa_Customer
.
customer_id
.
in_
([
'6716613804
182482944
'
])))
.
all
()
# 循环这个 ifa 的所有 customer
for
customer
in
customers
:
...
...
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