From b11d7e45e2143b8599e92b5ea1f63ace336f0b4c Mon Sep 17 00:00:00 2001 From: harid Date: Wed, 11 Feb 2026 15:45:03 +0700 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20=E0=B9=81=E0=B8=81=E0=B9=89?= =?UTF-8?q?=E0=B9=84=E0=B8=82=E0=B8=AD=E0=B8=B1=E0=B8=95=E0=B8=A3=E0=B8=B2?= =?UTF-8?q?=E0=B8=81=E0=B8=B3=E0=B8=A5=E0=B8=B1=E0=B8=87=20=E0=B9=81?= =?UTF-8?q?=E0=B8=A5=E0=B9=89=E0=B8=A7=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B9=81=E0=B8=88=E0=B9=89=E0=B8=87=20error=20#211?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/PositionController.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/controllers/PositionController.ts b/src/controllers/PositionController.ts index d8e9bd7e..eb4ea958 100644 --- a/src/controllers/PositionController.ts +++ b/src/controllers/PositionController.ts @@ -1510,7 +1510,8 @@ export class PositionController extends Controller { posMaster.orgRootId !== null && posMaster.orgChild1Id == null && posMaster.orgChild2Id == null && - posMaster.orgChild3Id == null + posMaster.orgChild3Id == null && + posMaster.orgChild4Id == null ) { shortName = posMaster.orgRoot.orgRootShortName; orgId = posMaster.orgRootId; @@ -1518,7 +1519,8 @@ export class PositionController extends Controller { posMaster.orgRootId !== null && posMaster.orgChild1Id !== null && posMaster.orgChild2Id == null && - posMaster.orgChild3Id == null + posMaster.orgChild3Id == null && + posMaster.orgChild4Id == null ) { shortName = posMaster.orgChild1.orgChild1ShortName; orgId = posMaster.orgChild1Id; @@ -1526,7 +1528,8 @@ export class PositionController extends Controller { posMaster.orgRootId !== null && posMaster.orgChild1Id !== null && posMaster.orgChild2Id !== null && - posMaster.orgChild3Id == null + posMaster.orgChild3Id == null && + posMaster.orgChild4Id == null ) { shortName = posMaster.orgChild2.orgChild2ShortName; orgId = posMaster.orgChild2Id; @@ -1534,7 +1537,8 @@ export class PositionController extends Controller { posMaster.orgRootId !== null && posMaster.orgChild1Id !== null && posMaster.orgChild2Id !== null && - posMaster.orgChild3Id !== null + posMaster.orgChild3Id !== null && + posMaster.orgChild4Id == null ) { shortName = posMaster.orgChild3.orgChild3ShortName; orgId = posMaster.orgChild3Id; @@ -1542,7 +1546,8 @@ export class PositionController extends Controller { posMaster.orgRootId !== null && posMaster.orgChild1Id !== null && posMaster.orgChild2Id !== null && - posMaster.orgChild3Id !== null + posMaster.orgChild3Id !== null && + posMaster.orgChild4Id !== null ) { shortName = posMaster.orgChild4.orgChild4ShortName; orgId = posMaster.orgChild4Id;