From 4ef52f11ba8da092dfa89a668c2a1945e7c43bb0 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 30 Oct 2026 21:59:19 +0800 Subject: [PATCH] =?UTF-8?q?style(worker):=20=E4=BF=AE=E5=A4=8D=E9=AA=8C?= =?UTF-8?q?=E6=94=B6=E7=BB=93=E7=AE=97=E4=BB=93=E5=BA=93=E7=9A=84=20Pretti?= =?UTF-8?q?er=20=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../worker-platform/work-order-settlement-repo.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/backend/src/repositories/worker-platform/work-order-settlement-repo.ts b/apps/backend/src/repositories/worker-platform/work-order-settlement-repo.ts index 8d8874bc..b9900a26 100644 --- a/apps/backend/src/repositories/worker-platform/work-order-settlement-repo.ts +++ b/apps/backend/src/repositories/worker-platform/work-order-settlement-repo.ts @@ -836,7 +836,10 @@ export async function cancelWorkOrderShare(input: { share: WorkOrderShareRow | null releasedDepositAmount: number failureReason: - 'work_order_not_cancellable' | 'share_not_found' | 'share_status_not_cancellable' | null + | 'work_order_not_cancellable' + | 'share_not_found' + | 'share_status_not_cancellable' + | null }> { return withTransaction(async (client) => { const orderResult = await client.query( @@ -1175,7 +1178,10 @@ export async function cancelWorkOrderSharing(input: { cancelledShareCount: number releasedDepositAmount: number failureReason: - 'work_order_not_cancellable' | 'no_cancellable_shares' | 'accepted_shares_present' | null + | 'work_order_not_cancellable' + | 'no_cancellable_shares' + | 'accepted_shares_present' + | null }> { return withTransaction(async (client) => { const orderResult = await client.query(