This commit is contained in:
2026-04-21 11:21:39 +07:00
parent 2d0438535a
commit 1e5895ded0

View File

@ -166,7 +166,7 @@ export class InpatientRoomController {
let param: any = await schema.validateAsync(req.params);
let data = await InpatientRoomModel.list({ id: param.id }).then((q) =>
let data = await InpatientRoomModel.list({ "InpatientRoom.id": param.id }).then((q) =>
q //
.leftJoinAndSelect("InpatientRoom.room", "room")
.getOne(),