lihai 7 yıl önce
ebeveyn
işleme
9139556e9c

BIN
codegit/.vs/FuGouCallCenter/v14/.suo


+ 5 - 1
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/TalkTimeController.cs

@@ -303,7 +303,11 @@ namespace CallCenterApi.Interface.Controllers.report
303 303
                 sql += " and CallState=" + state.Trim();
304 304
             }
305 305
 
306
-            DataTable dt = DbHelperSQL.Query("SELECT UserId,UserCode,UserName,COUNT(*) AS calloutCount FROM T_Call_CallRecords where 1=1 " + sql + "  GROUP BY UserId,UserCode,UserName").Tables[0];
306
+            //DataTable dt = DbHelperSQL.Query("SELECT UserId,UserCode,UserName,COUNT(*) AS calloutCount FROM T_Call_CallRecords where 1=1 " + sql + "  GROUP BY UserId,UserCode,UserName").Tables[0];
307
+            //20180509 通话时长统计不对  machenyang
308
+            //20180509 通话时长呼入次数 与 坐席工作报表 呼入电话数 数值不统一 修改(原因是一个是根据工号查询,一个是工号姓名【由于可能工号不变,会修改姓名】)  lihai
309
+            var recordstr = " select records.UserCode,COUNT(*) from T_Call_CallRecords records where 1=1 " + sql + "  and UserCode is not null group by records.UserCode";
310
+            DataTable dt = DbHelperSQL.Query(recordstr).Tables[0];
307 311
             Dictionary<string, int> myDictionary = new Dictionary<string, int>();
308 312
 
309 313
             foreach (Model.T_Sys_UserAccount item in userAccountList)

BIN
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/bin/CallCenterApi.Interface.dll


BIN
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/bin/CallCenterApi.Interface.pdb


BIN
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/obj/Debug/CallCenterApi.Interface.csprojResolveAssemblyReference.cache


BIN
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/obj/Debug/CallCenterApi.Interface.dll


BIN
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/obj/Debug/CallCenterApi.Interface.pdb