no message
This commit is contained in:
parent
04928bb83a
commit
eab9b79aa7
2 changed files with 12 additions and 3 deletions
|
|
@ -876,9 +876,9 @@ export class CommandController extends Controller {
|
|||
}
|
||||
|
||||
/**
|
||||
* API ลบรายการคำสั่ง
|
||||
* API ลบรายการคำสั่งถาวร
|
||||
*
|
||||
* @summary API ลบรายการคำสั่ง
|
||||
* @summary API ลบรายการคำสั่งถาวร
|
||||
*
|
||||
* @param {string} id Id คำสั่ง
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -5684,7 +5684,16 @@ export class ProfileController extends Controller {
|
|||
//await new permission().PermissionOrgUserGet(request, "SYS_REGISTRY_OFFICER", id); //ไม่แน่ใจOFFปิดไว้ก่อน
|
||||
const profile = await this.profileEmpRepo.findOne({
|
||||
where: { id: id },
|
||||
relations: ["posLevel", "posType", "current_holders", "current_holders.orgRoot"],
|
||||
relations: [
|
||||
"posLevel",
|
||||
"posType",
|
||||
"current_holders",
|
||||
"current_holders.orgRoot",
|
||||
"current_holders.orgChild1",
|
||||
"current_holders.orgChild2",
|
||||
"current_holders.orgChild3",
|
||||
"current_holders.orgChild4",
|
||||
],
|
||||
});
|
||||
if (!profile) {
|
||||
throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลบุคคลนี้ในระบบ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue