update
This commit is contained in:
@ -166,7 +166,7 @@ export class InpatientRoomController {
|
|||||||
|
|
||||||
let param: any = await schema.validateAsync(req.params);
|
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 //
|
q //
|
||||||
.leftJoinAndSelect("InpatientRoom.room", "room")
|
.leftJoinAndSelect("InpatientRoom.room", "room")
|
||||||
.getOne(),
|
.getOne(),
|
||||||
|
|||||||
Reference in New Issue
Block a user