|
@@ -27,15 +27,15 @@ public record QueryCallListDto : PagedRequest
|
|
|
public string Source { get; set; }
|
|
|
public TimeSpan? StartHourTo { get; set; }
|
|
|
|
|
|
- /// <summary>
|
|
|
- /// 排序字段
|
|
|
- /// </summary>
|
|
|
- public string? SortField { get; set; }
|
|
|
-
|
|
|
- /// <summary>
|
|
|
- /// 排序规则 0 升序 1 降序
|
|
|
- /// </summary>
|
|
|
- public int? SortRule { get; set; }
|
|
|
+ /// <summary>
|
|
|
+ /// 排序字段
|
|
|
+ /// </summary>
|
|
|
+ public string? SortField { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 排序规则 0 升序 1 降序
|
|
|
+ /// </summary>
|
|
|
+ public int? SortRule { get; set; }
|
|
|
}
|
|
|
|
|
|
public class BiQueryHourCallDto : StartEndTimeDto
|
|
@@ -58,7 +58,7 @@ public class StartEndTimeDto
|
|
|
public DateTime EndTime { get; set; }
|
|
|
}
|
|
|
|
|
|
-public record PagedStartEndTimeDto : PagedRequest
|
|
|
+public record PagedStartEndTimeDto : PagedRequest
|
|
|
{
|
|
|
[Required]
|
|
|
public DateTime StartTime { get; set; }
|
|
@@ -254,7 +254,7 @@ public class QueryCallDateStatisticsDetailResp
|
|
|
/// <summary>
|
|
|
/// 接通总量(计算所得)
|
|
|
/// </summary>
|
|
|
- public int PutthroughCount => PersonCallInPutthroughCount+ EnterpriseCallInPutthroughCount + GaoXiaoCallInPutthroughCount + AiCallInPutthroughCount;
|
|
|
+ public int PutthroughCount => PersonCallInPutthroughCount + EnterpriseCallInPutthroughCount + GaoXiaoCallInPutthroughCount + AiCallInPutthroughCount;
|
|
|
|
|
|
/// <summary>
|
|
|
/// 个人服务接通量
|
|
@@ -304,7 +304,7 @@ public class QueryCallDateStatisticsDetailResp
|
|
|
/// <summary>
|
|
|
/// 总体接通率
|
|
|
/// </summary>
|
|
|
- public double TotalPutthroughRate => PutthroughCount == 0 ? 0 : Math.Round(((double)PutthroughCount / CallInTotal)*100,2);
|
|
|
+ public double TotalPutthroughRate => PutthroughCount == 0 ? 0 : Math.Round(((double)PutthroughCount / CallInTotal) * 100, 2);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 总体接通率(文本)
|
|
@@ -314,7 +314,7 @@ public class QueryCallDateStatisticsDetailResp
|
|
|
/// <summary>
|
|
|
/// 服务接通率
|
|
|
/// </summary>
|
|
|
- public double ServicePutthorughRate => (PersonCallInCount + EnterpriseCallInCount + GaoXiaoCallInCount + AiCallInCount) == 0 ? 0 : Math.Round(((double)PutthroughCount / (PersonCallInCount + EnterpriseCallInCount + GaoXiaoCallInCount + AiCallInCount)) * 100, 2);
|
|
|
+ public double ServicePutthorughRate => (PersonCallInCount + EnterpriseCallInCount + GaoXiaoCallInCount + AiCallInCount) == 0 ? 0 : Math.Round(((double)PutthroughCount / (PersonCallInCount + EnterpriseCallInCount + GaoXiaoCallInCount + AiCallInCount)) * 100, 2);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 服务接通率(文本)
|
|
@@ -324,7 +324,7 @@ public class QueryCallDateStatisticsDetailResp
|
|
|
/// <summary>
|
|
|
/// 话务接通率
|
|
|
/// </summary>
|
|
|
- public double CallPutthorughRate => (PersonCallInPutthroughCount + EnterpriseCallInPutthroughCount + GaoXiaoCallInPutthroughCount) == 0 ? 0 : Math.Round(((double)(PersonCallInPutthroughCount + EnterpriseCallInPutthroughCount+ GaoXiaoCallInPutthroughCount)) / (PersonCallInCount + EnterpriseCallInCount + GaoXiaoCallInCount) * 100, 2);
|
|
|
+ public double CallPutthorughRate => (PersonCallInPutthroughCount + EnterpriseCallInPutthroughCount + GaoXiaoCallInPutthroughCount) == 0 ? 0 : Math.Round(((double)(PersonCallInPutthroughCount + EnterpriseCallInPutthroughCount + GaoXiaoCallInPutthroughCount)) / (PersonCallInCount + EnterpriseCallInCount + GaoXiaoCallInCount) * 100, 2);
|
|
|
|
|
|
/// <summary>
|
|
|
/// 话务接通率(文本)
|
|
@@ -359,7 +359,7 @@ public class QueryPersonCallDateStatisticsDetailResp
|
|
|
/// 个人服务队列挂断
|
|
|
/// </summary>
|
|
|
public int PersonQueueOffCount { get; set; }
|
|
|
-
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 个人服务等待挂断
|
|
|
/// </summary>
|
|
@@ -383,7 +383,7 @@ public class QueryEnterpriseCallDateStatisticsDetailResp
|
|
|
/// 日期
|
|
|
/// </summary>
|
|
|
public string Date { get; set; }
|
|
|
-
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 企业服务呼入总量
|
|
|
/// </summary>
|
|
@@ -420,6 +420,49 @@ public class QueryEnterpriseCallDateStatisticsDetailResp
|
|
|
public string EnterpriseCallPutthorughRateText => EnterpriseCallPutthorughRate + "%";
|
|
|
}
|
|
|
|
|
|
+public class QueryGaoXiaoCallDateStatisticsDetailResp
|
|
|
+{
|
|
|
+ /// <summary>
|
|
|
+ /// 日期
|
|
|
+ /// </summary>
|
|
|
+ public string Date { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 高效服务呼入总量
|
|
|
+ /// </summary>
|
|
|
+ public int GaoXiaoCallInCount { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 高效服务接通量
|
|
|
+ /// </summary>
|
|
|
+ public int GaoXiaoCallInPutthroughCount { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 高效服务挂断总量
|
|
|
+ /// </summary>
|
|
|
+ public int GaoXiaoRingOffCount => GaoXiaoQueueOffCount + GaoXiaoWaitOffCount;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 高效服务队列挂断
|
|
|
+ /// </summary>
|
|
|
+ public int GaoXiaoQueueOffCount { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 高效服务等待挂断
|
|
|
+ /// </summary>
|
|
|
+ public int GaoXiaoWaitOffCount { get; set; }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 高效服务接通率
|
|
|
+ /// </summary>
|
|
|
+ public double GaoXiaoCallPutthorughRate => GaoXiaoCallInPutthroughCount == 0 ? 0 : Math.Round(((double)(GaoXiaoCallInPutthroughCount)) / (GaoXiaoCallInCount) * 100, 2);
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 高效服务接通率
|
|
|
+ /// </summary>
|
|
|
+ public string GaoXiaoCallPutthorughRateText => GaoXiaoCallPutthorughRate + "%";
|
|
|
+}
|
|
|
+
|
|
|
public class QueryCallOutDateStatisticsDetailResp
|
|
|
{
|
|
|
/// <summary>
|
|
@@ -603,7 +646,7 @@ public class QuerySeatMonthCallRequest
|
|
|
}
|
|
|
|
|
|
|
|
|
-public record QuerySeatMonthCallDetailRequest:PagedRequest
|
|
|
+public record QuerySeatMonthCallDetailRequest : PagedRequest
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 坐席ID
|
|
@@ -643,7 +686,7 @@ public record QuerySeatMonthCallDetailRequest:PagedRequest
|
|
|
/// <summary>
|
|
|
/// 振铃时间结束
|
|
|
/// </summary>
|
|
|
- public DateTime? RingEndTime { get;set; }
|
|
|
+ public DateTime? RingEndTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 振铃结束时间开始
|