From 6e77d50db47e6d0594d631b5235c91196c40cba9 Mon Sep 17 00:00:00 2001 From: kittapath Date: Tue, 4 Feb 2025 17:00:28 +0700 Subject: [PATCH 1/2] no message --- src/controllers/CommandController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index cb8d16da..e817eb83 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -4950,7 +4950,7 @@ export class CommandController extends Controller { : null; const metaAct = { profileId: item.posMasterChild.current_holderId, - dateStart: new Date(), + dateStart: body.refIds[0].commandAffectDate, dateEnd: null, posNo: shortName, position: item.posMaster.current_holder.position, From 496824571636042e5f3eea12428b9d0135adc84d Mon Sep 17 00:00:00 2001 From: kittapath Date: Tue, 4 Feb 2025 17:08:50 +0700 Subject: [PATCH 2/2] no message --- src/controllers/ProfileEmployeeController.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index b854ce7e..7631dd4e 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -4541,8 +4541,7 @@ export class ProfileEmployeeController extends Controller { position: profile.position, leaveDate: profile.dateLeave, posMasterNo: posMaster == null ? null : posMaster.posMasterNo, - posLevelName: - profile?.posType?.posTypeShortName ?? "" + " " + profile?.posLevel?.posLevelName ?? "", + posLevelName: `${profile?.posType?.posTypeShortName ?? ""} ${profile?.posLevel?.posLevelName ?? ""}`, posLevelRank: profile.posLevel == null ? null : profile.posLevel.posLevelRank, posLevelId: profile.posLevel == null ? null : profile.posLevel.id, posTypeName: profile.posType == null ? null : profile.posType.posTypeName,