Commit 11da7123 authored by xianyang's avatar xianyang

优化

parent b3084f1a
......@@ -386,6 +386,7 @@ class AbnormalDataDetails(object):
self.size = size
def abnormal_task(self):
Logger().logger.info('开始查询异常数据')
out_sql = f"select order_number from {self.date} where reference_type='{self.reference_type}' and type=0"
income_sql = f"select order_number from {self.date} where reference_type='{self.reference_type}' and type=1"
with ThreadPoolExecutor(max_workers=2) as pool:
......
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