34 lines
886 B
C#
34 lines
886 B
C#
|
|
using Furion.DynamicApiController;
|
|||
|
|
using Microsoft.AspNetCore.Mvc;
|
|||
|
|
using Nirvana.Common;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace Waste.Application.ReportInfo
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 统计报表
|
|||
|
|
/// </summary>
|
|||
|
|
public class ReportAppService : IDynamicApiController
|
|||
|
|
{
|
|||
|
|
private readonly IReportService _reportService;
|
|||
|
|
public ReportAppService(IReportService reportService)
|
|||
|
|
{
|
|||
|
|
_reportService = reportService;
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 统计列表
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="param"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
[HttpPost]
|
|||
|
|
public async Task<PageParms<ReportList>> GetListAsync(QueryParams param)
|
|||
|
|
{
|
|||
|
|
return await _reportService.GetListAsync(param);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|