search diractor

This commit is contained in:
kittapath 2025-01-08 16:54:09 +07:00
parent eac620fb15
commit 578ea2bbe7

View file

@ -1435,6 +1435,7 @@ export class ProfileController extends Controller {
id: Not(posMaster.current_holderId),
};
if (posMaster.orgChild1Id == null) {
condition.orgRootId = null;
} else if (posMaster.orgChild2Id == null) {
condition.orgChild1Id = null;
} else if (posMaster.orgChild3Id == null) {
@ -1526,6 +1527,7 @@ export class ProfileController extends Controller {
id: Not(posMaster.current_holderId),
};
if (posMaster.orgChild1Id == null) {
condition.orgRootId = null;
} else if (posMaster.orgChild2Id == null) {
condition.orgChild1Id = null;
} else if (posMaster.orgChild3Id == null) {