diff --git a/app/working_database.py b/app/working_database.py index 737da75..8a4af80 100644 --- a/app/working_database.py +++ b/app/working_database.py @@ -65,7 +65,7 @@ class SimpleDB: result_var = cursor.var(CLOB) # Только один параметр - выходной! - cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [result_var]) + cursor.callproc('P_RK_GOVERNMENT_REPORTS_INSERS', [result_var]) json_result = result_var.getvalue() print("JSON результат:", json_result) @@ -73,11 +73,11 @@ class SimpleDB: cursor.execute(""" SELECT position, argument_name, data_type, in_out FROM all_arguments - WHERE object_name = 'P_RK_SEND_JSON_LIST_FACEACC' + WHERE object_name = 'P_RK_GOVERNMENT_REPORTS_INSERS' ORDER BY position """) - print("Сигнатура процедуры P_RK_SEND_JSON_LIST_FACEACC:") + print("Сигнатура процедуры P_RK_GOVERNMENT_REPORTS_INSERS:") for arg in cursor: # Преобразуем все в строки для безопасного вывода pos_str = str(arg[0]) if arg[0] is not None else "0" @@ -97,7 +97,7 @@ class SimpleDB: print("Вывод отправляемых агрументов: ", int(id), organ, names, date_from, date_to, ver) print(type(int(id)), type(organ), type(names), type(date_from), type(date_to), type(ver)) result_var = cursor.var(CLOB) - cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [ + cursor.callproc('P_RK_GOVERNMENT_REPORTS_INSERS', [ int(id), organ, names,