Closed ghost closed 4 years ago
支付宝账单的导入器,第32行,只判断交易状态为交易关闭,就pass这条交易时,会漏掉付款成功但已退款的交易, 可以添加"资金状态"判断,判断资金状态为空,即为未付款状态下关闭的订单,即为需要pass的交易。
for row in reader: if row['交易状态'] == '交易关闭': if row['资金状态'] == '': continue
感谢,我顺带把我本地的其它更新补充了一下
支付宝账单的导入器,第32行,只判断交易状态为交易关闭,就pass这条交易时,会漏掉付款成功但已退款的交易, 可以添加"资金状态"判断,判断资金状态为空,即为未付款状态下关闭的订单,即为需要pass的交易。