设备维修统计报表
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user