fixed api service
This commit is contained in:
parent
bcc27002db
commit
6719585d45
2 changed files with 142 additions and 53 deletions
|
|
@ -106,10 +106,10 @@ export class ApiManageController extends Controller {
|
|||
code: "organization",
|
||||
name: "ข้อมูลโครงสร้าง",
|
||||
},
|
||||
{
|
||||
code: "position",
|
||||
name: "ข้อมูลอัตรากำลัง",
|
||||
},
|
||||
// {
|
||||
// code: "position",
|
||||
// name: "ข้อมูลอัตรากำลัง",
|
||||
// },
|
||||
];
|
||||
|
||||
// รายการเอนทิตีทั้งหมด
|
||||
|
|
@ -273,49 +273,49 @@ export class ApiManageController extends Controller {
|
|||
description: "ข้อมูลส่วนราชการ ระดับที่ 4",
|
||||
system: ["organization"],
|
||||
},
|
||||
{
|
||||
name: "PosMaster",
|
||||
repository: this.posMasterRepository,
|
||||
description: "ข้อมูลอัตรากำลัง",
|
||||
isMain: true,
|
||||
system: ["position"],
|
||||
},
|
||||
{
|
||||
name: "Position",
|
||||
repository: this.positionRepository,
|
||||
description: "ข้อมูลตำแหน่ง",
|
||||
system: ["position"],
|
||||
},
|
||||
{
|
||||
name: "OrgRoot",
|
||||
repository: this.orgRootRepository,
|
||||
description: "ข้อมูลหน่วยงาน",
|
||||
system: ["position"],
|
||||
},
|
||||
{
|
||||
name: "OrgChild1",
|
||||
repository: this.orgChild1Repository,
|
||||
description: "ข้อมูลส่วนราชการ ระดับที่ 1",
|
||||
system: ["position"],
|
||||
},
|
||||
{
|
||||
name: "OrgChild2",
|
||||
repository: this.orgChild2Repository,
|
||||
description: "ข้อมูลส่วนราชการ ระดับที่ 2",
|
||||
system: ["position"],
|
||||
},
|
||||
{
|
||||
name: "OrgChild3",
|
||||
repository: this.orgChild3Repository,
|
||||
description: "ข้อมูลส่วนราชการ ระดับที่ 3",
|
||||
system: ["position"],
|
||||
},
|
||||
{
|
||||
name: "OrgChild4",
|
||||
repository: this.orgChild4Repository,
|
||||
description: "ข้อมูลส่วนราชการ ระดับที่ 4",
|
||||
system: ["position"],
|
||||
},
|
||||
// {
|
||||
// name: "PosMaster",
|
||||
// repository: this.posMasterRepository,
|
||||
// description: "ข้อมูลอัตรากำลัง",
|
||||
// isMain: true,
|
||||
// system: ["position"],
|
||||
// },
|
||||
// {
|
||||
// name: "Position",
|
||||
// repository: this.positionRepository,
|
||||
// description: "ข้อมูลตำแหน่ง",
|
||||
// system: ["position"],
|
||||
// },
|
||||
// {
|
||||
// name: "OrgRoot",
|
||||
// repository: this.orgRootRepository,
|
||||
// description: "ข้อมูลหน่วยงาน",
|
||||
// system: ["position"],
|
||||
// },
|
||||
// {
|
||||
// name: "OrgChild1",
|
||||
// repository: this.orgChild1Repository,
|
||||
// description: "ข้อมูลส่วนราชการ ระดับที่ 1",
|
||||
// system: ["position"],
|
||||
// },
|
||||
// {
|
||||
// name: "OrgChild2",
|
||||
// repository: this.orgChild2Repository,
|
||||
// description: "ข้อมูลส่วนราชการ ระดับที่ 2",
|
||||
// system: ["position"],
|
||||
// },
|
||||
// {
|
||||
// name: "OrgChild3",
|
||||
// repository: this.orgChild3Repository,
|
||||
// description: "ข้อมูลส่วนราชการ ระดับที่ 3",
|
||||
// system: ["position"],
|
||||
// },
|
||||
// {
|
||||
// name: "OrgChild4",
|
||||
// repository: this.orgChild4Repository,
|
||||
// description: "ข้อมูลส่วนราชการ ระดับที่ 4",
|
||||
// system: ["position"],
|
||||
// },
|
||||
// {
|
||||
// name: "Profile",
|
||||
// repository: this.profileRepository,
|
||||
|
|
@ -343,13 +343,13 @@ export class ApiManageController extends Controller {
|
|||
"orgChild2Id",
|
||||
"orgChild3Id",
|
||||
"orgChild4Id",
|
||||
"ancestorDNA",
|
||||
"keycloak",
|
||||
"commandId",
|
||||
"prefixMain",
|
||||
"authRoleId",
|
||||
"next_holderId",
|
||||
"current_holderId",
|
||||
"ancestorDNA",
|
||||
]; // ฟิลด์ที่ไม่ต้องการแสดงในผลลัพธ์
|
||||
|
||||
// การแทนที่ฟิลด์ ID ด้วยฟิลด์ Name สำหรับ Profile entity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue