From 43f403a1f2c168c23ff6564fe05f8dc22e2c5c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=B2?= Date: Thu, 28 Aug 2025 09:52:26 +0500 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=8B=D1=82=D0=B0=D1=8E=D1=81=D1=8C=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BD=D1=8F=D1=82=D1=8C=20=D0=BA=D0=B0=D0=BA=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B0=D0=B4=D1=82=D1=8C=20=D0=B0=D1=80?= =?UTF-8?q?=D0=B3=D1=83=D0=BC=D0=B5=D0=BD=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/working_database.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/working_database.py b/app/working_database.py index 76f19b5..737da75 100644 --- a/app/working_database.py +++ b/app/working_database.py @@ -62,6 +62,13 @@ class SimpleDB: try: with self.pool.acquire() as connection: with connection.cursor() as cursor: + result_var = cursor.var(CLOB) + + # Только один параметр - выходной! + cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [result_var]) + + json_result = result_var.getvalue() + print("JSON результат:", json_result) # Узнать сигнатуру процедуры cursor.execute(""" SELECT position, argument_name, data_type, in_out