updated occupant and employee login completed

This commit is contained in:
2025-06-15 20:25:50 +03:00
parent 9fb517fa15
commit 57c2696bcb
4 changed files with 17 additions and 55 deletions

View File

@@ -288,8 +288,7 @@ class LoginHandler:
list_of_returns = (
Employees.id, Employees.uu_id, People.id, People.uu_id, Users.id, Users.uu_id, Companies.id, Companies.uu_id, Companies.public_name, Companies.company_type,
Departments.id, Departments.uu_id, Duty.id, Duty.uu_id, Addresses.id, Addresses.letter_address, Staff.id, Staff.uu_id, Duty.duty_name,
Duties.id, Duties.uu_id, BuildParts.id, BuildParts.uu_id, BuildParts.part_name, BuildParts.part_level, BuildParts.part_code,
OccupantTypes.id, OccupantTypes.uu_id, OccupantTypes.occupant_type, OccupantTypes.occupant_description, Addresses.letter_address
Duties.id, Duties.uu_id, Addresses.letter_address
)
selected_company_query = db_session.query(*list_of_returns