|
|
@@ -9495,8 +9495,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9495
|
9495
|
if (!string .IsNullOrEmpty (u.F_Mobile))
|
|
9496
|
9496
|
{
|
|
9497
|
9497
|
string count = "你有新的工单,工单号" + oper.F_WorkOrderId + ",请及时查收。";
|
|
9498
|
|
- string[] mag = { oper.F_WorkOrderId };
|
|
9499
|
|
- bool n =new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
9498
|
+ //string[] mag = { oper.F_WorkOrderId };
|
|
|
9499
|
+ //bool n =new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
9500
|
+
|
|
|
9501
|
+ string n = sendjscs(userId, count, u.F_Mobile, oper.F_WorkOrderId);
|
|
9500
|
9502
|
}
|
|
9501
|
9503
|
if (!string.IsNullOrEmpty(u.F_Telephone ))
|
|
9502
|
9504
|
{
|
|
|
@@ -9504,8 +9506,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9504
|
9506
|
if (userlist !=null )
|
|
9505
|
9507
|
{
|
|
9506
|
9508
|
string count = "你有新的工单,工单号" + oper.F_WorkOrderId + ",请及时查收。";
|
|
9507
|
|
- string[] mag = { oper.F_WorkOrderId };
|
|
9508
|
|
- bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
9509
|
+ //string[] mag = { oper.F_WorkOrderId };
|
|
|
9510
|
+ //bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
9511
|
+ string n = sendjscs(userId, count, u.F_Telephone, oper.F_WorkOrderId);
|
|
9509
|
9512
|
}
|
|
9510
|
9513
|
|
|
9511
|
9514
|
}
|
|
|
@@ -9704,8 +9707,12 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9704
|
9707
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
9705
|
9708
|
{
|
|
9706
|
9709
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
9707
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
9708
|
|
- bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
9710
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
9711
|
+ //bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
9712
|
+ //string mag = "[\"" + modelT_Bus_WorkOrder.F_WorkOrderId + "\"]";
|
|
|
9713
|
+ //string v = SMSNewController.AddSmS(userId, count, u.F_Mobile, "1132299838815801344", mag, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
|
9714
|
+ string n = sendjscs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
|
9715
|
+
|
|
9709
|
9716
|
}
|
|
9710
|
9717
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
9711
|
9718
|
{
|
|
|
@@ -9713,8 +9720,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9713
|
9720
|
if (userlist != null)
|
|
9714
|
9721
|
{
|
|
9715
|
9722
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
9716
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
9717
|
|
- bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
9723
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
9724
|
+ //bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
9725
|
+ string n = sendjscs(userId, count, u.F_Telephone, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
9718
|
9726
|
}
|
|
9719
|
9727
|
|
|
9720
|
9728
|
}
|
|
|
@@ -9820,8 +9828,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9820
|
9828
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
9821
|
9829
|
{
|
|
9822
|
9830
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder1.F_WorkOrderId + ",请及时查收。";
|
|
9823
|
|
- string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
9824
|
|
- bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
9831
|
+ //string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
|
9832
|
+ //bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
9833
|
+ string n = sendjscs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
9825
|
9834
|
}
|
|
9826
|
9835
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
9827
|
9836
|
{
|
|
|
@@ -9829,8 +9838,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9829
|
9838
|
if (userlist != null)
|
|
9830
|
9839
|
{
|
|
9831
|
9840
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
9832
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
9833
|
|
- bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
9841
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
9842
|
+ //bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
9843
|
+ string n = sendjscs(userId, count, u.F_Telephone, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
9834
|
9844
|
}
|
|
9835
|
9845
|
|
|
9836
|
9846
|
}
|
|
|
@@ -10059,8 +10069,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10059
|
10069
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
10060
|
10070
|
{
|
|
10061
|
10071
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder1.F_WorkOrderId + ",请及时查收。";
|
|
10062
|
|
- string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
10063
|
|
- bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
10072
|
+ //string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
|
10073
|
+ //bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
10074
|
+ string n = sendjscs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
10064
|
10075
|
}
|
|
10065
|
10076
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
10066
|
10077
|
{
|
|
|
@@ -10068,8 +10079,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10068
|
10079
|
if (userlist != null)
|
|
10069
|
10080
|
{
|
|
10070
|
10081
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder1.F_WorkOrderId + ",请及时查收。";
|
|
10071
|
|
- string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
10072
|
|
- bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
10082
|
+ //string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
|
10083
|
+ //bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
10084
|
+ string n = sendjscs(userId, count, u.F_Telephone, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
10073
|
10085
|
}
|
|
10074
|
10086
|
|
|
10075
|
10087
|
}
|
|
|
@@ -10158,8 +10170,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10158
|
10170
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
10159
|
10171
|
{
|
|
10160
|
10172
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder1.F_WorkOrderId + ",请及时查收。";
|
|
10161
|
|
- string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
10162
|
|
- bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
10173
|
+ //string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
|
10174
|
+ //bool n = new SMSController().AddSmS(1963450, userId, count, mag, u.F_Mobile);
|
|
|
10175
|
+ string n = sendjscs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
10163
|
10176
|
}
|
|
10164
|
10177
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
10165
|
10178
|
{
|
|
|
@@ -10167,8 +10180,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10167
|
10180
|
if (userlist != null)
|
|
10168
|
10181
|
{
|
|
10169
|
10182
|
string count = "你有新的工单,工单号" + modelT_Bus_WorkOrder1.F_WorkOrderId + ",请及时查收。";
|
|
10170
|
|
- string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
10171
|
|
- bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
10183
|
+ //string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
|
10184
|
+ //bool n = new SMSController().AddSmSGroup(1963450, userId, count, mag, userlist, u.F_Telephone);
|
|
|
10185
|
+ string n = sendjscs(userId, count, u.F_Telephone, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
10172
|
10186
|
}
|
|
10173
|
10187
|
|
|
10174
|
10188
|
}
|
|
|
@@ -10380,8 +10394,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10380
|
10394
|
|
|
10381
|
10395
|
// string count = " 您有工单已超期24小时,请及时处理,工单号" + it.F_WorkOrderId;
|
|
10382
|
10396
|
string count = "你有工单" + it.F_WorkOrderId + "已超期" + string.Format("{0:f0}", ivn * 24) + "小时,请及时处理";
|
|
10383
|
|
- string[] mag = { it.F_WorkOrderId, "" + string.Format("{0:f0}", ivn * 24) + "小时" };
|
|
10384
|
|
- bool n = new SMSController().AddSmS(1963443, 0, count, mag, iv.F_Mobile);
|
|
|
10397
|
+ //string[] mag = { it.F_WorkOrderId, "" + string.Format("{0:f0}", ivn * 24) + "小时" };
|
|
|
10398
|
+ //bool n = new SMSController().AddSmS(1963443, 0, count, mag, iv.F_Mobile);
|
|
|
10399
|
+
|
|
|
10400
|
+ string n = sendcqtx(0, count, iv.F_Mobile, it.F_WorkOrderId, ivn * 24);
|
|
10385
|
10401
|
it.F_IsSms = ivn + 2;
|
|
10386
|
10402
|
bool t = new BLL.T_Bus_WorkOrder().Update(it);
|
|
10387
|
10403
|
|
|
|
@@ -10394,8 +10410,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10394
|
10410
|
foreach (var io in userlist)
|
|
10395
|
10411
|
{
|
|
10396
|
10412
|
string count = "你有工单" + it.F_WorkOrderId + "已超期" + string.Format("{0:f0}", ivn * 24) + "小时,请及时处理";
|
|
10397
|
|
- string[] mag = { it.F_WorkOrderId, "" + string.Format("{0:f0}", ivn * 24) + "小时" };
|
|
10398
|
|
- bool n = new SMSController().AddSmS(1963443, 0, count, mag, io);
|
|
|
10413
|
+ //string[] mag = { it.F_WorkOrderId, "" + string.Format("{0:f0}", ivn * 24) + "小时" };
|
|
|
10414
|
+ //bool n = new SMSController().AddSmS(1963443, 0, count, mag, io);
|
|
|
10415
|
+
|
|
|
10416
|
+ string n = sendcqtx(0, count, io, it.F_WorkOrderId, ivn * 24);
|
|
10399
|
10417
|
it.F_IsSms = ivn + 2;
|
|
10400
|
10418
|
bool t = new BLL.T_Bus_WorkOrder().Update(it);
|
|
10401
|
10419
|
}
|
|
|
@@ -10424,8 +10442,13 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10424
|
10442
|
if (!string.IsNullOrEmpty(iv.F_Mobile))
|
|
10425
|
10443
|
{
|
|
10426
|
10444
|
string count = "你有工单" + it.F_WorkOrderId + ",1小时后超期,请及时处理";
|
|
10427
|
|
- string[] mag = { it.F_WorkOrderId+ ",1" };
|
|
10428
|
|
- bool n = new SMSController().AddSmS(1963446, 0, count, mag, iv.F_Mobile);
|
|
|
10445
|
+ //string[] mag = { it.F_WorkOrderId+ ",1" };
|
|
|
10446
|
+ //bool n = new SMSController().AddSmS(1963446, 0, count, mag, iv.F_Mobile);
|
|
|
10447
|
+ //string mag = "[\"" + it.F_WorkOrderId + "\",\"" + 1 + "\"]";
|
|
|
10448
|
+ // string v = SMSNewController.AddSmS(0, count, iv.F_Mobile, "1132299811154366464", mag, it.F_WorkOrderId);
|
|
|
10449
|
+ string v = sendjjcq(0, count, iv.F_Mobile, it.F_WorkOrderId, 1);
|
|
|
10450
|
+
|
|
|
10451
|
+
|
|
10429
|
10452
|
it.F_IsSms = 2;
|
|
10430
|
10453
|
bool t = new BLL.T_Bus_WorkOrder().Update(it);
|
|
10431
|
10454
|
}
|
|
|
@@ -10437,8 +10460,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10437
|
10460
|
foreach (var io in userlist)
|
|
10438
|
10461
|
{
|
|
10439
|
10462
|
string count = "你有工单" + it.F_WorkOrderId + ",1小时后超期,请及时处理";
|
|
10440
|
|
- string[] mag = { it.F_WorkOrderId + ",1" };
|
|
10441
|
|
- bool n = new SMSController().AddSmS(1963446, 0, count, mag, io );
|
|
|
10463
|
+ //string[] mag = { it.F_WorkOrderId + ",1" };
|
|
|
10464
|
+ //bool n = new SMSController().AddSmS(1963446, 0, count, mag, io );
|
|
|
10465
|
+ //string mag = "[\"" + it.F_WorkOrderId + "\",\"" + 1 + "\"]";
|
|
|
10466
|
+ //string v = SMSNewController.AddSmS(0, count, io, "1132299811154366464", mag, it.F_WorkOrderId);
|
|
|
10467
|
+ string v = sendjjcq(0, count, io, it.F_WorkOrderId, 1);
|
|
10442
|
10468
|
it.F_IsSms = 2;
|
|
10443
|
10469
|
bool t = new BLL.T_Bus_WorkOrder().Update(it);
|
|
10444
|
10470
|
}
|
|
|
@@ -10461,8 +10487,13 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10461
|
10487
|
if (!string.IsNullOrEmpty(iv.F_Mobile))
|
|
10462
|
10488
|
{
|
|
10463
|
10489
|
string count = "你有工单" + it.F_WorkOrderId + ",4小时后超期,请及时处理";
|
|
10464
|
|
- string[] mag = { it.F_WorkOrderId + ",4" };
|
|
10465
|
|
- bool n = new SMSController().AddSmS(1963446, 0, count, mag, iv.F_Mobile);
|
|
|
10490
|
+ //string[] mag = { it.F_WorkOrderId + ",4" };
|
|
|
10491
|
+ //bool n = new SMSController().AddSmS(1963446, 0, count, mag, iv.F_Mobile);
|
|
|
10492
|
+ //string mag = "[\"" + it.F_WorkOrderId + "\",\"" + 4 + "\"]";
|
|
|
10493
|
+ //string v = SMSNewController.AddSmS(0, count, iv.F_Mobile, "1132299811154366464", mag, it.F_WorkOrderId);
|
|
|
10494
|
+
|
|
|
10495
|
+ string v = sendjjcq(0, count, iv.F_Mobile, it.F_WorkOrderId, 4);
|
|
|
10496
|
+
|
|
10466
|
10497
|
it.F_IsSms = 1;
|
|
10467
|
10498
|
bool t = new BLL.T_Bus_WorkOrder().Update(it);
|
|
10468
|
10499
|
}
|
|
|
@@ -10474,8 +10505,12 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10474
|
10505
|
foreach (var io in userlist)
|
|
10475
|
10506
|
{
|
|
10476
|
10507
|
string count = "你有工单" + it.F_WorkOrderId + ",4小时后超期,请及时处理";
|
|
10477
|
|
- string[] mag = { it.F_WorkOrderId + ",4" };
|
|
10478
|
|
- bool n = new SMSController().AddSmS(1963446, 0, count, mag, io );
|
|
|
10508
|
+ //string[] mag = { it.F_WorkOrderId + ",4" };
|
|
|
10509
|
+ //bool n = new SMSController().AddSmS(1963446, 0, count, mag, io );
|
|
|
10510
|
+ //string mag = "[\"" + it.F_WorkOrderId + "\",\"" + 4 + "\"]";
|
|
|
10511
|
+ //string v = SMSNewController.AddSmS(0, count, io, "1132299811154366464", mag, it.F_WorkOrderId);
|
|
|
10512
|
+
|
|
|
10513
|
+ string v = sendjjcq(0, count, io, it.F_WorkOrderId, 4);
|
|
10479
|
10514
|
it.F_IsSms = 1;
|
|
10480
|
10515
|
bool t = new BLL.T_Bus_WorkOrder().Update(it);
|
|
10481
|
10516
|
}
|
|
|
@@ -10523,8 +10558,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10523
|
10558
|
if (!string.IsNullOrEmpty(item.F_Mobile))
|
|
10524
|
10559
|
{
|
|
10525
|
10560
|
string count = "你有工单" + womodel.F_WorkOrderId + "收到催办,请及时处理";
|
|
10526
|
|
- string[] mag = { womodel.F_WorkOrderId };
|
|
10527
|
|
- bool n = new SMSController().AddSmS(1963438, 0, count, mag, item.F_Mobile);
|
|
|
10561
|
+ //string[] mag = { womodel.F_WorkOrderId };
|
|
|
10562
|
+ //bool n = new SMSController().AddSmS(1963438, 0, count, mag, item.F_Mobile);
|
|
|
10563
|
+
|
|
|
10564
|
+ string n = sendcbtx(0, count, item.F_Mobile, womodel.F_WorkOrderId);
|
|
10528
|
10565
|
|
|
10529
|
10566
|
}
|
|
10530
|
10567
|
if (!string.IsNullOrEmpty(item.F_Telephone))
|
|
|
@@ -10535,8 +10572,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10535
|
10572
|
foreach (var phon in phonlist)
|
|
10536
|
10573
|
{
|
|
10537
|
10574
|
string count = "你有工单" + womodel.F_WorkOrderId + "收到催办,请及时处理";
|
|
10538
|
|
- string[] mag = { womodel.F_WorkOrderId };
|
|
10539
|
|
- bool n = new SMSController().AddSmS(1963438, 0, count, mag, phon);
|
|
|
10575
|
+ //string[] mag = { womodel.F_WorkOrderId };
|
|
|
10576
|
+ //bool n = new SMSController().AddSmS(1963438, 0, count, mag, phon);
|
|
|
10577
|
+
|
|
|
10578
|
+ string n = sendcbtx(0, count, phon, womodel.F_WorkOrderId);
|
|
10540
|
10579
|
}
|
|
10541
|
10580
|
}
|
|
10542
|
10581
|
}
|
|
|
@@ -10568,8 +10607,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10568
|
10607
|
if (!string.IsNullOrEmpty(item.F_Mobile))
|
|
10569
|
10608
|
{
|
|
10570
|
10609
|
string count = "您有工单" + womodel.F_WorkOrderId + "收到催办,请及时处理";
|
|
10571
|
|
- string[] mag = { womodel.F_WorkOrderId };
|
|
10572
|
|
- bool n = new SMSController().AddSmS(1963438, 0, count, mag, item.F_Mobile);
|
|
|
10610
|
+ //string[] mag = { womodel.F_WorkOrderId };
|
|
|
10611
|
+ //bool n = new SMSController().AddSmS(1963438, 0, count, mag, item.F_Mobile);
|
|
|
10612
|
+
|
|
|
10613
|
+ string n = sendcbtx(0, count, item.F_Mobile, womodel.F_WorkOrderId);
|
|
10573
|
10614
|
}
|
|
10574
|
10615
|
if (!string.IsNullOrEmpty(item.F_Telephone))
|
|
10575
|
10616
|
{
|
|
|
@@ -10579,8 +10620,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10579
|
10620
|
foreach (var phon in phonlist)
|
|
10580
|
10621
|
{
|
|
10581
|
10622
|
string count = "您有工单" + womodel.F_WorkOrderId + "收到催办,请及时处理";
|
|
10582
|
|
- string[] mag = { womodel.F_WorkOrderId };
|
|
10583
|
|
- bool n = new SMSController().AddSmS(1963438, 0, count, mag, phon);
|
|
|
10623
|
+ //string[] mag = { womodel.F_WorkOrderId };
|
|
|
10624
|
+ //bool n = new SMSController().AddSmS(1963438, 0, count, mag, phon);
|
|
|
10625
|
+
|
|
|
10626
|
+ string n = sendcbtx(0, count, phon, womodel.F_WorkOrderId);
|
|
10584
|
10627
|
}
|
|
10585
|
10628
|
}
|
|
10586
|
10629
|
}
|
|
|
@@ -12258,8 +12301,12 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12258
|
12301
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
12259
|
12302
|
{
|
|
12260
|
12303
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
12261
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
12262
|
|
- bool v = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
12304
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
12305
|
+ //bool v = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
12306
|
+
|
|
|
12307
|
+ // string mag = "[\"" + modelT_Bus_WorkOrder.F_WorkOrderId + "\"]";
|
|
|
12308
|
+ //string v = SMSNewController.AddSmS(1, "测试发送", "15639002755", "1132299838815801344", mag, workorderid);
|
|
|
12309
|
+ string v = sendCs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
12263
|
12310
|
}
|
|
12264
|
12311
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
12265
|
12312
|
{
|
|
|
@@ -12269,8 +12316,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12269
|
12316
|
foreach (var it in userlist)
|
|
12270
|
12317
|
{
|
|
12271
|
12318
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
12272
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
12273
|
|
- bool v = new SMSController().AddSmS(1963441, userId, count, mag, it);
|
|
|
12319
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
12320
|
+ //bool v = new SMSController().AddSmS(1963441, userId, count, mag, it);
|
|
|
12321
|
+
|
|
|
12322
|
+ string v = sendCs(userId, count, it, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
12274
|
12323
|
}
|
|
12275
|
12324
|
|
|
12276
|
12325
|
}
|
|
|
@@ -13918,8 +13967,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13918
|
13967
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
13919
|
13968
|
{
|
|
13920
|
13969
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
13921
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
13922
|
|
- bool v = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
13970
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
13971
|
+ //bool v = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
13972
|
+
|
|
|
13973
|
+ string v = sendCs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
13923
|
13974
|
}
|
|
13924
|
13975
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
13925
|
13976
|
{
|
|
|
@@ -13929,8 +13980,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
13929
|
13980
|
foreach (var it in userlist)
|
|
13930
|
13981
|
{
|
|
13931
|
13982
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
13932
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
13933
|
|
- bool v = new SMSController().AddSmS(1963441, userId, count, mag, it);
|
|
|
13983
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
13984
|
+ //bool v = new SMSController().AddSmS(1963441, userId, count, mag, it);
|
|
|
13985
|
+
|
|
|
13986
|
+ string v = sendCs(userId, count, it, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
13934
|
13987
|
}
|
|
13935
|
13988
|
|
|
13936
|
13989
|
}
|
|
|
@@ -14607,9 +14660,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
14607
|
14660
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
14608
|
14661
|
{
|
|
14609
|
14662
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
14610
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
14611
|
|
- bool v = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
14612
|
|
- }
|
|
|
14663
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
14664
|
+ //bool v = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
14665
|
+
|
|
|
14666
|
+ string v = sendCs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
|
14667
|
+ }
|
|
14613
|
14668
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
14614
|
14669
|
{
|
|
14615
|
14670
|
var userlist = u.F_Telephone.Split(',');
|
|
|
@@ -14618,9 +14673,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
14618
|
14673
|
foreach (var it in userlist)
|
|
14619
|
14674
|
{
|
|
14620
|
14675
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
14621
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
14622
|
|
- bool v = new SMSController().AddSmS(1963441, userId, count, mag, it);
|
|
14623
|
|
- }
|
|
|
14676
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
14677
|
+ //bool v = new SMSController().AddSmS(1963441, userId, count, mag, it);
|
|
|
14678
|
+
|
|
|
14679
|
+ string v = sendCs(userId, count, it, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
|
14680
|
+ }
|
|
14624
|
14681
|
|
|
14625
|
14682
|
}
|
|
14626
|
14683
|
|
|
|
@@ -14996,8 +15053,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
14996
|
15053
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
14997
|
15054
|
{
|
|
14998
|
15055
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
14999
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
15000
|
|
- bool m = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
15056
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
15057
|
+ //bool m = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
15058
|
+
|
|
|
15059
|
+ string v = sendCs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
15001
|
15060
|
}
|
|
15002
|
15061
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
15003
|
15062
|
{
|
|
|
@@ -15005,8 +15064,15 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15005
|
15064
|
if (userlist != null)
|
|
15006
|
15065
|
{
|
|
15007
|
15066
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder.F_WorkOrderId + ",请及时查收。";
|
|
15008
|
|
- string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
15009
|
|
- bool m = new SMSController().AddSmSGroup(1963441, userId, count, mag, userlist, u.F_Telephone);
|
|
|
15067
|
+ //string[] mag = { modelT_Bus_WorkOrder.F_WorkOrderId };
|
|
|
15068
|
+ //bool m = new SMSController().AddSmSGroup(1963441, userId, count, mag, userlist, u.F_Telephone);
|
|
|
15069
|
+
|
|
|
15070
|
+ foreach (string item in userlist)
|
|
|
15071
|
+ {
|
|
|
15072
|
+ string v = sendCs(userId, count, item, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
|
15073
|
+ }
|
|
|
15074
|
+
|
|
|
15075
|
+
|
|
15010
|
15076
|
}
|
|
15011
|
15077
|
|
|
15012
|
15078
|
}
|
|
|
@@ -15096,8 +15162,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15096
|
15162
|
if (!string.IsNullOrEmpty(u.F_Mobile))
|
|
15097
|
15163
|
{
|
|
15098
|
15164
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder1.F_WorkOrderId + ",请及时查收。";
|
|
15099
|
|
- string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
15100
|
|
- bool m = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
15165
|
+ //string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
|
15166
|
+ //bool m = new SMSController().AddSmS(1963441, userId, count, mag, u.F_Mobile);
|
|
|
15167
|
+
|
|
|
15168
|
+ string v = sendCs(userId, count, u.F_Mobile, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
15101
|
15169
|
}
|
|
15102
|
15170
|
if (!string.IsNullOrEmpty(u.F_Telephone))
|
|
15103
|
15171
|
{
|
|
|
@@ -15105,8 +15173,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
15105
|
15173
|
if (userlist != null)
|
|
15106
|
15174
|
{
|
|
15107
|
15175
|
string count = "你有重办工单,工单号" + modelT_Bus_WorkOrder1.F_WorkOrderId + ",请及时查收。";
|
|
15108
|
|
- string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
15109
|
|
- bool m = new SMSController().AddSmSGroup(1963441, userId, count, mag, userlist, u.F_Telephone);
|
|
|
15176
|
+ //string[] mag = { modelT_Bus_WorkOrder1.F_WorkOrderId };
|
|
|
15177
|
+ //bool m = new SMSController().AddSmSGroup(1963441, userId, count, mag, userlist, u.F_Telephone);
|
|
|
15178
|
+
|
|
|
15179
|
+ string v = sendCs(userId, count, u.F_Telephone, modelT_Bus_WorkOrder1.F_WorkOrderId);
|
|
15110
|
15180
|
}
|
|
15111
|
15181
|
|
|
15112
|
15182
|
}
|
|
|
@@ -17604,5 +17674,84 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
17604
|
17674
|
|
|
17605
|
17675
|
|
|
17606
|
17676
|
}
|
|
|
17677
|
+
|
|
|
17678
|
+ /// <summary>
|
|
|
17679
|
+ /// 发送重办查收提醒短信《重办工单查收提醒》
|
|
|
17680
|
+ /// </summary>
|
|
|
17681
|
+ /// <param name="userid"></param>
|
|
|
17682
|
+ /// <param name="content"></param>
|
|
|
17683
|
+ /// <param name="tel"></param>
|
|
|
17684
|
+ /// <param name="tempid"></param>
|
|
|
17685
|
+ /// <param name="workorderid"></param>
|
|
|
17686
|
+ /// <returns></returns>
|
|
|
17687
|
+ public string sendCs(int userid,string content, string tel, string workorderid) {
|
|
|
17688
|
+
|
|
|
17689
|
+ string mag = "[\"" + workorderid + "\"]";
|
|
|
17690
|
+ string v = SMSNewController.AddSmS(userid, content, tel, "1132299866192023552", mag, workorderid);
|
|
|
17691
|
+ return v;
|
|
|
17692
|
+ }
|
|
|
17693
|
+
|
|
|
17694
|
+ /// <summary>
|
|
|
17695
|
+ /// 工单查收提醒
|
|
|
17696
|
+ /// </summary>
|
|
|
17697
|
+ /// <param name="userid"></param>
|
|
|
17698
|
+ /// <param name="content"></param>
|
|
|
17699
|
+ /// <param name="tel"></param>
|
|
|
17700
|
+ /// <param name="workorderid"></param>
|
|
|
17701
|
+ /// <returns></returns>
|
|
|
17702
|
+ public string sendjscs(int userid, string content, string tel, string workorderid)
|
|
|
17703
|
+ {
|
|
|
17704
|
+
|
|
|
17705
|
+ string mag = "[\"" + workorderid + "\"]";
|
|
|
17706
|
+ string v = SMSNewController.AddSmS(userid, content, tel, "1132299838815801344", mag, workorderid);
|
|
|
17707
|
+ return v;
|
|
|
17708
|
+ }
|
|
|
17709
|
+ /// <summary>
|
|
|
17710
|
+ /// 即将超期提醒
|
|
|
17711
|
+ /// </summary>
|
|
|
17712
|
+ /// <param name="userid"></param>
|
|
|
17713
|
+ /// <param name="content"></param>
|
|
|
17714
|
+ /// <param name="tel"></param>
|
|
|
17715
|
+ /// <param name="workorderid"></param>
|
|
|
17716
|
+ /// <returns></returns>
|
|
|
17717
|
+ public string sendjjcq(int userid, string content, string tel, string workorderid,int hour)
|
|
|
17718
|
+ {
|
|
|
17719
|
+ string mag = "[\"" + workorderid + "\",\"" + hour + "\"]";
|
|
|
17720
|
+
|
|
|
17721
|
+ string v = SMSNewController.AddSmS(userid, content, tel, "1132369071726223360", mag, workorderid);
|
|
|
17722
|
+ return v;
|
|
|
17723
|
+ }
|
|
|
17724
|
+ /// <summary>
|
|
|
17725
|
+ /// 工单催办提醒
|
|
|
17726
|
+ /// </summary>
|
|
|
17727
|
+ /// <param name="userid"></param>
|
|
|
17728
|
+ /// <param name="content"></param>
|
|
|
17729
|
+ /// <param name="tel"></param>
|
|
|
17730
|
+ /// <param name="workorderid"></param>
|
|
|
17731
|
+ /// <returns></returns>
|
|
|
17732
|
+ public string sendcbtx(int userid, string content, string tel, string workorderid)
|
|
|
17733
|
+ {
|
|
|
17734
|
+ string mag = "[\"" + workorderid + "\"]";
|
|
|
17735
|
+
|
|
|
17736
|
+ string v = SMSNewController.AddSmS(userid, content, tel, "1132299872114380800", mag, workorderid);
|
|
|
17737
|
+ return v;
|
|
|
17738
|
+ }
|
|
|
17739
|
+
|
|
|
17740
|
+ /// <summary>
|
|
|
17741
|
+ /// 工单超期提醒
|
|
|
17742
|
+ /// </summary>
|
|
|
17743
|
+ /// <param name="userid"></param>
|
|
|
17744
|
+ /// <param name="content"></param>
|
|
|
17745
|
+ /// <param name="tel"></param>
|
|
|
17746
|
+ /// <param name="workorderid"></param>
|
|
|
17747
|
+ /// <param name="hour"></param>
|
|
|
17748
|
+ /// <returns></returns>
|
|
|
17749
|
+ public string sendcqtx(int userid, string content, string tel, string workorderid, int hour)
|
|
|
17750
|
+ {
|
|
|
17751
|
+ string mag = "[\"" + workorderid + "\",\"" + hour + "\"]";
|
|
|
17752
|
+
|
|
|
17753
|
+ string v = SMSNewController.AddSmS(userid, content, tel, "1132299858089172992", mag, workorderid);
|
|
|
17754
|
+ return v;
|
|
|
17755
|
+ }
|
|
17607
|
17756
|
}
|
|
17608
|
17757
|
}
|