feat(expenses): add transactional expense case events

This commit is contained in:
caoxiaozhu
2026-07-13 11:58:48 +08:00
parent 9a84e125d0
commit 661990b27b
21 changed files with 1973 additions and 63 deletions

View File

@@ -26,6 +26,7 @@ class CurrentUserContext:
name: str
role_codes: list[str]
is_admin: bool
tenant_id: str = "default"
department_name: str = ""
cost_center: str = ""
position: str = ""
@@ -101,6 +102,7 @@ def get_current_user(
name=name or username,
role_codes=role_codes,
is_admin=is_admin,
tenant_id="default",
department_name=(x_auth_department or "").strip(),
cost_center=(x_auth_cost_center or "").strip(),
position=(x_auth_position or "").strip(),