增加定时同步组织架构

This commit is contained in:
2026-01-15 19:24:52 +08:00
parent 4a51ec89cc
commit 723c7817b6
17 changed files with 240 additions and 132 deletions

View File

@@ -1,7 +1,7 @@
from sqlmodel import Session, SQLModel, create_engine
from config import Settings
from model.model import Department, Employee, Tenant
from model.model import Department, Employee
PGSQL = Settings().PGSQL
@@ -18,3 +18,9 @@ def get_engine():
def get_session():
return Session(get_engine())
__all__ = [
"Department",
"Employee",
]