Обновить app/working_database.py
parent
49296a8546
commit
5c9dd72f19
|
|
@ -80,12 +80,12 @@ class SimpleDB:
|
||||||
print(type(int(id)), type(organ), type(names), type(date_from), type(date_to), type(ver))
|
print(type(int(id)), type(organ), type(names), type(date_from), type(date_to), type(ver))
|
||||||
|
|
||||||
cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [
|
cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [
|
||||||
1,
|
"",
|
||||||
"organ",
|
"",
|
||||||
"names",
|
"",
|
||||||
"01.01.2000",
|
"",
|
||||||
"02.02.2002",
|
"",
|
||||||
"1.0",
|
"",
|
||||||
])
|
])
|
||||||
except Error as e:
|
except Error as e:
|
||||||
raise HTTPException(status_code=500, detail=f"Database error: {e}")
|
raise HTTPException(status_code=500, detail=f"Database error: {e}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue