|
@@ -4,6 +4,7 @@ using Hotline.CallCenter.Calls;
|
|
|
using Hotline.CallCenter.Tels;
|
|
|
using Hotline.Orders;
|
|
|
using Hotline.Repository.SqlSugar.Extensions;
|
|
|
+using Hotline.Share.Dtos;
|
|
|
using Hotline.Share.Dtos.CallCenter;
|
|
|
using Hotline.Share.Dtos.TrCallCenter;
|
|
|
using Hotline.Share.Enums.CallCenter;
|
|
@@ -216,6 +217,7 @@ public abstract class DefaultCallApplication : ICallApplication
|
|
|
.WhereIF(dto.Direction != null, d => d.Direction == dto.Direction)
|
|
|
.WhereIF(dto.WaitDurationStart != null && dto.WaitDurationStart > 0, d => d.WaitDuration >= dto.WaitDurationStart)
|
|
|
.WhereIF(dto.WaitDurationEnd != null && dto.WaitDurationEnd > 0, d => d.WaitDuration <= dto.WaitDurationEnd)
|
|
|
+ .OrderByDescending(d=>d.Id)
|
|
|
.Select((d, o) => new CallNativeDto
|
|
|
{
|
|
|
OrderId = o.Id,
|
|
@@ -235,6 +237,7 @@ public abstract class DefaultCallApplication : ICallApplication
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.StaffNo), d => d.StaffNo == dto.StaffNo)
|
|
|
.WhereIF(!string.IsNullOrEmpty(dto.GroupId), d => d.GroupId == dto.GroupId)
|
|
|
.WhereIF(dto.OperateState != null, d => d.OperateState == dto.OperateState)
|
|
|
+ .OrderByDescending(d=>d.Id)
|
|
|
.ToFixedListAsync(dto, cancellationToken);
|
|
|
}
|
|
|
|
|
@@ -358,5 +361,14 @@ public abstract class DefaultCallApplication : ICallApplication
|
|
|
throw new NotImplementedException();
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// 查询分机操作选项
|
|
|
+ /// </summary>
|
|
|
+ /// <returns></returns>
|
|
|
+ public List<Kv> GetTelOperationOptions()
|
|
|
+ {
|
|
|
+ throw new NotImplementedException();
|
|
|
+ }
|
|
|
+
|
|
|
#endregion
|
|
|
}
|