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

@@ -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,