update
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user