Commit 0b337ed6 by 刘豪

update

parent 89309a84
Showing with 16 additions and 16 deletions
...@@ -8,22 +8,22 @@ class ExDashboard(Base): ...@@ -8,22 +8,22 @@ class ExDashboard(Base):
def email_list(self, condition): def email_list(self, condition):
# 筛选字段 # 筛选字段
# con_str = super().condition_to_str(condition['condition']) con_str = super().condition_to_str(condition['condition'])
#
# # 订单数据库 # 订单数据库
# db = ConnList.Dashboard() db = ConnList.Dashboard()
# sql = "SELECT email \ sql = "SELECT email \
# FROM \ FROM \
# lie_email_list \ lie_email_list \
# WHERE %s" \ WHERE %s" \
# % con_str % con_str
# results = DBHandler.read(db=db, sql=sql) results = DBHandler.read(db=db, sql=sql)
#
# # 结果格式转换为字典 # 结果格式转换为字典
# final_result = super().result_to_list(results) final_result = super().result_to_list(results)
# print('final_result', len(final_result)) print('final_result', len(final_result))
return ["hao@ichunt.com","xb@ichunt.com"] return final_result
""" """
汇总订单数据 汇总订单数据
......
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 sign in to comment