update commander-director-position
This commit is contained in:
parent
e327e28bf6
commit
2d1fc8b05f
3 changed files with 337 additions and 31 deletions
|
|
@ -1739,7 +1739,8 @@ export class ProfileController extends Controller {
|
|||
orgRevision: { orgRevisionIsDraft: false, orgRevisionIsCurrent: true },
|
||||
},
|
||||
});
|
||||
return new HttpSuccess({ data: [], total: 0 });
|
||||
if (!posMaster) throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลการครองตำแหน่ง");
|
||||
// return new HttpSuccess({ data: [], total: 0 });
|
||||
} else if ((posMaster?.current_holder?.posLevel?.posLevelAuthority ?? null) == "GOVERNOR") {
|
||||
return new HttpSuccess({ data: [], total: 0 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue