|
@@ -600,7 +600,6 @@ public class OrderController : BaseController
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpGet("published/statistics/department")]
|
|
|
- [AllowAnonymous]
|
|
|
public async Task<PagedDto<PublishedOrderStatisticsDto>> QueryPublishedOrderDepartmentAsync([FromQuery] QueryOrderPublishStatisticsAllDto dto)
|
|
|
{
|
|
|
var (total, items) = await _orderApplication.QueryPublishedOrderDepartmentAsync(dto, false);
|
|
@@ -613,7 +612,6 @@ public class OrderController : BaseController
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpPost("published/statistics/department/export")]
|
|
|
- [AllowAnonymous]
|
|
|
public async Task<FileStreamResult> ExportQueryPublishedOrderDepartmentAsync([FromBody]ExportExcelDto<QueryOrderPublishStatisticsAllDto> dto)
|
|
|
{
|
|
|
var (total, list) = await _orderApplication.QueryPublishedOrderDepartmentAsync(dto.QueryDto, dto.IsExportAll);
|
|
@@ -647,7 +645,6 @@ public class OrderController : BaseController
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpGet("published/statistics/user")]
|
|
|
- [AllowAnonymous]
|
|
|
public async Task<PagedDto<PublishedOrderStatisticsDto>> QueryPublishedOrderUserAsync([FromQuery] QueryOrderPublishStatisticsDto dto)
|
|
|
{
|
|
|
var (total, list) = await _orderApplication.QueryPublishedOrderAsync(dto, false);
|
|
@@ -660,7 +657,6 @@ public class OrderController : BaseController
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpPost("published/statistics/user/export")]
|
|
|
- [AllowAnonymous]
|
|
|
public async Task<FileStreamResult> ExportQueryPublishedOrder([FromBody] ExportExcelDto<QueryOrderPublishStatisticsDto> dto)
|
|
|
{
|
|
|
var (total, list) = await _orderApplication.QueryPublishedOrderAsync(dto.QueryDto, dto.IsExportAll);
|
|
@@ -694,7 +690,6 @@ public class OrderController : BaseController
|
|
|
/// <param name="dto"></param>
|
|
|
/// <returns></returns>
|
|
|
[HttpGet("published/statistics")]
|
|
|
- [AllowAnonymous]
|
|
|
public async Task<PublishedOrderStatisticsDto> QueryPublishedOrderAsync([FromQuery] QueryOrderPublishStatisticsAllDto dto)
|
|
|
{
|
|
|
var totalCount = await _orderRepository.Queryable()
|
|
@@ -6639,4 +6634,4 @@ public class OrderController : BaseController
|
|
|
return await _orderAnalysisApplication.ReportQuery(dto, HttpContext.RequestAborted);
|
|
|
}
|
|
|
#endregion
|
|
|
-}
|
|
|
+}
|