This commit is contained in:
yumoqing 2025-12-25 16:39:27 +08:00
parent 5a342b7deb
commit 2530533792

View File

@ -87,8 +87,7 @@ async def get_refundable_plog(request, id):
dbname = env.get_module_dbname('unipay') dbname = env.get_module_dbname('unipay')
async with db.sqlorContext(dbname) as sor: async with db.sqlorContext(dbname) as sor:
recs = await sor.R('payment_log', {'id':id, recs = await sor.R('payment_log', {'id':id,
'customerid': orgid, 'customerid': orgid
'payment_status'
}) })
if len(recs) < 1: if len(recs) < 1:
debug(f'id({id}) not exists in payment_log or not belong you') debug(f'id({id}) not exists in payment_log or not belong you')