Обновить dags/pogasheniya.py
This commit is contained in:
parent
a6c9320c7b
commit
12cf25d36c
|
|
@ -64,6 +64,7 @@ def pogasheniya(**kwargs):
|
|||
conn.execute("""
|
||||
INSERT INTO public.pogasheniya (schet, uid_dogovor, name, nomer, date_begin, date_end)
|
||||
SELECT * FROM temp_pogasheniya
|
||||
DO UPDATE SET
|
||||
ON CONFLICT (schet, uid_dogovor, nomer)
|
||||
name = EXCLUDED.name,
|
||||
agreement_num = EXCLUDED.agreement_num,
|
||||
|
|
|
|||
Loading…
Reference in New Issue