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