From 7c345a61f3e558867f41028251b9eadf58e7964e Mon Sep 17 00:00:00 2001 From: Adisak Date: Mon, 24 Nov 2025 10:38:58 +0700 Subject: [PATCH] #2004 --- src/controllers/CommandController.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 77e87ede..3435a0c7 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -5718,6 +5718,9 @@ export class CommandController extends Controller { posNumCodeSit: _posNumCodeSit, posNumCodeSitAbb: _posNumCodeSitAbb, }); + if(orgRevisionRef){ + await CreatePosMasterHistoryOfficer(orgRevisionRef.id, req, "DELETE"); + } await removeProfileInOrganize(profile.id, "OFFICER"); const clearProfile = await checkCommandType(String(item.commandId)); const _null: any = null;