|
|
@@ -204,7 +204,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
204
|
204
|
if (jianhang==3)
|
|
205
|
205
|
sql += " and F_InfoSource = '2501' ";
|
|
206
|
206
|
else
|
|
207
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
207
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
208
|
208
|
|
|
209
|
209
|
}
|
|
210
|
210
|
else
|
|
|
@@ -771,7 +771,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
771
|
771
|
if (jianhang == 3)
|
|
772
|
772
|
sql += " and F_InfoSource = '2501' ";
|
|
773
|
773
|
else
|
|
774
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
774
|
+ sql += " and F_InfoSource != '1'and F_InfoSource != '2501' ";
|
|
775
|
775
|
}
|
|
776
|
776
|
else
|
|
777
|
777
|
{
|
|
|
@@ -1513,7 +1513,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1513
|
1513
|
if (jianhang == 3)
|
|
1514
|
1514
|
sql += " and F_InfoSource = '2501' ";
|
|
1515
|
1515
|
else
|
|
1516
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
1516
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
1517
|
1517
|
}
|
|
1518
|
1518
|
else
|
|
1519
|
1519
|
{
|
|
|
@@ -2372,10 +2372,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
2372
|
2372
|
else if (jianhang == 1)
|
|
2373
|
2373
|
{
|
|
2374
|
2374
|
|
|
2375
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
2375
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
2376
|
2376
|
}
|
|
2377
|
2377
|
else if (jianhang == 3)
|
|
2378
|
|
- sql += " and F_InfoSource = '2501' ";
|
|
|
2378
|
+ sql += " and F_InfoSource = '2501' ";
|
|
2379
|
2379
|
|
|
2380
|
2380
|
string incomingcall = RequestString.GetString("incomingcall");//来电电话
|
|
2381
|
2381
|
if (incomingcall.Trim() != "" && incomingcall != "undefined")
|
|
|
@@ -2844,7 +2844,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
2844
|
2844
|
if (jianhang == 3)
|
|
2845
|
2845
|
sql += " and F_InfoSource = '2501' ";
|
|
2846
|
2846
|
else
|
|
2847
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
2847
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
2848
|
2848
|
}
|
|
2849
|
2849
|
else
|
|
2850
|
2850
|
{
|
|
|
@@ -3282,7 +3282,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3282
|
3282
|
if (jianhang == 3)
|
|
3283
|
3283
|
sql += " and F_InfoSource = '2501' ";
|
|
3284
|
3284
|
else
|
|
3285
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
3285
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
3286
|
3286
|
}
|
|
3287
|
3287
|
else
|
|
3288
|
3288
|
{
|
|
|
@@ -4124,7 +4124,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4124
|
4124
|
if (jianhang == 3)
|
|
4125
|
4125
|
sql += " and F_InfoSource = '2501' ";
|
|
4126
|
4126
|
else
|
|
4127
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
4127
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
4128
|
4128
|
}
|
|
4129
|
4129
|
else
|
|
4130
|
4130
|
{
|
|
|
@@ -4498,7 +4498,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4498
|
4498
|
if (jianhang == 3)
|
|
4499
|
4499
|
sql += " and F_InfoSource = '2501' ";
|
|
4500
|
4500
|
else
|
|
4501
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
4501
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
4502
|
4502
|
}
|
|
4503
|
4503
|
else
|
|
4504
|
4504
|
{
|
|
|
@@ -4879,7 +4879,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4879
|
4879
|
}
|
|
4880
|
4880
|
else if (jianhang ==1)
|
|
4881
|
4881
|
{
|
|
4882
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
4882
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
4883
|
4883
|
}
|
|
4884
|
4884
|
else if (jianhang == 3)
|
|
4885
|
4885
|
sql += " and F_InfoSource = '2501' ";
|
|
|
@@ -5777,7 +5777,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
5777
|
5777
|
if (jianhang == 3)
|
|
5778
|
5778
|
sql += " and F_InfoSource = '2501' ";
|
|
5779
|
5779
|
else
|
|
5780
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
5780
|
+ sql += " and F_InfoSource != '1'and F_InfoSource != '2501' ";
|
|
5781
|
5781
|
}
|
|
5782
|
5782
|
else
|
|
5783
|
5783
|
{
|
|
|
@@ -6176,7 +6176,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
6176
|
6176
|
if (jianhang == 3)
|
|
6177
|
6177
|
sql += " and F_InfoSource = '2501' ";
|
|
6178
|
6178
|
else
|
|
6179
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
6179
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
6180
|
6180
|
}
|
|
6181
|
6181
|
else
|
|
6182
|
6182
|
{
|
|
|
@@ -6565,7 +6565,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
6565
|
6565
|
if (jianhang == 3)
|
|
6566
|
6566
|
sql += " and F_InfoSource = '2501' ";
|
|
6567
|
6567
|
else
|
|
6568
|
|
- sql += " and F_InfoSource != '1' ";
|
|
|
6568
|
+ sql += " and F_InfoSource != '1' and F_InfoSource != '2501'";
|
|
6569
|
6569
|
}
|
|
6570
|
6570
|
else
|
|
6571
|
6571
|
{
|
|
|
@@ -9869,11 +9869,6 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9869
|
9869
|
//[Authority]
|
|
9870
|
9870
|
public ActionResult AssignWorkOrderNew()
|
|
9871
|
9871
|
{
|
|
9872
|
|
-
|
|
9873
|
|
-
|
|
9874
|
|
-
|
|
9875
|
|
-
|
|
9876
|
|
-
|
|
9877
|
9872
|
if (User.F_RoleCode == "ZXLD" || User.F_RoleCode == "ZXLDGLYGLY" || User.F_RoleCode == "GLY" || User.F_RoleCode == "DDZG"|| User .F_RoleCode == "DBZY"|| User.F_RoleCode == "MTDD")
|
|
9878
|
9873
|
{
|
|
9879
|
9874
|
string workorderid = RequestString.GetFormString("workorderid");
|
|
|
@@ -10433,22 +10428,6 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10433
|
10428
|
string files = RequestString.GetFormString("files");
|
|
10434
|
10429
|
int state = RequestString.GetInt("state", 0);
|
|
10435
|
10430
|
int nextid = RequestString.GetInt("nextid", 0);
|
|
10436
|
|
-
|
|
10437
|
|
-
|
|
10438
|
|
- //string resdatetime = "";
|
|
10439
|
|
- //if (limittime > 0)
|
|
10440
|
|
- //{
|
|
10441
|
|
- // string resdate = DateTime.Now.Date.ToString("yyyy-MM-dd");
|
|
10442
|
|
- // DataTable dt = DbHelperSQL.Query("select top " + limittime + " F_OffDate from T_Sys_WorkOFFDays where F_OffState = 1 and F_OffDate>'" + resdate + "' order by F_OffDate").Tables[0];
|
|
10443
|
|
- // resdatetime = dt.Rows[dt.Rows.Count - 1]["F_OffDate"].ToString();
|
|
10444
|
|
- //}
|
|
10445
|
|
- //else
|
|
10446
|
|
- //{
|
|
10447
|
|
- // return Error("请选择办理时限");
|
|
10448
|
|
- //}
|
|
10449
|
|
- // resdatetime = Convert.ToDateTime(resdatetime).ToString("yyyy-MM-dd") + " 23:59:59 ";
|
|
10450
|
|
-
|
|
10451
|
|
-
|
|
10452
|
10431
|
Model.T_Bus_WorkOrder modelT_Bus_WorkOrder = workorderBLL.GetModel(workorderid);
|
|
10453
|
10432
|
Model.T_Bus_AssignedInfo modelT_Bus_AssignedInfo = assignBLL.GetNewModelByWorkOrderID(workorderid);
|
|
10454
|
10433
|
Model.T_Bus_AssignedInfo_Next modelT_Bus_AssignedInfo_Next = new Model.T_Bus_AssignedInfo_Next();
|
|
|
@@ -10460,7 +10439,6 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10460
|
10439
|
return Error("办理时限不能大于当前办理时限");
|
|
10461
|
10440
|
}
|
|
10462
|
10441
|
int type = AssignDeptType(modelT_Bus_AssignedInfo, User.F_DeptId);
|
|
10463
|
|
- //if ((type == 1 && modelT_Bus_WorkOrder.F_WorkState == 4) || User.F_RoleCode == "GLY")
|
|
10464
|
10442
|
if ((type == 1 && (modelT_Bus_WorkOrder.F_WorkState == (int)EnumWorkState.dealing|| modelT_Bus_WorkOrder.F_WorkState == (int)EnumWorkState.reload )) || (User.F_RoleCode == "GLY" || User.F_RoleCode == "DDZG"))
|
|
10465
|
10443
|
{
|
|
10466
|
10444
|
if (modelT_Bus_AssignedInfo.F_IsNext == null || modelT_Bus_AssignedInfo.F_IsNext.Value == 0 || modelT_Bus_AssignedInfo.F_IsNext.Value == 4)
|