style(worker): 修复验收结算仓库的 Prettier 格式
This commit is contained in:
@@ -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<WorkOrderRow>(
|
||||
@@ -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<WorkOrderRow>(
|
||||
|
||||
Reference in New Issue
Block a user