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

This commit is contained in:
bn_user 2025-09-03 09:27:21 +00:00
parent a8a8d5921d
commit e471647916
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ def read_data_1C(**kwargs):
index=False,
method='multi'
)
conn.execute(f"DELETE FROM public.{table_name}")
conn.execute(f"DELETE FROM public.{table_name} where get_date in (select distinct get_date from temp_{table_name})")
conn.execute(f"""
INSERT INTO public.{table_name}
SELECT