Bläddra i källkod

查询分机操作记录过滤未知

qinchaoyue 5 månader sedan
förälder
incheckning
24a0762cb4
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      src/Hotline.Application/CallCenter/DefaultCallApplication.cs

+ 1 - 0
src/Hotline.Application/CallCenter/DefaultCallApplication.cs

@@ -293,6 +293,7 @@ public abstract class DefaultCallApplication : ICallApplication
     public virtual async Task<IReadOnlyList<TelOperation>> QueryTelOperationsAsync(QueryTelOperationsFixedDto dto, CancellationToken cancellationToken)
     {
         return await _telOperationRepository.Queryable()
+            .Where(m => m.OperateStateText != "未知")
             .WhereIF(!string.IsNullOrEmpty(dto.UserName), d => d.UserName == dto.UserName)
             .WhereIF(!string.IsNullOrEmpty(dto.StaffNo), d => d.StaffNo == dto.StaffNo)
             .WhereIF(!string.IsNullOrEmpty(dto.GroupId), d => d.GroupId == dto.GroupId)