add
This commit is contained in:
parent
39742d9aa5
commit
b0965b74e1
|
@ -37,6 +37,7 @@ class S:
|
||||||
return rows[0]
|
return rows[0]
|
||||||
|
|
||||||
def proc(self, mid):
|
def proc(self, mid):
|
||||||
|
print("mid: {}".format(mid))
|
||||||
hds = [
|
hds = [
|
||||||
"order_id",
|
"order_id",
|
||||||
"change",
|
"change",
|
||||||
|
@ -46,6 +47,7 @@ class S:
|
||||||
]
|
]
|
||||||
csv_ = Csv("{}_incom.csv".format(mid), hds)
|
csv_ = Csv("{}_incom.csv".format(mid), hds)
|
||||||
rows = self.get_ch_income(mid)
|
rows = self.get_ch_income(mid)
|
||||||
|
print("len(rows): {}".format(len(rows)))
|
||||||
for row in rows:
|
for row in rows:
|
||||||
order_id = safe_get_str(row, "order_id")
|
order_id = safe_get_str(row, "order_id")
|
||||||
typ = "money"
|
typ = "money"
|
||||||
|
|
Loading…
Reference in New Issue