This commit is contained in:
2026-04-16 12:26:00 +07:00
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export class ItemMasterModel {
.leftJoinAndSelect("item_master.item_class_detail", "item_class_detail")
.leftJoinAndSelect("item_master.status", "status")
.leftJoinAndSelect("item_master.factory", "factory")
.leftJoinAndSelect("item_master.unit", "unit")
// .leftJoinAndSelect("item_master.unit", "unit")
if (whereAttr.length != 0) {
query = query.where(whereAttr.join(" and "), whereVal);
}