zhengbingbing %!s(int64=7) %!d(string=před) roky
rodič
revize
04ba4f6e44

+ 8 - 8
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/TtrafficController.cs

58
 
58
 
59
             int injttotalcount = 0;//呼入接听次数
59
             int injttotalcount = 0;//呼入接听次数
60
             int inwjttotalcount = 0;//坐席未接听次数
60
             int inwjttotalcount = 0;//坐席未接听次数
61
-            int srgdtotalcount = 0;//骚扰挂断次数
62
-            int blacktotalcount = 0;//黑名单挂断次数
61
+            int srgdtotalcount = 0;//主动挂断次数
62
+            int blacktotalcount = 0;//特殊挂断次数
63
             int zjfwtotalcount = 0;//自助服务次数
63
             int zjfwtotalcount = 0;//自助服务次数
64
             int outtotalcount = 0;//呼出次数
64
             int outtotalcount = 0;//呼出次数
65
             int outjttotalcount = 0;//呼出未接通次数
65
             int outjttotalcount = 0;//呼出未接通次数
88
                 injttotalcount += injtcount;
88
                 injttotalcount += injtcount;
89
                 int inwjtcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=5 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//坐席未接听次数
89
                 int inwjtcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=5 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//坐席未接听次数
90
                 inwjttotalcount += inwjtcount;
90
                 inwjttotalcount += inwjtcount;
91
-                int srgdcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=0 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//骚扰挂断次数
91
+                int srgdcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=0 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//主动挂断次数
92
                 srgdtotalcount += srgdcount;
92
                 srgdtotalcount += srgdcount;
93
-                int blackcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=1 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//黑名单挂断次数
93
+                int blackcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=1 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//特殊挂断次数
94
                 blacktotalcount += blackcount;
94
                 blacktotalcount += blackcount;
95
                 int zjfwcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=2 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//自助服务次数
95
                 int zjfwcount = dtlist.Select(" calltype=0 and callstate=0 and dealtype=2 and begintime >='" + s.ToString("yyyy-MM-dd") + "' and beginTime<'" + s.AddDays(1).ToString("yyyy-MM-dd") + "' ").Count();//自助服务次数
96
                 zjfwtotalcount += zjfwcount;
96
                 zjfwtotalcount += zjfwcount;
103
                 drNew["日期"] = s.ToString("yyyy-MM-dd");
103
                 drNew["日期"] = s.ToString("yyyy-MM-dd");
104
                 drNew["呼入接听次数"] = injtcount;
104
                 drNew["呼入接听次数"] = injtcount;
105
                 drNew["坐席未接听次数"] = inwjtcount;
105
                 drNew["坐席未接听次数"] = inwjtcount;
106
-                drNew["骚扰挂断次数"] = srgdcount;
107
-                drNew["黑名单挂断次数"] = blackcount;
106
+                drNew["主动挂断次数"] = srgdcount;
107
+                drNew["特殊挂断次数"] = blackcount;
108
                 drNew["自助服务次数"] = zjfwcount;
108
                 drNew["自助服务次数"] = zjfwcount;
109
                 drNew["呼出次数"] = outcount;
109
                 drNew["呼出次数"] = outcount;
110
                 drNew["呼出接通次数"] = outjtcount;
110
                 drNew["呼出接通次数"] = outjtcount;
117
             drtotal["日期"] = "总计";
117
             drtotal["日期"] = "总计";
118
             drtotal["呼入接听次数"] = injttotalcount;
118
             drtotal["呼入接听次数"] = injttotalcount;
119
             drtotal["坐席未接听次数"] = inwjttotalcount;
119
             drtotal["坐席未接听次数"] = inwjttotalcount;
120
-            drtotal["骚扰挂断次数"] = srgdtotalcount;
121
-            drtotal["黑名单挂断次数"] = blacktotalcount;
120
+            drtotal["主动挂断次数"] = srgdtotalcount;
121
+            drtotal["特殊挂断次数"] = blacktotalcount;
122
             drtotal["自助服务次数"] = zjfwtotalcount;
122
             drtotal["自助服务次数"] = zjfwtotalcount;
123
             drtotal["呼出次数"] = outtotalcount;
123
             drtotal["呼出次数"] = outtotalcount;
124
             drtotal["呼出接通次数"] = outjttotalcount;
124
             drtotal["呼出接通次数"] = outjttotalcount;