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