|
|
@@ -484,10 +484,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
484
|
484
|
modelT_Bus_WorkOrder.F_Level = level;
|
|
485
|
485
|
modelT_Bus_WorkOrder.F_Township = township;
|
|
486
|
486
|
modelT_Bus_WorkOrder.F_Village = village;
|
|
487
|
|
- Task.Run(() =>
|
|
488
|
|
- {
|
|
489
|
|
- saveCus(cusname, cusphone, cusaddress);
|
|
490
|
|
- });
|
|
|
487
|
+
|
|
491
|
488
|
modelT_Bus_WorkOrder.F_Latitude = 0;//纬度
|
|
492
|
489
|
modelT_Bus_WorkOrder.F_Longitude = 0;//经度
|
|
493
|
490
|
modelT_Bus_WorkOrder.F_IsResult = 0;
|
|
|
@@ -545,25 +542,13 @@ namespace CallCenterApi.Interface.Controllers
|
|
545
|
542
|
}).ContinueWith(p => {
|
|
546
|
543
|
System.Diagnostics.Debug.WriteLine(DateTime.Now);
|
|
547
|
544
|
});
|
|
548
|
|
- Task.Run(() =>
|
|
549
|
|
- {
|
|
550
|
|
- #region 插入推送消息
|
|
551
|
|
-
|
|
552
|
|
- //推送消息表
|
|
553
|
|
- if (modelT_Bus_WorkOrder.F_WorkState != (int)EnumWorkState.neworder && modelT_Bus_WorkOrder.F_WorkState != (int)EnumWorkState.audit)
|
|
554
|
|
- {
|
|
555
|
545
|
|
|
556
|
|
- var role = new BLL.T_Sys_RoleInfo().GetModelList(" (F_RoleCode='ZXLD' or F_RoleCode='ZXLDGLYGLY' or F_RoleCode='MTDD') ").Select(p => p.F_RoleId);
|
|
557
|
|
- var users = userBLL.GetModelList(" F_RoleId in (" + string.Join(",", role) + ") ");
|
|
|
546
|
+ Task.Run(() =>
|
|
|
547
|
+ {
|
|
|
548
|
+ saveCus(cusname, cusphone, cusaddress);
|
|
|
549
|
+ });
|
|
558
|
550
|
|
|
559
|
|
-
|
|
560
|
|
- }
|
|
561
|
|
- #endregion
|
|
562
|
|
- }).ContinueWith(p => {
|
|
563
|
|
- System.Diagnostics.Debug.WriteLine(DateTime.Now);
|
|
564
|
|
- });
|
|
565
|
|
-
|
|
566
|
|
- Task.Run(() =>
|
|
|
551
|
+ Task.Run(() =>
|
|
567
|
552
|
{
|
|
568
|
553
|
case_info(modelT_Bus_WorkOrder.F_WorkOrderId, "case_info");
|
|
569
|
554
|
if (!string .IsNullOrEmpty (files))
|