From 56cb210fd0edb16528f6b08ed256c814e9f499e0 Mon Sep 17 00:00:00 2001 From: bn_user Date: Mon, 8 Sep 2025 08:47:47 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20dags/OSV.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/OSV.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dags/OSV.py b/dags/OSV.py index 310a9c6..7bb0e9e 100644 --- a/dags/OSV.py +++ b/dags/OSV.py @@ -115,9 +115,9 @@ def read_data_1C(**kwargs): , subkonto2 , organizaciya , kontagent - , nomer - , date_bedin - , date_end + , case when nomer = '' then null else nomer end nomer + , case when TO_DATE(date_bedin, 'DD.MM.YYYY') = '0001-01-01' then null else osv.date_end end date_bedin + , case when TO_DATE(date_end, 'DD.MM.YYYY') = '0001-01-01' then null else osv.date_end end date_end , summa_oborot , summa_oborot_dt , summa_oborot_kt