|
|
@@ -290,8 +290,9 @@ namespace CallCenterApi.Interface.Controllers.report
|
|
290
|
290
|
|
|
291
|
291
|
sql += " and DATEDIFF(d,BeginTime,'" + beginTime.ToString("yyyy-MM-dd HH:mm:ss") + "')<=0";
|
|
292
|
292
|
sql += " and DATEDIFF(d,BeginTime,'" + endTime.ToString("yyyy-MM-dd HH:mm:ss") + "')>=0";
|
|
293
|
|
-
|
|
294
|
|
- DataTable dt = new BLL.T_Call_CallRecords().GetList("1=1 and BusinessType=0 and calltype=0" + sql).Tables[0]; //BusinessType=0代表ivr中选择了转人工,calltype=1代表呼入
|
|
|
293
|
+ // 没有业务类型。添加这个条件会过滤掉 BusinessType is null 的记录
|
|
|
294
|
+ //DataTable dt = new BLL.T_Call_CallRecords().GetList("1=1 and BusinessType=0 and calltype=0" + sql).Tables[0];
|
|
|
295
|
+ DataTable dt = new BLL.T_Call_CallRecords().GetList("1=1 and calltype=0" + sql).Tables[0]; //BusinessType=0代表ivr中选择了转人工,calltype=1代表呼入
|
|
295
|
296
|
|
|
296
|
297
|
|
|
297
|
298
|
|