tap order 数据写入mysql
This commit is contained in:
parent
280d50328d
commit
4f789fe445
@ -29,7 +29,11 @@ class TapTapReport:
|
||||
b_d = self.split_order_data(item)
|
||||
for key in b_d:
|
||||
all.setdefault(key, {}).update(b_d[key])
|
||||
print(all)
|
||||
#print(all)
|
||||
diff_order = {}
|
||||
for key in all:
|
||||
diff_order[key] = all.get(self.day, 0) - all.get(self.bday, 0)
|
||||
print(diff_order)
|
||||
|
||||
|
||||
def split_order_data(self, day):
|
||||
|
Loading…
x
Reference in New Issue
Block a user