This commit is contained in:
masoodafar-web
2025-11-12 22:13:55 +03:30
parent 3707dfebf6
commit f68b9d7a89
7 changed files with 3442 additions and 1050 deletions
@@ -53,7 +53,7 @@ public record GetAllTransactionsByFilterQuery : IRequest<GetAllTransactionsByFil
//
public string? RefId { get; set; }
//
public string? OrderId { get; set; }
public long? OrderId { get; set; }
//
public TransactionType? Type { get; set; }
}
@@ -37,7 +37,7 @@ public class GetAllTransactionsByFilterQueryHandler : IRequestHandler<GetAllTran
.Where(x => request.Filter.CardHash == null || x.CardHash.Contains(request.Filter.CardHash))
.Where(x => request.Filter.CardPan == null || x.CardPan.Contains(request.Filter.CardPan))
.Where(x => request.Filter.RefId == null || x.RefId.Contains(request.Filter.RefId))
.Where(x => request.Filter.OrderId == null || x.OrderId.Contains(request.Filter.OrderId))
.Where(x => request.Filter.OrderId == null || x.OrderId==request.Filter.OrderId)
.Where(x => request.Filter.Type == null || x.Type == request.Filter.Type)
;
}