feat: auto-populate department_id on create + seed default campus with backfill
This commit is contained in:
@@ -75,6 +75,7 @@ export class OccupanciesService {
|
||||
tenantId: dto.tenantId,
|
||||
notes: dto.notes,
|
||||
});
|
||||
occ.departmentId = room.departmentId;
|
||||
const saved = await this.repo.save(occ);
|
||||
|
||||
// 首位入住者确定房间性别
|
||||
|
||||
Reference in New Issue
Block a user