tap order 数据写入mysql

This commit is contained in:
pengtao 2019-10-16 14:17:21 +08:00
parent 1897e9543b
commit 280d50328d

View File

@ -28,7 +28,7 @@ class TapTapReport:
for item in (self.day, self.bday): for item in (self.day, self.bday):
b_d = self.split_order_data(item) b_d = self.split_order_data(item)
for key in b_d: for key in b_d:
all[key].update(b_d[key]) all.setdefault(key, {}).update(b_d[key])
print(all) print(all)