ออกคำสั่งกลับรับราชการ ปั๊มฟิลด์ประเภท ระดับ ตำแหน่งใหม่

This commit is contained in:
Bright 2025-03-31 17:35:09 +07:00
parent 8cf13b8690
commit 046f6bff85

View file

@ -3065,6 +3065,9 @@ export class CommandController extends Controller {
commandCode?: string | null; commandCode?: string | null;
commandName?: string | null; commandName?: string | null;
remark: string | null; remark: string | null;
positionTypeNew?: string | null;
positionLevelNew?: string | null;
positionNameNew?: string | null;
}[]; }[];
}, },
) { ) {
@ -3145,6 +3148,9 @@ export class CommandController extends Controller {
profile.leaveRemark = _null; profile.leaveRemark = _null;
profile.leaveDate = _null; profile.leaveDate = _null;
profile.leaveType = _null; profile.leaveType = _null;
profile.position = item.positionNameNew ?? _null;
profile.posTypeId = item.positionTypeNew ?? _null;
profile.posLevelId = item.positionLevelNew ?? _null
} }
let userKeycloakId; let userKeycloakId;
const checkUser = await getUserByUsername(profile.citizenId); const checkUser = await getUserByUsername(profile.citizenId);