Commit 48cd73e2 authored by pengxiong's avatar pengxiong

结尾图

No related merge requests found
app/templates/v2/img/default-user.png

25.2 KB

......@@ -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>
......
......@@ -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_(['6716613804966817792']))).all()
filter(and_(Ifa_Customer.ifa_id == ifauser.id, Ifa_Customer.customer_id.in_(['6716613804182482944']))).all()
# 循环这个 ifa 的所有 customer
for customer in customers:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment