|
@@ -367,7 +367,7 @@ namespace Hotline.Application.JudicialManagement
|
|
|
|
|
|
}
|
|
|
|
|
|
- public async Task<PagedDto<IndustryOrderStaticsDto>> QueryIndustryOrderStatics(QueryIndustryOrderStatisticsRequest queryIndustryOrderStatisticsRequest)
|
|
|
+ public async Task<List<IndustryOrderStaticsDto>> QueryIndustryOrderStatics(QueryIndustryOrderStatisticsRequest queryIndustryOrderStatisticsRequest)
|
|
|
{
|
|
|
var judicialManagementOrderTable = _judicialManagementOrdersRepository.Queryable()
|
|
|
.Where(x => x.CreationTime >= queryIndustryOrderStatisticsRequest.StartTime && x.CreationTime <= queryIndustryOrderStatisticsRequest.EndTime);
|
|
@@ -382,15 +382,10 @@ namespace Hotline.Application.JudicialManagement
|
|
|
ToBeVerifiedOrderCount = SqlFunc.AggregateCount(SqlFunc.IIF(j.IsEnforcementOrder == null, 1, 0))
|
|
|
});
|
|
|
|
|
|
- var count = await queryable.CountAsync();
|
|
|
|
|
|
- var result = await queryable.ToPageListAsync(queryIndustryOrderStatisticsRequest.PageIndex, queryIndustryOrderStatisticsRequest.PageSize);
|
|
|
+ var result = await queryable.ToListAsync();
|
|
|
|
|
|
- return new PagedDto<IndustryOrderStaticsDto>
|
|
|
- {
|
|
|
- Total = count,
|
|
|
- Items = result
|
|
|
- };
|
|
|
+ return result;
|
|
|
}
|
|
|
}
|
|
|
}
|