zhoufan vor 4 Jahren
Ursprung
Commit
30462b95e8

+ 13 - 12
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/tel/CallInScreenController.cs

@@ -424,20 +424,21 @@ namespace CallCenterApi.Interface.Controllers.tel
424 424
         public ActionResult UpdateLY()
425 425
         {
426 426
 
427
-            Model.T_Call_CallRecords model = new Model.T_Call_CallRecords();
428
-            model.CallId = RequestString.GetFormString("callid");
429
-            model.CallState = 1;
430
-            model.DealType = 6;
431
-            //model.FilePath = RequestString.GetFormString("path");
432
-            bool bl = new BLL.T_Call_CallRecords().UpdateCallInPathTelRecord(model);
427
+            //Model.T_Call_CallRecords model = new Model.T_Call_CallRecords();
428
+            //model.CallId = RequestString.GetFormString("callid");
429
+            //model.CallState = 1;
430
+            //model.DealType = 6;
431
+            ////model.FilePath = RequestString.GetFormString("path");
432
+            //bool bl = new BLL.T_Call_CallRecords().UpdateCallInPathTelRecord(model);
433
+            bool bl = true;
433 434
             if (bl)
434 435
             {
435
-                Model.T_Call_CallRecords vmodel = new BLL.T_Call_CallRecords().GetModelByCallId(model.CallId);
436
-                string type = vmodel.OperateType.ToString();
437
-                if (type == "7")
438
-                {
439
-                    new BLL.T_Call_TaskTelNum().UpdateYJ(Convert.ToInt32(vmodel.OperateObject.ToString()), 1);
440
-                }
436
+                //Model.T_Call_CallRecords vmodel = new BLL.T_Call_CallRecords().GetModelByCallId(model.CallId);
437
+                //string type = vmodel.OperateType.ToString();
438
+                //if (type == "7")
439
+                //{
440
+                //    new BLL.T_Call_TaskTelNum().UpdateYJ(Convert.ToInt32(vmodel.OperateObject.ToString()), 1);
441
+                //}
441 442
 
442 443
                 return Success("更新挂机状态成功");
443 444
             }