|
@@ -132,7 +132,7 @@ namespace Hotline.Api.Controllers
|
|
|
[HttpPost("specialist/orders/export")]
|
|
|
public async Task<FileStreamResult> ExportOrders([FromBody] ExportExcelDto<QueryOrderDto> dto)
|
|
|
{
|
|
|
- var query = await _enterpriseApplication.QueryEnterpriseSpecialistOrdersAsync(dto, HttpContext.RequestAborted);
|
|
|
+ var query = await _enterpriseApplication.QueryEnterpriseSpecialistOrdersAsync(dto.QueryDto, HttpContext.RequestAborted);
|
|
|
List<Order> orders;
|
|
|
if (dto.IsExportAll)
|
|
|
{
|