feat: update protobuf versions and enhance club membership and commission queries
Build and Deploy / build (push) Successful in 1m41s
Build and Deploy / build (push) Successful in 1m41s
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ namespace BackOffice.BFF.Application.CommissionCQ.Queries.GetWorkerExecutionLogs
|
||||
|
||||
public class GetWorkerExecutionLogsQuery : IRequest<GetWorkerExecutionLogsResponseDto>
|
||||
{
|
||||
public string? WeekNumber { get; set; }
|
||||
public long? WeekDefinitionId { get; set; }
|
||||
public string? ExecutionId { get; set; }
|
||||
public bool? SuccessOnly { get; set; }
|
||||
public bool? FailedOnly { get; set; }
|
||||
|
||||
+2
-2
@@ -21,9 +21,9 @@ public class GetWorkerExecutionLogsQueryHandler : IRequestHandler<GetWorkerExecu
|
||||
PageSize = request.PageSize
|
||||
};
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(request.WeekNumber))
|
||||
if (request.WeekDefinitionId.HasValue && request.WeekDefinitionId.Value > 0)
|
||||
{
|
||||
grpcRequest.WeekNumber = request.WeekNumber;
|
||||
grpcRequest.WeekDefinitionId = request.WeekDefinitionId.Value;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(request.ExecutionId))
|
||||
|
||||
+2
-1
@@ -9,7 +9,8 @@ public class GetWorkerExecutionLogsResponseDto
|
||||
public class WorkerExecutionLogModel
|
||||
{
|
||||
public string ExecutionId { get; set; } = string.Empty;
|
||||
public string WeekNumber { get; set; } = string.Empty;
|
||||
public long WeekDefinitionId { get; set; }
|
||||
public string WeekDisplayName { get; set; } = string.Empty;
|
||||
public string Step { get; set; } = string.Empty;
|
||||
public bool Success { get; set; }
|
||||
public string? ErrorMessage { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user