diff --git a/app/templates/v2/img/default-user.png b/app/templates/v2/img/default-user.png new file mode 100644 index 0000000000000000000000000000000000000000..eb6e8601d19253c001945f85ef6aaa4ccfa7de27 Binary files /dev/null and b/app/templates/v2/img/default-user.png differ diff --git a/app/templates/v2/monthReportV2.1.html b/app/templates/v2/monthReportV2.1.html index 2921f2e4543daf2c5adeff0241e118aa6c2e87ed..425eaa1005e6ca221054443159bdef4a6098866b 100644 --- a/app/templates/v2/monthReportV2.1.html +++ b/app/templates/v2/monthReportV2.1.html @@ -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> diff --git a/app/utils/timed_task.py b/app/utils/timed_task.py index f54f209d64a008ecc23f1c4af7b2ff41fc8c097c..6d612e6a6c20b7bcc757f9dcf05f4a5dad8731aa 100644 --- a/app/utils/timed_task.py +++ b/app/utils/timed_task.py @@ -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: