|
|
@@ -341,6 +341,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
341
|
341
|
if (gdname == "已处理")
|
|
342
|
342
|
gdstate = 1;
|
|
343
|
343
|
}
|
|
|
344
|
+ //1、待处理,已处理添加权限,2、综合查询不加
|
|
|
345
|
+ sql += " and CreateUser = '" + ua.F_UserCode + "' ";
|
|
344
|
346
|
sql += " and State = " + gdstate + " ";
|
|
345
|
347
|
//坐席工号
|
|
346
|
348
|
if (uid.Trim() != "" && uid != "0")
|
|
|
@@ -527,6 +529,8 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
527
|
529
|
// gdstate = 1;
|
|
528
|
530
|
// }
|
|
529
|
531
|
//}
|
|
|
532
|
+ //1、待处理,已处理添加权限,2、综合查询不加
|
|
|
533
|
+ sql += " and CreateUser = '" + ua.F_UserCode + "' ";
|
|
530
|
534
|
//坐席工号
|
|
531
|
535
|
if (uid.Trim() != "" && uid != "0")
|
|
532
|
536
|
{
|
|
|
@@ -968,15 +972,22 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
968
|
972
|
else
|
|
969
|
973
|
ordermodel.State = 1;
|
|
970
|
974
|
}
|
|
971
|
|
-
|
|
972
|
|
- ordermodel.Customer = customer;
|
|
973
|
|
- ordermodel.Address = lddep;
|
|
974
|
|
- ordermodel.Source = fkdep;
|
|
975
|
|
- ordermodel.Detail = WebHelper.UrlDecode(detail);
|
|
976
|
|
- ordermodel.Files = files;
|
|
977
|
|
- ordermodel.County = country;
|
|
978
|
|
- ordermodel.Province = province;
|
|
979
|
|
- ordermodel.City = city;
|
|
|
975
|
+ if(!string.IsNullOrEmpty(customer))
|
|
|
976
|
+ ordermodel.Customer = customer;
|
|
|
977
|
+ if (!string.IsNullOrEmpty(lddep))
|
|
|
978
|
+ ordermodel.Address = lddep;
|
|
|
979
|
+ if (!string.IsNullOrEmpty(fkdep))
|
|
|
980
|
+ ordermodel.Source = fkdep;
|
|
|
981
|
+ if (!string.IsNullOrEmpty(detail))
|
|
|
982
|
+ ordermodel.Detail = WebHelper.UrlDecode(detail);
|
|
|
983
|
+ if (!string.IsNullOrEmpty(files))
|
|
|
984
|
+ ordermodel.Files = files;
|
|
|
985
|
+ if (!string.IsNullOrEmpty(country))
|
|
|
986
|
+ ordermodel.County = country;
|
|
|
987
|
+ if (!string.IsNullOrEmpty(province))
|
|
|
988
|
+ ordermodel.Province = province;
|
|
|
989
|
+ if (!string.IsNullOrEmpty(city))
|
|
|
990
|
+ ordermodel.City = city;
|
|
980
|
991
|
|
|
981
|
992
|
if (new BLL.T_Wo_WorkOrder().Update(ordermodel))
|
|
982
|
993
|
res = Success("修改成功!");
|