update
This commit is contained in:
@ -2,6 +2,9 @@ import { ReferenceRange } from "entity";
|
||||
import { SelectQueryBuilder } from "typeorm";
|
||||
import CommonHelper from "../helpers/common";
|
||||
import { OrmHelper } from "../helpers/orm";
|
||||
import { ILogObj, Logger } from "tslog";
|
||||
|
||||
const log: Logger<ILogObj> = new Logger({ name: "[ReferenceRangeModel]", type: "pretty" });
|
||||
|
||||
export class ReferenceRangeModel {
|
||||
static async list(filter: Record<string, any> = {}): Promise<SelectQueryBuilder<any>> {
|
||||
@ -16,7 +19,8 @@ export class ReferenceRangeModel {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
log.info("FILTER OBJ:", filter); // ← log filter yang masuk
|
||||
log.info("SQL:", query.getSql());
|
||||
return query;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user