设备维修统计报表

This commit is contained in:
“hsc”
2026-09-02 13:36:52 +08:00
parent cfa8e78d33
commit 38cd47410c
5 changed files with 786 additions and 4 deletions
@@ -1,3 +1,8 @@
using Model;
using Model.Dto.Inspection;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Service.Interface
{
/// <summary>
@@ -5,6 +10,49 @@ namespace Service.Interface
/// </summary>
public interface IStatisticsReportService
{
// TODO: 定义 统计报表 相关方法
/// <summary>
/// 设备统计概览(总数/在用/闲置/报废等)
/// </summary>
Task<Result<DeviceStatisticsDto>> GetDeviceStatisticsAsync();
/// <summary>
/// 按分类统计设备数量
/// </summary>
Task<Result<List<CategoryStatisticsDto>>> GetCategoryStatisticsAsync();
/// <summary>
/// 按部门统计设备数量
/// </summary>
Task<Result<List<DepartmentStatisticsDto>>> GetDepartmentStatisticsAsync();
/// <summary>
/// 设备维护统计(校准/保养及时率、超期数量等)
/// </summary>
Task<Result<MaintenanceStatisticsDto>> GetMaintenanceStatisticsAsync();
/// <summary>
/// 维护超期设备明细
/// </summary>
Task<Result<List<MaintenanceOverdueDetailDto>>> GetMaintenanceOverdueDetailsAsync();
/// <summary>
/// 维修统计概览
/// </summary>
Task<Result<RepairStatisticsDto>> GetRepairStatisticsAsync();
/// <summary>
/// 故障类型分布
/// </summary>
Task<Result<List<FaultTypeDistributionDto>>> GetFaultTypeDistributionAsync();
/// <summary>
/// 维修工时分析
/// </summary>
Task<Result<List<RepairHoursAnalysisDto>>> GetRepairHoursAnalysisAsync();
/// <summary>
/// 维修记录明细列表
/// </summary>
Task<Result<List<RepairRecordDetailDto>>> GetRepairRecordDetailsAsync();
}
}