проверка работы

main
Лев 2025-08-27 14:53:47 +05:00
parent d42e5fb0a3
commit c596ca0e77
2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -4,7 +4,7 @@ pipeline {
stages { stages {
stage('recreate > build > reun container') { stage('recreate > build > reun container') {
steps { steps {
sh "docker-compose up --force-recreate --build -d parse_saby" sh "docker-compose up --force-recreate --build parse_saby"
} }
} }

View File

@ -68,6 +68,7 @@ class SimpleDB:
if date_to != None: date_to = parser.parse(date_to_str) if date_to != None: date_to = parser.parse(date_to_str)
# тестого # тестого
print(value) 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: except Error as e:
raise HTTPException(status_code=500, detail=f"Database error: {e}") raise HTTPException(status_code=500, detail=f"Database error: {e}")