main
korotkov 2025-08-28 15:47:55 +05:00
parent 633b6147d2
commit b025aae9bc
1 changed files with 2 additions and 5 deletions

View File

@ -77,11 +77,8 @@ class SimpleDB:
#date_to = str(date_to.strftime('%d.%m.%Y'))
else: date_to = parser.parse('01.01.2000').date()
print("Вывод отправляемых агрументов: ", id, organ, names, date_from, date_to, ver)
print(type(int(id)), type(organ), type(names), type(date_from), type(date_to), type(ver))
dt_from = datetime.date(2025, 8, 28)
dt_to = datetime.date(2000, 1, 1)
cursor.callproc('P_RK_GOVERNMENT_REPORT_INSERS1', [
10])
print(type(id), type(organ), type(names), type(date_from), type(date_to), type(ver))
cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [int(id), organ, names, date_from, date_to, ver])
except Error as e:
raise HTTPException(status_code=500, detail=f"Database error: {e}")