Обновить dags/pogasheniya.py

This commit is contained in:
bn_user 2025-11-13 20:57:55 +00:00
parent 998ee021ce
commit a6c9320c7b
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ def pogasheniya(**kwargs):
, osv.agreement_date
, osv.redemption_date
FROM lizingi_garantii osv
LEFT JOIN pogasheniya p on p.uid_dogovor = osv.uid_subkonto2 and p.schet = osv.schet and p.nomer = osv.agreement_num
LEFT JOIN pogasheniya p on p.nomer = osv.agreement_num
WHERE p.uid_dogovor is null
"""
df = pd.read_sql(query, engine)