Преглед изворни кода

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 })