fix กจ. ไม่เห็นรายชื่อผู้สอบผ่านหลังจากเผยแพร่โครงสร้าง Task #2219
All checks were successful
Build & Deploy on Dev / build (push) Successful in 59s

This commit is contained in:
harid 2026-01-21 16:09:03 +07:00
parent ae3a634595
commit 0203a9105f

View file

@ -7658,7 +7658,7 @@ export class ProfileController extends Controller {
},
orgRevisionId: revisionId,
},
relations: ["orgChild1"],
relations: ["orgRoot", "orgChild1"],
});
if (posMasters == null) {
return new HttpSuccess({
@ -7668,6 +7668,7 @@ export class ProfileController extends Controller {
child2Id: null,
child3Id: null,
child4Id: null,
rootDnaId: null
});
}
return new HttpSuccess({
@ -7677,6 +7678,7 @@ export class ProfileController extends Controller {
child2Id: posMasters?.orgChild2Id || null,
child3Id: posMasters?.orgChild3Id || null,
child4Id: posMasters?.orgChild4Id || null,
rootDnaId: posMasters?.orgRoot?.ancestorDNA || null
});
}