From bad9b95d0e995ca5b8169acf11266a3094c4b714 Mon Sep 17 00:00:00 2001 From: wang zhengwei <zhengwei.wang@wizlawgic.com> Date: Fri, 4 Dec 2020 17:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AE=E8=AE=AD=E4=BB=BB=E5=8A=A1=E5=8A=A0?= =?UTF-8?q?=E4=B8=8A=20=E6=89=A7=E8=A1=8C=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/utils/timed_task.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/utils/timed_task.py b/app/utils/timed_task.py index 04cf300..91a3d00 100644 --- a/app/utils/timed_task.py +++ b/app/utils/timed_task.py @@ -9,6 +9,7 @@ from app.api.engine import tamp_user_engine, tamp_order_engine, TAMP_SQL from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, String, Integer +from app.utils.jinjia2html import DataIntegrate Base = declarative_base() class IfaUser(Base): @@ -36,6 +37,10 @@ class Customer(Base): def call_month_report(ifauser_id, ifauser_name, customer_id, customer_name): print('开始制作IFA: {}, 客户: {}的基金月报'.format(ifauser_name, customer_name)) + try: + DataIntegrate(ifauser_id, customer_id, customer_name) + except: + print("å‘生异常,下一个走起ï¼") -- 2.18.1