From 7878d912b1abac442d5131c988df65f278d98b8a Mon Sep 17 00:00:00 2001 From: Bright Date: Tue, 11 Feb 2025 14:06:55 +0700 Subject: [PATCH] fix --- src/controllers/CommandController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 5670d395..f4208e5d 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -4716,7 +4716,8 @@ export class CommandController extends Controller { const _posMaster = await this.employeePosMasterRepository.findOne({ where: { orgRevisionId: orgRevision?.id, - current_holderId: profile.id + id: profile.posmasterIdTemp + // current_holderId: profile.id }, relations: { orgRoot: true,