Procházet zdrojové kódy

3.29发布的营业部热点汇总报表的合计; 营业部任务汇总表 列表的数据 多了一个客服部 ; 呼叫明细报表的问题登记不关联工单,要的是问卷中填的问答题的答案; 待处理工单 搜索去掉客户姓名和反映问题;加一个坐席姓名筛选框;(usercode); 处理工单的时候去掉回访反馈内容;呼叫明细列表和报表 去掉是否处理这一列;

liyuanyuan %!s(int64=3) %!d(string=před) roky
rodič
revize
b72adf4db2

+ 14 - 5
codegit/CallCenterApi/CallCenterApi.DAL/T_TypeResult.cs

@@ -63,9 +63,9 @@ namespace CallCenterApi.DAL
63 63
 		{
64 64
 			StringBuilder strSql=new StringBuilder();
65 65
 			strSql.Append("insert into T_TypeResult(");
66
-			strSql.Append("F_PhoneID,F_typeName1,F_typeValue1,F_typeName2,F_typeValue2,F_typeName3,F_typeValue3,F_typeName4,F_typeValue4,F_typeName5,F_typeValue5,F_typeName6,F_typeValue6,F_CreateOn,F_userId)");
66
+			strSql.Append("F_PhoneID,F_typeName1,F_typeValue1,F_typeName2,F_typeValue2,F_typeName3,F_typeValue3,F_typeName4,F_typeValue4,F_typeName5,F_typeValue5,F_typeName6,F_typeValue6,F_typeName7,F_typeValue7,F_CreateOn,F_userId)");
67 67
 			strSql.Append(" values (");
68
-			strSql.Append("@F_PhoneID,@F_typeName1,@F_typeValue1,@F_typeName2,@F_typeValue2,@F_typeName3,@F_typeValue3,@F_typeName4,@F_typeValue4,@F_typeName5,@F_typeValue5,@F_typeName6,@F_typeValue6,@F_CreateOn,@F_userId)");
68
+			strSql.Append("@F_PhoneID,@F_typeName1,@F_typeValue1,@F_typeName2,@F_typeValue2,@F_typeName3,@F_typeValue3,@F_typeName4,@F_typeValue4,@F_typeName5,@F_typeValue5,@F_typeName6,@F_typeValue6,@F_typeName7,@F_typeValue7,@F_CreateOn,@F_userId)");
69 69
 			strSql.Append(";select @@IDENTITY");
70 70
 			SqlParameter[] parameters = {
71 71
 					new SqlParameter("@F_PhoneID", SqlDbType.Int,4),
@@ -81,7 +81,11 @@ namespace CallCenterApi.DAL
81 81
 					new SqlParameter("@F_typeValue5", SqlDbType.NVarChar,50),
82 82
 					new SqlParameter("@F_typeName6", SqlDbType.NVarChar,50),
83 83
 					new SqlParameter("@F_typeValue6", SqlDbType.NVarChar,50),
84
-					new SqlParameter("@F_CreateOn", SqlDbType.DateTime),
84
+
85
+                        new SqlParameter("@F_typeName7", SqlDbType.NVarChar,200),
86
+                    new SqlParameter("@F_typeValue7", SqlDbType.NVarChar,1000),
87
+
88
+                    new SqlParameter("@F_CreateOn", SqlDbType.DateTime),
85 89
                 new SqlParameter("@F_userId", SqlDbType.NVarChar,50)};
86 90
 			parameters[0].Value = model.F_PhoneID;
87 91
 			parameters[1].Value = model.F_typeName1;
@@ -96,8 +100,13 @@ namespace CallCenterApi.DAL
96 100
 			parameters[10].Value = model.F_typeValue5;
97 101
 			parameters[11].Value = model.F_typeName6;
98 102
 			parameters[12].Value = model.F_typeValue6;
99
-			parameters[13].Value = model.F_CreateOn;
100
-            parameters[14].Value = model.F_userId;
103
+
104
+            parameters[13].Value = model.F_typeName7;
105
+            parameters[14].Value = model.F_typeValue7;
106
+
107
+
108
+            parameters[15].Value = model.F_CreateOn;
109
+            parameters[16].Value = model.F_userId;
101 110
 
102 111
             object obj = DbHelperSQL.GetSingle(strSql.ToString(),parameters);
103 112
 			if (obj == null)

+ 15 - 12
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/callout/CallOutPlanController.cs

@@ -306,17 +306,17 @@ namespace CallCenterApi.Interface.Controllers.callout
306 306
 
307 307
                                             #endregion
308 308
 
309
-                                            #region 查重
310
-                                            string strwhere = " F_TaskId='" + taskid + "' and F_Phone='" + modelPhoneImport.F_Phone + "' and F_DeleteFlag=0";
311
-                                            DataSet ds = bll.GetList(strwhere);
312
-                                            if (ds != null && ds.Tables.Count > 0)
313
-                                            {
314
-                                                if (ds.Tables[0].Rows.Count > 0)
315
-                                                {
316
-                                                    continue;
317
-                                                }
318
-                                            }
319
-                                            #endregion
309
+                                            //#region 查重
310
+                                            //string strwhere = " F_TaskId='" + taskid + "' and F_Phone='" + modelPhoneImport.F_Phone + "' and F_DeleteFlag=0";
311
+                                            //DataSet ds = bll.GetList(strwhere);
312
+                                            //if (ds != null && ds.Tables.Count > 0)
313
+                                            //{
314
+                                            //    if (ds.Tables[0].Rows.Count > 0)
315
+                                            //    {
316
+                                            //        continue;
317
+                                            //    }
318
+                                            //}
319
+                                            //#endregion
320 320
 
321 321
                                             int rmw = otnBLL.Add(modelPhoneImport);
322 322
                                             if (rmw > 0)
@@ -1675,7 +1675,7 @@ namespace CallCenterApi.Interface.Controllers.callout
1675 1675
         #endregion
1676 1676
 
1677 1677
 
1678
-        public ActionResult AddAnswers(int phoneid,string F_typeName1,string F_typeName2, string F_typeName3, string F_typeName4, string F_typeName5, string F_typeName6,string  value1, string value2, string value3, string value4, string value5, string value6)
1678
+        public ActionResult AddAnswers(int phoneid,string F_typeName1,string F_typeName2, string F_typeName3, string F_typeName4, string F_typeName5, string F_typeName6,string  value1, string value2, string value3, string value4, string value5, string value6, string F_TypeName7,string value7)
1679 1679
         {
1680 1680
 
1681 1681
             Model.T_TypeResult remodel = new Model.T_TypeResult();
@@ -1687,12 +1687,15 @@ namespace CallCenterApi.Interface.Controllers.callout
1687 1687
             remodel.F_typeName5 = F_typeName5;
1688 1688
             remodel.F_typeName6 = F_typeName6;
1689 1689
 
1690
+            remodel.F_typeName7 = F_TypeName7;
1691
+
1690 1692
             remodel.F_typeValue1 = value1;
1691 1693
             remodel.F_typeValue2 = value2;
1692 1694
             remodel.F_typeValue3 = value3;
1693 1695
             remodel.F_typeValue4 = value4;
1694 1696
             remodel.F_typeValue5 = value5;
1695 1697
             remodel.F_typeValue6 = value6;
1698
+            remodel.F_typeValue7 = value7;
1696 1699
             remodel.F_userId = CurrentUser.UserData.F_UserId.ToString();
1697 1700
 
1698 1701
             BLL.T_TypeResult bll = new BLL.T_TypeResult();

File diff suppressed because it is too large
+ 9 - 10
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/report/CallOutReportController.cs


+ 16 - 3
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -157,6 +157,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
157 157
             string state = HttpUtility.UrlDecode(RequestString.GetQueryString("state"));
158 158
             string strinfotype = HttpUtility.UrlDecode(RequestString.GetQueryString("infotype"));
159 159
             string strpageindex = RequestString.GetQueryString("page");
160
+
161
+            string strusercode = HttpUtility.UrlDecode(RequestString.GetQueryString("usercode"));
162
+
163
+
160 164
             int pageindex = 1;
161 165
             string strpagesize = RequestString.GetQueryString("pagesize");
162 166
             int pagesize = 10;
@@ -165,8 +169,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
165 169
             switch (strltype)
166 170
             {
167 171
                 case "0"://待处理和处理中
168
-                         //sql += " and State ='0' and CreateUser= '" + ua.F_UserCode + "' ";
169
-                    sql += " and (( State ='1' and WorkOrderID in ( '" + GetDWCWorkOrderID(CurrentUser.UserData.F_UserCode) + "')) )";
172
+                    sql += " and State!=2 and AuditUser like '%" + CurrentUser.UserData.F_UserCode + "%'";
173
+                    //sql += " and State ='0' and CreateUser= '" + ua.F_UserCode + "' ";
174
+                    //  sql += " and (( State ='1' and WorkOrderID in ( '" + GetDWCWorkOrderID(CurrentUser.UserData.F_UserCode) + "')) )";
170 175
                     // sql += " and (State ='0' or State ='1' or( State ='1' and WorkOrderID in ( '" + GetDWCWorkOrderID(CurrentUser.UserData.F_UserCode) + "')) )";
171 176
                     break;
172 177
                 case "1"://已完成的
@@ -223,6 +228,12 @@ namespace CallCenterApi.Interface.Controllers.workorder
223 228
             {
224 229
                 sql += " and InfoTypeID = '" + strinfotype.Trim() + "' ";
225 230
             }
231
+
232
+            if (strusercode.Trim() != "" && strusercode != "undefined")
233
+            {
234
+                sql += " and CreateUser = '" + strusercode.Trim() + "' ";
235
+            }
236
+
226 237
             #endregion
227 238
             if (strpageindex.Trim() != "")
228 239
             {
@@ -274,7 +285,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
274 285
             switch (strltype)
275 286
             {
276 287
                 case "0"://待处理 
277
-                    sql += " and (( State ='1' and WorkOrderID in ( '" + GetDWCWorkOrderID(CurrentUser.UserData.F_UserCode) + "')) )";
288
+                   
289
+                    sql += " and State!=2 and AuditUser like '%" + CurrentUser.UserData.F_UserCode + "%'";
290
+                  //  sql += " and (( State ='1' and WorkOrderID in ( '" + GetDWCWorkOrderID() + "')) )";
278 291
                     msg = "待处理工单数量";
279 292
                     break;
280 293
                

+ 22 - 0
codegit/CallCenterApi/CallCenterApi.Model/T_TypeResult.cs

@@ -40,9 +40,31 @@ namespace CallCenterApi.Model
40 40
 		private string _f_typevalue5;
41 41
 		private string _f_typename6;
42 42
 		private string _f_typevalue6;
43
+
44
+        private string _f_typename7;
45
+        private string _f_typevalue7;
46
+
43 47
         private string _f_userid;
44 48
         private DateTime? _f_createon= DateTime.Now;
45 49
 
50
+
51
+        public string F_typeName7
52
+        {
53
+            set { _f_typename7 = value; }
54
+            get { return _f_typename7; }
55
+        }
56
+        /// <summary>
57
+        /// 
58
+        /// </summary>
59
+        public string F_typeValue7
60
+        {
61
+            set { _f_typevalue7 = value; }
62
+            get { return _f_typevalue7; }
63
+        }
64
+
65
+
66
+
67
+
46 68
         public string F_userId
47 69
         {
48 70
             set { _f_userid = value; }