From a56ba5095469c251f24926100ae972a0c4dfd90b Mon Sep 17 00:00:00 2001 From: mamoss <> Date: Tue, 8 Apr 2025 17:45:47 +0700 Subject: [PATCH] posNo ?? null --- src/controllers/CommandController.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index dbeb0f12..ebe4f2a7 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -3852,8 +3852,8 @@ export class CommandController extends Controller { isGovernment: item.isGovernment, commandNo: item.commandNo, commandYear: item.commandYear, - posNo: posNo, - posNoAbb: shortName, + posNo: posNo ?? null, + posNoAbb: shortName ?? null, commandDateAffect: item.commandDateAffect, commandDateSign: item.commandDateSign, commandCode: item.commandCode, @@ -4043,8 +4043,8 @@ export class CommandController extends Controller { isGovernment: item.isGovernment, commandNo: item.commandNo, commandYear: item.commandYear, - posNo: posNo, - posNoAbb: shortName, + posNo: posNo ?? null, + posNoAbb: shortName ?? null, commandDateAffect: item.commandDateAffect, commandDateSign: item.commandDateSign, commandCode: item.commandCode,