|
|
@@ -8163,6 +8163,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8163
|
8163
|
int smalltype = RequestString.GetInt("smalltype", 0);
|
|
8164
|
8164
|
int sourcearea = RequestString.GetInt("sourcearea", 0);
|
|
8165
|
8165
|
int deptid = RequestString.GetInt("deptid", 0);
|
|
|
8166
|
+
|
|
8166
|
8167
|
int deptlevel = RequestString.GetInt("deptlevel", 0);
|
|
8167
|
8168
|
int issatisfie = RequestString.GetInt("issatisfie", -1);//0不满意 1满意
|
|
8168
|
8169
|
int ejdeptid = RequestString.GetInt("ejdeptid", 0);
|
|
|
@@ -8233,6 +8234,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8233
|
8234
|
{
|
|
8234
|
8235
|
sql += " and F_WorkOrderId in(select F_WorkOrderId from T_Bus_AssignedInfo WITH(NOLOCK) where F_MainDeptId ="+ dbdeptid + " )";
|
|
8235
|
8236
|
}
|
|
|
8237
|
+
|
|
8236
|
8238
|
if (dealstarttime.Trim() != "" && dealstarttime != "undefined")
|
|
8237
|
8239
|
{
|
|
8238
|
8240
|
if (dealstrendtime.Trim() != "" && dealstrendtime != "undefined")
|
|
|
@@ -8488,21 +8490,25 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
8488
|
8490
|
" or F_Result like '%" + strkey + "%' ) ";
|
|
8489
|
8491
|
}
|
|
8490
|
8492
|
#region 坐席&调度员
|
|
8491
|
|
- if (strusercode.Trim() != "" && strusercode != "undefined")
|
|
8492
|
|
- {//坐席
|
|
8493
|
|
- var usercode = strusercode.Trim().Split(',');
|
|
8494
|
|
- var newusercode = "";
|
|
8495
|
|
- foreach (var item in usercode)
|
|
8496
|
|
- {
|
|
8497
|
|
- if (!string.IsNullOrWhiteSpace(item.Trim()))
|
|
8498
|
|
- newusercode += "'" + item + "',";
|
|
8499
|
|
- }
|
|
8500
|
|
- newusercode = newusercode.Trim(',');
|
|
8501
|
|
- if (newusercode.Trim() != "" && newusercode != "undefined")
|
|
8502
|
|
- {
|
|
8503
|
|
- sql += " and F_CreateUser in (" + newusercode + ") ";
|
|
|
8493
|
+ if (strtab !="0")
|
|
|
8494
|
+ {
|
|
|
8495
|
+ if (strusercode.Trim() != "" && strusercode != "undefined")
|
|
|
8496
|
+ {//坐席
|
|
|
8497
|
+ var usercode = strusercode.Trim().Split(',');
|
|
|
8498
|
+ var newusercode = "";
|
|
|
8499
|
+ foreach (var item in usercode)
|
|
|
8500
|
+ {
|
|
|
8501
|
+ if (!string.IsNullOrWhiteSpace(item.Trim()))
|
|
|
8502
|
+ newusercode += "'" + item + "',";
|
|
|
8503
|
+ }
|
|
|
8504
|
+ newusercode = newusercode.Trim(',');
|
|
|
8505
|
+ if (newusercode.Trim() != "" && newusercode != "undefined")
|
|
|
8506
|
+ {
|
|
|
8507
|
+ sql += " and F_CreateUser in (" + newusercode + ") ";
|
|
|
8508
|
+ }
|
|
8504
|
8509
|
}
|
|
8505
|
8510
|
}
|
|
|
8511
|
+
|
|
8506
|
8512
|
if (strddusercode.Trim() != "" && strddusercode != "undefined")
|
|
8507
|
8513
|
{//调度员
|
|
8508
|
8514
|
var ddusercode = strddusercode.Trim().Split(',');
|
|
|
@@ -17590,9 +17596,17 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
17590
|
17596
|
var model = new BLL.T_Bus_WorkOrder().GetModel(WorkOrderId);
|
|
17591
|
17597
|
if (model != null)
|
|
17592
|
17598
|
{
|
|
17593
|
|
- string content = "您反映的诉求已有回复,请前往http://192.168.8.9:1041/citizenNode/orderDetails.html?workorderid="+model .F_WorkOrderId +"查看办结结果并进行评价,或者拨打12345市长热线来电咨询,谢谢!";
|
|
17594
|
|
- string mag = "[\"http://192.168.8.9:1041/citizenNode/orderDetails.html?workorderid=" + model.F_WorkOrderId + "\"]";
|
|
17595
|
|
- string n = SmsNewController.AddSmS(0, content, phone, "680847330371186688", mag, WorkOrderId);
|
|
|
17599
|
+ string content = "";string temp = "680847330371186688";
|
|
|
17600
|
+ if (model.F_InfoSource ==1|| model.F_InfoSource == 3 || model.F_InfoSource == 6)
|
|
|
17601
|
+ content = "您反映的诉求已有回复,请前往http://12345rx.zwfw.anyang.gov.cn:9999/citizenNode/orderDetails.html?workorderid=" + model .F_WorkOrderId +"查看办结结果并进行评价,或者拨打12345市长热线来电咨询,谢谢!";
|
|
|
17602
|
+ else
|
|
|
17603
|
+ {
|
|
|
17604
|
+ temp = "681914832337539072";
|
|
|
17605
|
+ content = "您反映的诉求已有回复,请前往http://12345rx.zwfw.anyang.gov.cn:9999/citizenNode/orderDetails.html?workorderid=" + model.F_WorkOrderId + "查看办结结果并进行评价,谢谢!";
|
|
|
17606
|
+ }
|
|
|
17607
|
+
|
|
|
17608
|
+ string mag = "[\"http://12345rx.zwfw.anyang.gov.cn:9999/citizenNode/orderDetails.html?workorderid=" + model.F_WorkOrderId + "\"]";
|
|
|
17609
|
+ string n = SmsNewController.AddSmS(0, content, phone, temp, mag, WorkOrderId);
|
|
17596
|
17610
|
if (n == "")
|
|
17597
|
17611
|
{
|
|
17598
|
17612
|
Dictionary<string, object> keyValuePairs = new Dictionary<string, object>();
|
|
|
@@ -20309,9 +20323,9 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
20309
|
20323
|
newmodelT_Bus_AssignedInfo.F_WorkOrderId = modelT_Bus_WorkOrder.F_WorkOrderId;
|
|
20310
|
20324
|
newmodelT_Bus_AssignedInfo.F_LimitTime = limittime;//办理时限
|
|
20311
|
20325
|
if (maindept.F_IsDept == 2)
|
|
20312
|
|
- modelT_Bus_AssignedInfo.F_MainDeptId = premodeldept.F_DeptId;//主办单位id
|
|
|
20326
|
+ newmodelT_Bus_AssignedInfo.F_MainDeptId = premodeldept.F_DeptId;//主办单位id
|
|
20313
|
20327
|
else
|
|
20314
|
|
- modelT_Bus_AssignedInfo.F_MainDeptId = maindept.F_DeptId;
|
|
|
20328
|
+ newmodelT_Bus_AssignedInfo.F_MainDeptId = maindept.F_DeptId;
|
|
20315
|
20329
|
|
|
20316
|
20330
|
|
|
20317
|
20331
|
// newmodelT_Bus_AssignedInfo.F_MainDeptId = maindeptid;//主办单位id
|
|
|
@@ -20913,9 +20927,20 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
20913
|
20927
|
{
|
|
20914
|
20928
|
if (modelT_Bus_WorkOrder.F_CusPhone.Length >11)
|
|
20915
|
20929
|
modelT_Bus_WorkOrder.F_CusPhone= modelT_Bus_WorkOrder.F_CusPhone.Substring(1, 11);
|
|
20916
|
|
- string content = "您反映的诉求已有回复,请前往http://12345rx.zwfw.anyang.gov.cn:9999/citizenNode/orderDetails.html?workorderid=" + modelT_Bus_WorkOrder.F_WorkOrderId + "查看办结结果并进行评价,或者拨打12345市长热线来电咨询,谢谢!";
|
|
|
20930
|
+
|
|
|
20931
|
+ string content = ""; string temp = "680847330371186688";
|
|
|
20932
|
+ if (modelT_Bus_WorkOrder.F_InfoSource == 1 || modelT_Bus_WorkOrder.F_InfoSource == 3 || modelT_Bus_WorkOrder.F_InfoSource == 6)
|
|
|
20933
|
+ content = "您反映的诉求已有回复,请前往http://12345rx.zwfw.anyang.gov.cn:9999/citizenNode/orderDetails.html?workorderid=" + modelT_Bus_WorkOrder.F_WorkOrderId + "查看办结结果并进行评价,或者拨打12345市长热线来电咨询,谢谢!";
|
|
|
20934
|
+ else
|
|
|
20935
|
+ {
|
|
|
20936
|
+ temp = "681914832337539072";
|
|
|
20937
|
+ content = "您反映的诉求已有回复,请前往http://12345rx.zwfw.anyang.gov.cn:9999/citizenNode/orderDetails.html?workorderid=" + modelT_Bus_WorkOrder.F_WorkOrderId + "查看办结结果并进行评价,谢谢!";
|
|
|
20938
|
+ }
|
|
20917
|
20939
|
string mag = "[\"http://12345rx.zwfw.anyang.gov.cn:9999/citizenNode/orderDetails.html?workorderid=" + modelT_Bus_WorkOrder.F_WorkOrderId + "\"]";
|
|
20918
|
|
- string n = SmsNewController.AddSmS(0, content, modelT_Bus_WorkOrder.F_CusPhone, "680847330371186688", mag, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
|
20940
|
+
|
|
|
20941
|
+ string n = SmsNewController.AddSmS(0, content, modelT_Bus_WorkOrder.F_CusPhone, temp, mag, modelT_Bus_WorkOrder.F_WorkOrderId);
|
|
|
20942
|
+ if (n != "")
|
|
|
20943
|
+ return Error(n);
|
|
20919
|
20944
|
//string count = "您反映的诉求已有回复,请前往安阳政务服务官网(https://zwfw.anyang.gov.cn)登录后查看办结结果并对办理情况进行评价,或者拨打12345市长热线来电咨询,谢谢!";
|
|
20920
|
20945
|
//string mag = "";
|
|
20921
|
20946
|
//bool n = SMSController.AddSmS(0, mag, count, modelT_Bus_WorkOrder.F_CusPhone, "289715", "", modelT_Bus_WorkOrder.F_WorkOrderId);
|