fix ระดับลูกจ้าง ( API รายการทะเบียนประวัติในระบบอื่น )
This commit is contained in:
parent
2e2d01e69c
commit
3451b6014a
2 changed files with 4 additions and 4 deletions
|
|
@ -1694,11 +1694,11 @@ export class OrganizationDotnetController extends Controller {
|
|||
return new HttpSuccess(mapProfile);
|
||||
}
|
||||
/**
|
||||
* 3. API Get Profile จาก keycloak id
|
||||
* 3. API Get Profile จาก citizen Id
|
||||
*
|
||||
* @summary 3. API Get Profile จาก keycloak id
|
||||
* @summary 3. API Get Profile จาก citizen Id
|
||||
*
|
||||
* @param {string} citizenId Id keycloak
|
||||
* @param {string} citizenId citizen Id
|
||||
*/
|
||||
@Get("citizenId/{citizenId}")
|
||||
async GetProfileByCitizenIdAsync(@Path() citizenId: string) {
|
||||
|
|
|
|||
|
|
@ -1630,7 +1630,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
firstName: _data.firstName,
|
||||
lastName: _data.lastName,
|
||||
citizenId: _data.citizenId,
|
||||
posLevel: _data.posLevel == null ? null : _data.posLevel.posLevelName,
|
||||
posLevel: `${_data.posType.posTypeShortName?? ""} ${_data.posLevel.posLevelName ?? ""}`,
|
||||
posType: _data.posType == null ? null : _data.posType.posTypeName,
|
||||
posLevelId: _data.posLevel == null ? null : _data.posLevel.id,
|
||||
posTypeId: _data.posType == null ? null : _data.posType.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue