fix: remove truncated management totals

This commit is contained in:
hectorzhao
2026-07-12 10:56:00 +08:00
parent 24cb632a45
commit 390b970032
19 changed files with 107 additions and 80 deletions
@@ -202,7 +202,6 @@ describe('OperationsService', () => {
},
include: { tenant: true, application: true, channel: true, submitRecords: true, receiptRecords: true },
orderBy: { queuedAt: 'desc' },
take: 500,
});
});
@@ -229,7 +228,6 @@ describe('OperationsService', () => {
},
},
orderBy: { receivedAt: 'desc' },
take: 500,
});
});
-4
View File
@@ -81,7 +81,6 @@ export class OperationsService {
where: { tenantId: query.tenantId, status: query.status },
include: { apiRequests: true },
orderBy: { createdAt: 'desc' },
take: 200,
});
}
@@ -90,7 +89,6 @@ export class OperationsService {
where: messageWhere(query),
include: { tenant: true, application: true, channel: true, submitRecords: true, receiptRecords: true },
orderBy: { queuedAt: 'desc' },
take: 500,
});
}
@@ -112,7 +110,6 @@ export class OperationsService {
},
},
orderBy: { receivedAt: 'desc' },
take: 500,
});
}
@@ -303,7 +300,6 @@ export class OperationsService {
return this.prisma.operationLog.findMany({
where: { tenantId: query.tenantId, userId: query.userId },
orderBy: { createdAt: 'desc' },
take: 500,
});
}