feat: replace tenants with organization management

This commit is contained in:
2026-07-10 21:27:26 +08:00
parent 8ed1682b90
commit 8f0991a51f
49 changed files with 1292 additions and 698 deletions

View File

@@ -96,7 +96,9 @@ export class OccupanciesController {
content: `您已入住房间 #${dto.roomId}`,
});
}
} catch (_) { /* don't block response */ }
} catch (_) {
/* don't block response */
}
return result;
}
@@ -126,7 +128,9 @@ export class OccupanciesController {
content: `您已退宿房间 #${result.roomId}`,
});
}
} catch (_) { /* don't block response */ }
} catch (_) {
/* don't block response */
}
return result;
}
@@ -215,7 +219,7 @@ export class OccupanciesController {
gender: r.student?.gender || '',
phone: r.student?.phone || '',
idNumber: r.student?.idNumber || '',
organization: r.student?.organization || '',
organization: r.student?.organization?.name || '',
supervisor: r.student?.supervisor || '',
checkInDate: r.checkInDate || '',
checkOutDate: r.checkOutDate || '',