feat: replace tenants with organization management
This commit is contained in:
@@ -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 || '',
|
||||
|
||||
Reference in New Issue
Block a user