This commit is contained in:
Adisak 2026-02-23 16:37:50 +07:00
parent 673da9940d
commit d85d245273

View file

@ -121,7 +121,7 @@ export async function CreatePosMasterHistoryEmployee(
"positions", "positions",
"positions.posLevel", "positions.posLevel",
"positions.posType", "positions.posType",
"positions.posExecutive", // "positions.posExecutive",
"orgRoot", "orgRoot",
"orgChild1", "orgChild1",
"orgChild2", "orgChild2",
@ -130,7 +130,6 @@ export async function CreatePosMasterHistoryEmployee(
"current_holder", "current_holder",
], ],
}); });
if (!pm) return false; if (!pm) return false;
if (!pm.ancestorDNA) return false; if (!pm.ancestorDNA) return false;
const _null: any = null; const _null: any = null;
@ -190,7 +189,7 @@ export async function CreatePosMasterHistoryEmployeeTemp(
"positions", "positions",
"positions.posLevel", "positions.posLevel",
"positions.posType", "positions.posType",
"positions.posExecutive", // "positions.posExecutive",
"orgRoot", "orgRoot",
"orgChild1", "orgChild1",
"orgChild2", "orgChild2",