fix: release beds/lockers in batchCheckOut

The batchCheckOut method was not releasing assigned beds and lockers
after checkout, leaving them orphaned as 'occupied'. Added the same
release pattern used in checkOut() — using runner.manager.update()
since batchCheckOut operates inside a QueryRunner transaction.
This commit is contained in:
2026-07-09 12:05:36 +08:00
parent 54d8d0545e
commit 454a0d24c6
13 changed files with 363 additions and 12 deletions

View File

@@ -98,6 +98,10 @@ export class QueryClassDto {
@IsOptional() @IsString()
keyword?: string;
@IsOptional()
@Type(() => Boolean)
isArchived?: boolean;
}
export class AddStudentsDto {