style: format changed files with prettier

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Misaka_Company
2026-04-13 12:35:31 +08:00
parent b95f12fca1
commit 32931cecad
5 changed files with 180 additions and 164 deletions

View File

@@ -481,8 +481,7 @@ export class CleanerApplicationService {
: 'success'
// Build error message from execution-level errors (excluding per-order errors)
const execErrorMessage =
result.errors.length > 0 ? result.errors.join('\n') : undefined
const execErrorMessage = result.errors.length > 0 ? result.errors.join('\n') : undefined
// Update execution status
await historyDao.updateExecutionStatus(

View File

@@ -752,8 +752,15 @@ export class CleanerOperationHistoryDAO {
attemptNumber: row.AttemptNumber as number,
userId: row.UserId as number,
username: row.Username as string,
operationTime: row.OperationTime instanceof Date ? row.OperationTime : new Date(row.OperationTime as string),
endTime: row.EndTime ? (row.EndTime instanceof Date ? row.EndTime : new Date(row.EndTime as string)) : null,
operationTime:
row.OperationTime instanceof Date
? row.OperationTime
: new Date(row.OperationTime as string),
endTime: row.EndTime
? row.EndTime instanceof Date
? row.EndTime
: new Date(row.EndTime as string)
: null,
status: row.Status as string,
isDryRun: !!(row.IsDryRun as number),
totalOrders: row.TotalOrders as number,