Обновить dags/pogasheniya.py
This commit is contained in:
parent
95e4771b1a
commit
8e73504043
|
|
@ -43,7 +43,7 @@ def pogasheniya(**kwargs):
|
|||
, osv.date_end
|
||||
FROM oborotno_salbdovaya_vedomostb osv
|
||||
LEFT JOIN pogasheniya p on p.uid_dogovor = osv.uid_subkonto2 and p.schet = osv.schet
|
||||
WHERE p.uid_dogovor is null and osv.schet::text ~~ '%03%'::text OR osv.schet::text ~~ '%01%'::text
|
||||
WHERE p.uid_dogovor is null and osv.schet::text like '%03%'::text OR osv.schet::text like '%01%'::text
|
||||
UNION ALL
|
||||
SELECT
|
||||
'76.07.1' schet
|
||||
|
|
|
|||
Loading…
Reference in New Issue