This commit is contained in:
2026-07-30 10:30:50 +08:00
parent cf6d708566
commit 853c478657
85 changed files with 4711 additions and 1052 deletions
+1 -1
View File
@@ -44,6 +44,6 @@ async def create_warehouse(
warehouse = Warehouse(**data)
db_session.add(warehouse)
await db_session.commit()
await db_session.flush()
await db_session.refresh(warehouse)
return WarehouseResponse.from_orm(warehouse)