zhengbingbing 7 lat temu
rodzic
commit
04ba4f6e44

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

@@ -58,8 +58,8 @@ namespace CallCenterApi.Interface.Controllers.report
58 58
 
59 59
             int injttotalcount = 0;//呼入接听次数
60 60
             int inwjttotalcount = 0;//坐席未接听次数
61
-            int srgdtotalcount = 0;//骚扰挂断次数
62
-            int blacktotalcount = 0;//黑名单挂断次数
61
+            int srgdtotalcount = 0;//主动挂断次数
62
+            int blacktotalcount = 0;//特殊挂断次数
63 63
             int zjfwtotalcount = 0;//自助服务次数
64 64
             int outtotalcount = 0;//呼出次数
65 65
             int outjttotalcount = 0;//呼出未接通次数
@@ -88,9 +88,9 @@ namespace CallCenterApi.Interface.Controllers.report
88 88
                 injttotalcount += injtcount;
89 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 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 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 94
                 blacktotalcount += blackcount;
95 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 96
                 zjfwtotalcount += zjfwcount;
@@ -103,8 +103,8 @@ namespace CallCenterApi.Interface.Controllers.report
103 103
                 drNew["日期"] = s.ToString("yyyy-MM-dd");
104 104
                 drNew["呼入接听次数"] = injtcount;
105 105
                 drNew["坐席未接听次数"] = inwjtcount;
106
-                drNew["骚扰挂断次数"] = srgdcount;
107
-                drNew["黑名单挂断次数"] = blackcount;
106
+                drNew["主动挂断次数"] = srgdcount;
107
+                drNew["特殊挂断次数"] = blackcount;
108 108
                 drNew["自助服务次数"] = zjfwcount;
109 109
                 drNew["呼出次数"] = outcount;
110 110
                 drNew["呼出接通次数"] = outjtcount;
@@ -117,8 +117,8 @@ namespace CallCenterApi.Interface.Controllers.report
117 117
             drtotal["日期"] = "总计";
118 118
             drtotal["呼入接听次数"] = injttotalcount;
119 119
             drtotal["坐席未接听次数"] = inwjttotalcount;
120
-            drtotal["骚扰挂断次数"] = srgdtotalcount;
121
-            drtotal["黑名单挂断次数"] = blacktotalcount;
120
+            drtotal["主动挂断次数"] = srgdtotalcount;
121
+            drtotal["特殊挂断次数"] = blacktotalcount;
122 122
             drtotal["自助服务次数"] = zjfwtotalcount;
123 123
             drtotal["呼出次数"] = outtotalcount;
124 124
             drtotal["呼出接通次数"] = outjttotalcount;