From c596ca0e77bc512e62337b5de3a791327dcfda8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B2?= Date: Wed, 27 Aug 2025 14:53:47 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 2 +- app/working_database.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index aed85df..fcb9d82 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stages { stage('recreate > build > reun container') { steps { - sh "docker-compose up --force-recreate --build -d parse_saby" + sh "docker-compose up --force-recreate --build parse_saby" } } diff --git a/app/working_database.py b/app/working_database.py index 77946f6..ba6cd72 100644 --- a/app/working_database.py +++ b/app/working_database.py @@ -68,6 +68,7 @@ class SimpleDB: if date_to != None: date_to = parser.parse(date_to_str) # тестого print(value) - cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [int(id), organ,names, date_from, date_to, ver]) + respons = cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [int(id), organ,names, date_from, date_to, ver]) + print(respons) except Error as e: raise HTTPException(status_code=500, detail=f"Database error: {e}")