|
|
@@ -98,7 +98,12 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
98
|
98
|
if (isopen > -1)
|
|
99
|
99
|
sql += " and isnull(F_IsOpen,0) =" + isopen;
|
|
100
|
100
|
|
|
|
101
|
+ string strworkorderid = HttpUtility.UrlDecode(RequestString.GetQueryString("strworkorderid"));
|
|
|
102
|
+ if (strworkorderid.Trim() != "" && strworkorderid != "undefined")
|
|
|
103
|
+ {
|
|
101
|
104
|
|
|
|
105
|
+ sql += " and F_WorkOrderId in( select F_WorkOrderId from T_Sys_Affairs where CASE_SERIAL like'%" + strworkorderid + "%') ";
|
|
|
106
|
+ }
|
|
102
|
107
|
if (IsRelease > 0)
|
|
103
|
108
|
{
|
|
104
|
109
|
if (IsRelease == 1)
|
|
|
@@ -12824,18 +12829,19 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12824
|
12829
|
{
|
|
12825
|
12830
|
foreach (var iv in user)
|
|
12826
|
12831
|
{
|
|
12827
|
|
-
|
|
12828
|
|
- msg.AddInternalMessagesInfo("催单消息", "您的工单" + workorderid + "收到催办,请及时处理!", iv.F_UserCode, User.F_UserCode, (int)EnumSmsType.additional);
|
|
12829
|
|
- if (!string.IsNullOrEmpty(iv.F_Mobile))
|
|
12830
|
|
- {
|
|
12831
|
|
- string count = "您的工单" + workorderid + "收到催办,请及时处理!";
|
|
12832
|
|
- // string msg = workorderid;
|
|
12833
|
|
- //bool n = SMSController.AddSmS(0, msg, count, iv.F_Mobile, "165151", "", workorderid);
|
|
12834
|
|
- string mag = "[\"" + workorderid + "\"]";
|
|
12835
|
|
- string v = SmsNewController.AddSmS(0, count, iv.F_Mobile, "681240804383522816", mag,
|
|
12836
|
|
- workorderid);
|
|
12837
|
|
- string c = PushMessageController.PushApp("催单提醒", count, iv.F_UserCode);
|
|
12838
|
|
- }
|
|
|
12832
|
+ string count = "您的工单" + workorderid + "收到催办,请及时处理!";
|
|
|
12833
|
+ string c = PushMessageController.PushApp("催单提醒", count, iv.F_UserCode);
|
|
|
12834
|
+ //msg.AddInternalMessagesInfo("催单消息", "您的工单" + workorderid + "收到催办,请及时处理!", iv.F_UserCode, User.F_UserCode, (int)EnumSmsType.additional);
|
|
|
12835
|
+ //if (!string.IsNullOrEmpty(iv.F_Mobile))
|
|
|
12836
|
+ //{
|
|
|
12837
|
+
|
|
|
12838
|
+ // // string msg = workorderid;
|
|
|
12839
|
+ // //bool n = SMSController.AddSmS(0, msg, count, iv.F_Mobile, "165151", "", workorderid);
|
|
|
12840
|
+ // string mag = "[\"" + workorderid + "\"]";
|
|
|
12841
|
+ // string v = SmsNewController.AddSmS(0, count, iv.F_Mobile, "681240804383522816", mag,
|
|
|
12842
|
+ // workorderid);
|
|
|
12843
|
+
|
|
|
12844
|
+ //}
|
|
12839
|
12845
|
}
|
|
12840
|
12846
|
}
|
|
12841
|
12847
|
|
|
|
@@ -12847,16 +12853,17 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
12847
|
12853
|
{
|
|
12848
|
12854
|
foreach (var iv in user)
|
|
12849
|
12855
|
{
|
|
12850
|
|
-
|
|
12851
|
|
- msg.AddInternalMessagesInfo("催单消息", "您的工单" + workorderid + "收到催办,请及时处理!", iv.F_UserCode, User.F_UserCode, (int)EnumSmsType.additional);
|
|
12852
|
|
- if (!string.IsNullOrEmpty(iv.F_Mobile))
|
|
12853
|
|
- {
|
|
12854
|
|
- string count = "您的工单" + workorderid + "收到催办,请及时处理!";
|
|
12855
|
|
- string mag = "[\"" + workorderid + "\"]";
|
|
12856
|
|
- string v = SmsNewController.AddSmS(0, count, iv.F_Mobile, "681240804383522816", mag,
|
|
12857
|
|
- workorderid);
|
|
12858
|
|
- string c = PushMessageController.PushApp("催单提醒", count, iv.F_UserCode);
|
|
12859
|
|
- }
|
|
|
12856
|
+ string count = "您的工单" + workorderid + "收到催办,请及时处理!";
|
|
|
12857
|
+ string c = PushMessageController.PushApp("催单提醒", count, iv.F_UserCode);
|
|
|
12858
|
+ //msg.AddInternalMessagesInfo("催单消息", "您的工单" + workorderid + "收到催办,请及时处理!", iv.F_UserCode, User.F_UserCode, (int)EnumSmsType.additional);
|
|
|
12859
|
+ //if (!string.IsNullOrEmpty(iv.F_Mobile))
|
|
|
12860
|
+ //{
|
|
|
12861
|
+
|
|
|
12862
|
+ // string mag = "[\"" + workorderid + "\"]";
|
|
|
12863
|
+ // string v = SmsNewController.AddSmS(0, count, iv.F_Mobile, "681240804383522816", mag,
|
|
|
12864
|
+ // workorderid);
|
|
|
12865
|
+
|
|
|
12866
|
+ //}
|
|
12860
|
12867
|
}
|
|
12861
|
12868
|
}
|
|
12862
|
12869
|
}
|