|
|
@@ -850,7 +850,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
850
|
850
|
}
|
|
851
|
851
|
else if (it.F_Type == "6")
|
|
852
|
852
|
{
|
|
853
|
|
- drNew["工单类型"] = "新业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
|
853
|
+ drNew["工单类型"] = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
854
|
854
|
}
|
|
855
|
855
|
else
|
|
856
|
856
|
{
|
|
|
@@ -1964,7 +1964,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1964
|
1964
|
else if (ro.F_RoleCode == "DQJL" || ro.F_RoleCode == "FGSJL" || ro.F_RoleCode == "BLRY" || ro.F_RoleCode == "ZG" || ro.F_RoleCode == "GC")
|
|
1965
|
1965
|
{
|
|
1966
|
1966
|
|
|
1967
|
|
- string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424";
|
|
|
1967
|
+ string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,664";
|
|
1968
|
1968
|
string qualdepts = "12,36,295,245,314";
|
|
1969
|
1969
|
string detpid = "" + ua.F_DeptId;
|
|
1970
|
1970
|
var deparmentlist = new List<Model.T_Sys_Department>();
|
|
|
@@ -2676,7 +2676,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
2676
|
2676
|
if (!string.IsNullOrEmpty(GetDeptment(ua)))
|
|
2677
|
2677
|
{
|
|
2678
|
2678
|
var itemlasts = itembll.GetModelList(" isnull(F_IsUsed,'0')='0' and F_OptType in(" + (int)EnumItemOpt.audit + ")" + " and "
|
|
2679
|
|
- + "F_WoState in(" + (int)EnumWorkOrderState.audit + ") and F_NextUser in ( " + GetDeptment(ua) + ") ");
|
|
|
2679
|
+ + "F_WoState in(" + (int)EnumWorkOrderState.audit + ") and F_NextDept in ( " + GetDeptment(ua) + ") ");
|
|
2680
|
2680
|
foreach (var it in itemlasts)
|
|
2681
|
2681
|
{
|
|
2682
|
2682
|
float hours = (DateTime.Now - DateTime.Parse(it.F_CreateTime.ToString())).Hours;
|
|
|
@@ -3268,7 +3268,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3268
|
3268
|
{
|
|
3269
|
3269
|
int userId = CurrentUser.UserData.F_UserId;
|
|
3270
|
3270
|
int woflag = 0;
|
|
3271
|
|
- string markdepts = "37,57,74,88,268,295,339,22,427,433,424,470,595";
|
|
|
3271
|
+ string markdepts = "37,57,74,88,268,295,339,22,427,433,424,470,595,664";
|
|
3272
|
3272
|
if (userId != 0)
|
|
3273
|
3273
|
{
|
|
3274
|
3274
|
DataTable FileUrl = new DataTable();
|
|
|
@@ -3353,7 +3353,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3353
|
3353
|
{
|
|
3354
|
3354
|
int? flag = 0;
|
|
3355
|
3355
|
int userId = CurrentUser.UserData.F_UserId;
|
|
3356
|
|
- string markdepts = "37,57,74,88,268,295,339,22,427,433,424,470,595";
|
|
|
3356
|
+ string markdepts = "37,57,74,88,268,295,339,22,427,433,424,470,595,664";
|
|
3357
|
3357
|
if (userId != 0)
|
|
3358
|
3358
|
{
|
|
3359
|
3359
|
Model.T_Sys_UserAccount ua = sysUserAccountBll.GetModel(userId);
|
|
|
@@ -3495,7 +3495,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
3495
|
3495
|
public int? IsMarketAssign(long fid)
|
|
3496
|
3496
|
{
|
|
3497
|
3497
|
int? woflag = 0;
|
|
3498
|
|
- string markdepts = "37,57,74,88,268,295,339,22,427,433,424,470,595";
|
|
|
3498
|
+ string markdepts = "37,57,74,88,268,295,339,22,427,433,424,470,595,664";
|
|
3499
|
3499
|
int userId = CurrentUser.UserData.F_UserId;
|
|
3500
|
3500
|
if (userId != 0)
|
|
3501
|
3501
|
{
|
|
|
@@ -4040,7 +4040,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4040
|
4040
|
sql += $" and F_CreateBy like '%" + ua.F_UserCode.Trim() + "%'";
|
|
4041
|
4041
|
else if (ro.F_RoleCode == "DQJL" || ro.F_RoleCode == "FGSJL" || ro.F_RoleCode == "BLRY" || ro.F_RoleCode == "ZG" || ro.F_RoleCode == "GC")
|
|
4042
|
4042
|
{
|
|
4043
|
|
- string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595";
|
|
|
4043
|
+ string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595,664";
|
|
4044
|
4044
|
string qualdepts = "12,36,295,245,314";
|
|
4045
|
4045
|
string detpid = "" + ua.F_DeptId;
|
|
4046
|
4046
|
var deparmentlist = new List<Model.T_Sys_Department>();
|
|
|
@@ -4136,7 +4136,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4136
|
4136
|
if (isdc > 0)
|
|
4137
|
4137
|
{
|
|
4138
|
4138
|
|
|
4139
|
|
- if (type <= 0 || type >= 6)//工单类型
|
|
|
4139
|
+ if (type <= 0 || type > 6)//工单类型
|
|
4140
|
4140
|
{
|
|
4141
|
4141
|
return Error("请选择工单类型");
|
|
4142
|
4142
|
}
|
|
|
@@ -4158,7 +4158,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4158
|
4158
|
dt.Columns.Add("问题数量");
|
|
4159
|
4159
|
dt.Columns.Add("销售基地");
|
|
4160
|
4160
|
}
|
|
4161
|
|
- else if (type == 2 || type==5)
|
|
|
4161
|
+ else if (type == 2 || type==6 || type == 5)
|
|
4162
|
4162
|
{
|
|
4163
|
4163
|
|
|
4164
|
4164
|
|
|
|
@@ -4338,7 +4338,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4338
|
4338
|
}
|
|
4339
|
4339
|
else if (it.F_Type == "6")
|
|
4340
|
4340
|
{
|
|
4341
|
|
- drNew["工单类型"] = "新业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
|
4341
|
+ drNew["工单类型"] = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
4342
|
4342
|
}
|
|
4343
|
4343
|
else
|
|
4344
|
4344
|
{
|
|
|
@@ -4500,7 +4500,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4500
|
4500
|
drNew["问题数量"] = string.IsNullOrEmpty(it.F_ZX_Quantity)? it.F_TS_Quantity : it.F_ZX_Quantity;//投诉-(吨)
|
|
4501
|
4501
|
drNew["销售基地"] = it.F_SalesBase;
|
|
4502
|
4502
|
}
|
|
4503
|
|
- else if (type == 2 || type==5)
|
|
|
4503
|
+ else if (type == 2 || type==5 || type == 6)
|
|
4504
|
4504
|
{
|
|
4505
|
4505
|
drNew["产品名称"] = it.F_TS_Category;
|
|
4506
|
4506
|
drNew["问题数量"] = string.IsNullOrEmpty(it.F_TS_Quantity)? it.F_ZX_Quantity : it.F_TS_Quantity + "吨";//投诉-问题数量(吨)
|
|
|
@@ -4549,11 +4549,11 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4549
|
4549
|
{
|
|
4550
|
4550
|
if (type == 5)
|
|
4551
|
4551
|
{
|
|
4552
|
|
- drNew["问题类别"] = it.F_QuestionType;
|
|
|
4552
|
+ drNew["问题类别1"] = it.F_QuestionType; //问题类别(投诉抽捡和咨询类别不一样)
|
|
4553
|
4553
|
}
|
|
4554
|
|
- else
|
|
|
4554
|
+ if (type == 6)
|
|
4555
|
4555
|
{
|
|
4556
|
|
- drNew["问题类别3"] = it.F_QuestionType; //问题类别(投诉抽捡和咨询类别不一样)
|
|
|
4556
|
+ drNew["问题类别1"] = it.F_QuestionType; //问题类别(投诉抽捡和咨询类别不一样)
|
|
4557
|
4557
|
}
|
|
4558
|
4558
|
}
|
|
4559
|
4559
|
}
|
|
|
@@ -4616,7 +4616,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4616
|
4616
|
drNew["生产批次号"] = it.F_BatchNumber;
|
|
4617
|
4617
|
drNew["公关费用金额"] = it.F_CJ_Outlay;
|
|
4618
|
4618
|
}
|
|
4619
|
|
- if (type == 2 || type == 3 || type==5)
|
|
|
4619
|
+ if (type == 2 || type == 3 || type==5 || type == 6)
|
|
4620
|
4620
|
{
|
|
4621
|
4621
|
#region 客户
|
|
4622
|
4622
|
Model.T_Cus_CustomerBaseNew cuModel = new Model.T_Cus_CustomerBaseNew();
|
|
|
@@ -5204,7 +5204,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
5204
|
5204
|
}
|
|
5205
|
5205
|
else if (it.F_Type == "6")
|
|
5206
|
5206
|
{
|
|
5207
|
|
- drNew["工单类型"] = "新业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
|
5207
|
+ drNew["工单类型"] = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
5208
|
5208
|
}
|
|
5209
|
5209
|
else
|
|
5210
|
5210
|
{
|
|
|
@@ -7538,7 +7538,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
7538
|
7538
|
}
|
|
7539
|
7539
|
else if (model1[i].F_Type == "6")
|
|
7540
|
7540
|
{
|
|
7541
|
|
- model.F_TypeName = "新业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
|
7541
|
+ model.F_TypeName = "业务协办";//工单类型:咨询及需求、投诉、抽检、其他(其它手动输入别的点选)
|
|
7542
|
7542
|
}
|
|
7543
|
7543
|
else
|
|
7544
|
7544
|
{
|
|
|
@@ -7704,8 +7704,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
7704
|
7704
|
Model.T_Wo_QuestionManage manage = quesBLL.GetModel(b);
|
|
7705
|
7705
|
if (manage != null)
|
|
7706
|
7706
|
{
|
|
7707
|
|
- model.F_QuestionType = manage.F_QuestionName;//问题类别3
|
|
7708
|
|
- model.F_QuestionTypeid = manage.F_Id;
|
|
|
7707
|
+
|
|
7709
|
7708
|
#region 20220215修改 肥效类增加作物字段
|
|
7710
|
7709
|
var cropid = 0;
|
|
7711
|
7710
|
if (manage.F_Label == "3")
|
|
|
@@ -7715,7 +7714,31 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
7715
|
7714
|
model.F_QuestionTypeone = Manage2.F_QuestionName;//问题类别1
|
|
7716
|
7715
|
model.F_QuestionTypeoneid = Manage2.F_Id;//问题类别1
|
|
7717
|
7716
|
model.F_QuestionTypetwo = Manage1.F_QuestionName;//问题类别2
|
|
7718
|
|
- model.F_QuestionTypetwoid = Manage1.F_Id;//问题类别2
|
|
|
7717
|
+ model.F_QuestionTypetwoid = Manage1.F_Id;//问题类别2
|
|
|
7718
|
+ model.F_QuestionType = manage.F_QuestionName;//问题类别3
|
|
|
7719
|
+ model.F_QuestionTypeid = manage.F_Id;
|
|
|
7720
|
+ }
|
|
|
7721
|
+ else if (manage.F_Label == "2")
|
|
|
7722
|
+ {
|
|
|
7723
|
+ Model.T_Wo_QuestionManage Manage1 = quesBLL.GetModel(int.Parse(manage.F_ParentId.ToString()));//获取问题类别1
|
|
|
7724
|
+ model.F_QuestionTypeone = Manage1.F_QuestionName;//问题类别1
|
|
|
7725
|
+ model.F_QuestionTypeoneid = Manage1.F_Id;//问题类别1
|
|
|
7726
|
+ model.F_QuestionTypetwo = manage.F_QuestionName;//问题类别2
|
|
|
7727
|
+ model.F_QuestionTypetwoid = manage.F_Id;//问题类别2
|
|
|
7728
|
+
|
|
|
7729
|
+ }
|
|
|
7730
|
+ else
|
|
|
7731
|
+ {
|
|
|
7732
|
+ if (model.F_Type == 2 || model.F_Type == 6)
|
|
|
7733
|
+ {
|
|
|
7734
|
+ model.F_QuestionTypeone = manage.F_QuestionName;//问题类别3
|
|
|
7735
|
+ model.F_QuestionTypeoneid = manage.F_Id;
|
|
|
7736
|
+ }
|
|
|
7737
|
+ else
|
|
|
7738
|
+ {
|
|
|
7739
|
+ model.F_QuestionType = manage.F_QuestionName;//问题类别3
|
|
|
7740
|
+ model.F_QuestionTypeid = manage.F_Id;
|
|
|
7741
|
+ }
|
|
7719
|
7742
|
}
|
|
7720
|
7743
|
if (int.TryParse(model1[i].F_Crops.Trim(), out cropid))
|
|
7721
|
7744
|
{
|
|
|
@@ -9077,7 +9100,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9077
|
9100
|
else if (flag == 2)
|
|
9078
|
9101
|
{
|
|
9079
|
9102
|
|
|
9080
|
|
- if (clbm2 == 427) //运营中心
|
|
|
9103
|
+ if (clbm == 427 || clbm == 664 || clbm == 470) //运营中心
|
|
9081
|
9104
|
{
|
|
9082
|
9105
|
flag = 3;
|
|
9083
|
9106
|
modlelist.F_Flag = 9;
|
|
|
@@ -9095,7 +9118,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9095
|
9118
|
}
|
|
9096
|
9119
|
else
|
|
9097
|
9120
|
{
|
|
9098
|
|
- if (clbm == 427) //运营中心
|
|
|
9121
|
+ if (clbm == 427 || clbm == 664 || clbm == 470) //运营中心
|
|
9099
|
9122
|
{
|
|
9100
|
9123
|
flag = 3;
|
|
9101
|
9124
|
modlelist.F_Flag = 9;
|
|
|
@@ -9391,7 +9414,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9391
|
9414
|
}
|
|
9392
|
9415
|
else if (model.F_Type == "6")
|
|
9393
|
9416
|
{
|
|
9394
|
|
- smscont = "新业务协办";
|
|
|
9417
|
+ smscont = "业务协办";
|
|
9395
|
9418
|
}
|
|
9396
|
9419
|
else
|
|
9397
|
9420
|
{
|
|
|
@@ -9399,25 +9422,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9399
|
9422
|
}
|
|
9400
|
9423
|
string[] mag = { smscont };
|
|
9401
|
9424
|
string smsmsg = "您好,您有一条新的" + smscont + "工单,请4小时内接单处理!";
|
|
9402
|
|
- if (touser1 != null)
|
|
9403
|
|
- {
|
|
9404
|
|
- if (!string.IsNullOrEmpty(touser1.F_Mobile))
|
|
9405
|
|
- {
|
|
9406
|
|
-
|
|
9407
|
|
- SmsSingleSenderResult result = new SMSController().SMSSingleshot(2304572, mag, touser1.F_Mobile.Trim());
|
|
9408
|
|
- bool n = new SMSController().AddSmS(touser1.F_Mobile.Trim(), smsmsg, nowUser.F_UserId);
|
|
9409
|
|
- }
|
|
9410
|
|
- }
|
|
9411
|
|
- if (deptid2 > 0)
|
|
9412
|
|
- {
|
|
9413
|
|
- var touser2 = new BLL.T_Sys_UserAccount().GetModel(creatuser2);
|
|
9414
|
|
- if (!string.IsNullOrEmpty(touser2.F_Mobile))
|
|
9415
|
|
- {
|
|
9416
|
|
-
|
|
9417
|
|
- SmsSingleSenderResult result = new SMSController().SMSSingleshot(2304572, mag, touser2.F_Mobile.Trim());
|
|
9418
|
|
- bool n = new SMSController().AddSmS(touser2.F_Mobile.Trim(), smsmsg, nowUser.F_UserId);
|
|
9419
|
|
- }
|
|
9420
|
|
- }
|
|
|
9425
|
+
|
|
9421
|
9426
|
|
|
9422
|
9427
|
#region 处理工单
|
|
9423
|
9428
|
|
|
|
@@ -9428,15 +9433,53 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9428
|
9433
|
AddLog((int)model.F_ID, 1, content, (int)EnumItemType.deal, 4, creatuser1, deptid1, nowUser, model.F_limit, sms, "", 0, woflag);
|
|
9429
|
9434
|
|
|
9430
|
9435
|
model.F_State = 1;
|
|
|
9436
|
+ if (touser1 != null)
|
|
|
9437
|
+ {
|
|
|
9438
|
+ if (!string.IsNullOrEmpty(touser1.F_Mobile))
|
|
|
9439
|
+ {
|
|
|
9440
|
+
|
|
|
9441
|
+ SmsSingleSenderResult result = new SMSController().SMSSingleshot(2304572, mag, touser1.F_Mobile.Trim());
|
|
|
9442
|
+ bool n = new SMSController().AddSmS(touser1.F_Mobile.Trim(), smsmsg, nowUser.F_UserId);
|
|
|
9443
|
+ }
|
|
|
9444
|
+ }
|
|
|
9445
|
+
|
|
9431
|
9446
|
}
|
|
9432
|
9447
|
else if (flag == 2)
|
|
9433
|
9448
|
{
|
|
9434
|
9449
|
model.F_State2 = 1;
|
|
9435
|
9450
|
if (deptid2 > 0)
|
|
9436
|
|
- AddLog((int)model.F_ID, 1, content, (int)EnumItemType.deal, 4, creatuser2, deptid2, nowUser, model.F_limit, sms, "", 0, 2);
|
|
|
9451
|
+ {
|
|
|
9452
|
+ AddLog((int)model.F_ID, 1, content, (int)EnumItemType.deal, 4, creatuser2, deptid2, nowUser, model.F_limit, sms, "", 0, 2);
|
|
|
9453
|
+ var touser2 = new BLL.T_Sys_UserAccount().GetModel(creatuser2);
|
|
|
9454
|
+ if (!string.IsNullOrEmpty(touser2.F_Mobile))
|
|
|
9455
|
+ {
|
|
|
9456
|
+
|
|
|
9457
|
+ SmsSingleSenderResult result = new SMSController().SMSSingleshot(2304572, mag, touser2.F_Mobile.Trim());
|
|
|
9458
|
+ bool n = new SMSController().AddSmS(touser2.F_Mobile.Trim(), smsmsg, nowUser.F_UserId);
|
|
|
9459
|
+ }
|
|
|
9460
|
+ }
|
|
9437
|
9461
|
}
|
|
9438
|
9462
|
else
|
|
9439
|
9463
|
{
|
|
|
9464
|
+ if (touser1 != null)
|
|
|
9465
|
+ {
|
|
|
9466
|
+ if (!string.IsNullOrEmpty(touser1.F_Mobile))
|
|
|
9467
|
+ {
|
|
|
9468
|
+
|
|
|
9469
|
+ SmsSingleSenderResult result = new SMSController().SMSSingleshot(2304572, mag, touser1.F_Mobile.Trim());
|
|
|
9470
|
+ bool n = new SMSController().AddSmS(touser1.F_Mobile.Trim(), smsmsg, nowUser.F_UserId);
|
|
|
9471
|
+ }
|
|
|
9472
|
+ }
|
|
|
9473
|
+ if (deptid2 > 0)
|
|
|
9474
|
+ {
|
|
|
9475
|
+ var touser2 = new BLL.T_Sys_UserAccount().GetModel(creatuser2);
|
|
|
9476
|
+ if (!string.IsNullOrEmpty(touser2.F_Mobile))
|
|
|
9477
|
+ {
|
|
|
9478
|
+
|
|
|
9479
|
+ SmsSingleSenderResult result = new SMSController().SMSSingleshot(2304572, mag, touser2.F_Mobile.Trim());
|
|
|
9480
|
+ bool n = new SMSController().AddSmS(touser2.F_Mobile.Trim(), smsmsg, nowUser.F_UserId);
|
|
|
9481
|
+ }
|
|
|
9482
|
+ }
|
|
9440
|
9483
|
if (deptid1 > 0&& deptid2 > 0)
|
|
9441
|
9484
|
{
|
|
9442
|
9485
|
AddLog((int)model.F_ID, 1, content, (int)EnumItemType.deal, 4, creatuser1, deptid1, nowUser, model.F_limit, sms, "", 0, 3);
|
|
|
@@ -9680,7 +9723,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9680
|
9723
|
}
|
|
9681
|
9724
|
if (!string .IsNullOrEmpty (F_CJ_Outlay))
|
|
9682
|
9725
|
model.F_CJ_Outlay = F_CJ_Outlay;
|
|
9683
|
|
- string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595";
|
|
|
9726
|
+ string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595,664";
|
|
9684
|
9727
|
string qualdepts = "12,36,295,245,314";
|
|
9685
|
9728
|
WorkOrderNewInput input = new WorkOrderNewInput();
|
|
9686
|
9729
|
if (clid != 0)
|
|
|
@@ -9839,7 +9882,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9839
|
9882
|
}
|
|
9840
|
9883
|
else //完结工单
|
|
9841
|
9884
|
{
|
|
9842
|
|
- if (clbm == 427) //运营中心
|
|
|
9885
|
+ if (clbm == 427 || clbm == 664 || clbm == 470) //运营中心
|
|
9843
|
9886
|
{
|
|
9844
|
9887
|
flag = 3;
|
|
9845
|
9888
|
model.F_Flag = 9;
|
|
|
@@ -9882,7 +9925,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
9882
|
9925
|
}
|
|
9883
|
9926
|
else //完结工单
|
|
9884
|
9927
|
{
|
|
9885
|
|
- if (clbm == 427) //运营中心
|
|
|
9928
|
+ if (clbm == 427|| clbm == 664|| clbm == 470) //运营中心
|
|
9886
|
9929
|
{
|
|
9887
|
9930
|
flag = 3;
|
|
9888
|
9931
|
model.F_Flag = 9;
|
|
|
@@ -10199,7 +10242,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10199
|
10242
|
int userId = CurrentUser.UserData.F_UserId;
|
|
10200
|
10243
|
if (userId != 0)
|
|
10201
|
10244
|
{
|
|
10202
|
|
- string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595";
|
|
|
10245
|
+ string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595,664";
|
|
10203
|
10246
|
string qualdepts = "12,36,295,245,314"; //245:九江心连心化肥有限公司-质量督察处
|
|
10204
|
10247
|
if (string.IsNullOrEmpty(cont))
|
|
10205
|
10248
|
return Error("请输入处理内容");
|
|
|
@@ -10526,7 +10569,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10526
|
10569
|
if (model != null)
|
|
10527
|
10570
|
{
|
|
10528
|
10571
|
int flag = 0;
|
|
10529
|
|
- string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595";
|
|
|
10572
|
+ string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595,664";
|
|
10530
|
10573
|
var modellist = new BLL.T_Wo_WorkOrderItem_New().GetModelList($"F_WoID={model.F_ID} " +
|
|
10531
|
10574
|
$"and F_IsUsed=0 and F_NextUser like '%{ua.F_UserCode}%' order by F_ID desc ");
|
|
10532
|
10575
|
|
|
|
@@ -10602,7 +10645,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
10602
|
10645
|
{
|
|
10603
|
10646
|
int userId = CurrentUser.UserData.F_UserId; ;
|
|
10604
|
10647
|
int flag = 0;
|
|
10605
|
|
- string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595";
|
|
|
10648
|
+ string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595,664";
|
|
10606
|
10649
|
if (userId != 0)
|
|
10607
|
10650
|
{
|
|
10608
|
10651
|
//增加撤回功能
|
|
|
@@ -11032,7 +11075,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
11032
|
11075
|
}
|
|
11033
|
11076
|
else if (model.F_Type == "6")
|
|
11034
|
11077
|
{
|
|
11035
|
|
- smscont = "新业务协办";
|
|
|
11078
|
+ smscont = "业务协办";
|
|
11036
|
11079
|
}
|
|
11037
|
11080
|
else
|
|
11038
|
11081
|
{
|
|
|
@@ -11111,7 +11154,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
11111
|
11154
|
{
|
|
11112
|
11155
|
#region 工单处理
|
|
11113
|
11156
|
int sms = 0;
|
|
11114
|
|
- string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595";
|
|
|
11157
|
+ string markdepts = "37,57,74,88,268,295,339,422,22,427,433,424,470,595,664";
|
|
11115
|
11158
|
var itemlasts = itembll.GetModelList(" F_ItemType=" + (int)EnumItemType.deal + " and F_WoID=" + model.F_ID + " ");
|
|
11116
|
11159
|
if (itemlasts.Count > 0)
|
|
11117
|
11160
|
{
|
|
|
@@ -11910,7 +11953,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
11910
|
11953
|
}
|
|
11911
|
11954
|
else if (type == "6")
|
|
11912
|
11955
|
{
|
|
11913
|
|
- smscont = "新业务协办";
|
|
|
11956
|
+ smscont = "业务协办";
|
|
11914
|
11957
|
}
|
|
11915
|
11958
|
else
|
|
11916
|
11959
|
{
|
|
|
@@ -11951,7 +11994,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
11951
|
11994
|
}
|
|
11952
|
11995
|
else if (model.F_Type == "6")
|
|
11953
|
11996
|
{
|
|
11954
|
|
- smscont = "新业务协办";
|
|
|
11997
|
+ smscont = "业务协办";
|
|
11955
|
11998
|
}
|
|
11956
|
11999
|
else
|
|
11957
|
12000
|
{
|