feat: complete Phases 2 to 5 inclusive - Access Core, Web Cockpit, Hardware enqueuing, Optical Scanner and QA (v0.5.0-beta)

This commit is contained in:
Carlos Tello
2026-10-13 15:47:43 -03:00
parent 78c1a306de
commit 1ba74f7929
53 changed files with 4000 additions and 279 deletions
+17
View File
@@ -0,0 +1,17 @@
from app.core.database import db_session
with db_session() as conn:
c = conn.cursor(as_dict=True)
c.execute("SELECT TOP 3 PersonaID, CREATEdByID, LastUpdateDateByID, Apellido, Nombre FROM Per")
for r in c.fetchall():
print(r)
print("--- lot table schema ---")
c.execute("""
SELECT COLUMN_NAME, DATA_TYPE, IS_NULLABLE, COLUMN_DEFAULT
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'lot'
ORDER BY ORDINAL_POSITION
""")
for r in c.fetchall():
print(r["COLUMN_NAME"], r["DATA_TYPE"])