浏览代码

Merge branch 'release' of http://110.188.24.182:10023/Fengwo/hotline into release

田爽 8 月之前
父节点
当前提交
716e2744b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Hotline.Application/StatisticalReport/OrderReportApplication.cs

+ 1 - 1
src/Hotline.Application/StatisticalReport/OrderReportApplication.cs

@@ -1907,7 +1907,7 @@ namespace Hotline.Application.StatisticalReport
 
             //查询通话
             var queryCall = _trCallRecordRepository.Queryable()
-                .Where(t => t.CreatedTime >= dto.StartTime && t.CreatedTime <= dto.EndTime)
+                .Where(t => t.CreatedTime >= dto.StartTime && t.CreatedTime <= dto.EndTime && t.OnState == EOnState.On)
                 .Where(t => userData.Contains(t.UserId))
                 .WhereIF(!string.IsNullOrEmpty(dto.UserName), t => t.UserName.Contains(dto.UserName))
                 .GroupBy(t => new { t.UserId })