瀏覽代碼

知识库,延时

duhongyu 3 年之前
父節點
當前提交
5bd03f01ef

+ 4 - 4
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/knowledge/KnowledgeController.cs

@@ -251,7 +251,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
251 251
 
252 252
         [Authority]
253 253
         //添加知识库
254
-        public ActionResult AddInfo(string title, string con, string pid, int issub=0)
254
+        public ActionResult AddInfo(string title, string con, string pid,string key, int issub=0)
255 255
         {
256 256
             Model.T_RepositoryInformation dModel = new Model.T_RepositoryInformation();
257 257
             if (string.IsNullOrEmpty(title))
@@ -267,7 +267,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
267 267
             dModel.F_ISSubmitAudit = issub;
268 268
             dModel.F_CreateOn = DateTime.Now;
269 269
             dModel.F_CreateBy = User.F_UserId;
270
-
270
+            dModel.F_KeyWords = key;
271 271
             int b = infoBLL.Add(dModel);
272 272
             if (b > 0)
273 273
             {
@@ -285,7 +285,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
285 285
         }
286 286
         [Authority]
287 287
         //编辑知识库
288
-        public ActionResult EditInfo(string infoid, string title, string con, string pid, int? issub)
288
+        public ActionResult EditInfo(string infoid, string title, string con, string pid,string key, int? issub)
289 289
         {
290 290
             Model.T_RepositoryInformation dModel = infoBLL.GetModel(int.Parse(infoid.Trim()));
291 291
             if (dModel != null)
@@ -307,7 +307,7 @@ namespace CallCenterApi.Interface.Controllers.knowledge
307 307
                 {
308 308
                     dModel.F_ISSubmitAudit = issub;
309 309
                 }
310
-
310
+                dModel.F_KeyWords = key;
311 311
                 Model.T_RepositoryAudit audModel = new Model.T_RepositoryAudit();
312 312
                 if (dModel.F_AuditID != null)
313 313
                     audModel = new BLL.T_RepositoryAudit().GetModel(dModel.F_AuditID.Value);

+ 2 - 2
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WorkOrderController.cs

@@ -11573,7 +11573,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
11573 11573
                                     keyValuePairs.Add("F_WorkState", 2);
11574 11574
                                 }
11575 11575
                                // keyValuePairs.Add("F_IsSendBack", 0);
11576
-                               // modelT_Bus_WorkOrder.F_IsSendBack = 0;
11576
+                              //  modelT_Bus_WorkOrder.F_IsSendBack = 0;
11577 11577
                                 workorderBLL.UpdateWorkOrder (modelT_Bus_WorkOrder.F_Id , keyValuePairs);
11578 11578
 
11579 11579
                                 #endregion
@@ -13834,7 +13834,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
13834 13834
             if (User.F_RoleCode == "WLDW" || User.F_RoleCode == "GLY" || User.F_RoleCode == "DDZG")
13835 13835
             {
13836 13836
                 string workorderid = RequestString.GetFormString("workorderid");
13837
-                int newlimittime = RequestString.GetInt("newlimittime", 7);
13837
+                int newlimittime =7;
13838 13838
                 string resdatetime = "";
13839 13839
                 string reason = RequestString.GetFormString("reason");
13840 13840
                 string files = RequestString.GetFormString("files");