From 66410ffdc8273bf979bfbe157bce314806793e6e Mon Sep 17 00:00:00 2001 From: xiaoch05 Date: Mon, 15 Apr 2024 15:35:16 +0800 Subject: [PATCH] update search condition --- apollo/src/aggregation/aggregation.resolver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apollo/src/aggregation/aggregation.resolver.ts b/apollo/src/aggregation/aggregation.resolver.ts index 5e9c34a..4efff0a 100644 --- a/apollo/src/aggregation/aggregation.resolver.ts +++ b/apollo/src/aggregation/aggregation.resolver.ts @@ -40,7 +40,7 @@ export class AggregationResolver { ? { [orderCondition[0]]: orderCondition[1] } : { startTime: Prisma.SortOrder.desc }; const resultCondition = results && results.length ? { result: { in: results } } : {}; - const submitCondition = notsubmited ? { confirmedBlocks: { search: '!0x' } } : {}; + const submitCondition = notsubmited ? { confirmedBlocks: { search: '-0x' } } : {}; return this.aggregationService.queryHistoryRecordFirst( {