|
|
@@ -4146,12 +4146,12 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4146
|
4146
|
/// 获取通报工单列表
|
|
4147
|
4147
|
/// </summary>
|
|
4148
|
4148
|
/// <returns></returns>
|
|
4149
|
|
- [Authority]
|
|
4150
|
|
- public ActionResult GetNoticeList(string[] usercode,string[] ddusercode,int isdc = 0)
|
|
|
4149
|
+ //[Authority]
|
|
|
4150
|
+ public ActionResult GetNoticeList(string[] usercode, string[] ddusercode, int isdc = 0)//
|
|
4151
|
4151
|
{
|
|
4152
|
4152
|
DataTable dt = new DataTable();
|
|
4153
|
|
-
|
|
4154
|
|
- int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
|
|
|
4153
|
+ int userId = 8000;
|
|
|
4154
|
+ //int userId = Utils.StrToInt(User.UserData["F_UserID"], 0);
|
|
4155
|
4155
|
|
|
4156
|
4156
|
Model.T_Sys_UserAccount userModel = userBLL.GetModel(userId);
|
|
4157
|
4157
|
|
|
|
@@ -4216,7 +4216,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4216
|
4216
|
//string codes = "";
|
|
4217
|
4217
|
for (int i = 0; i < usercode.Length; i++)
|
|
4218
|
4218
|
{
|
|
4219
|
|
- newusercode += "'" + usercode[i] + "',";
|
|
|
4219
|
+ if (usercode[i] != "")
|
|
|
4220
|
+ {
|
|
|
4221
|
+ newusercode += "'" + usercode[i] + "',";
|
|
|
4222
|
+ }
|
|
4220
|
4223
|
}
|
|
4221
|
4224
|
newusercode = newusercode.Trim(',');
|
|
4222
|
4225
|
if (newusercode.Trim() != "" && newusercode != "undefined")
|
|
|
@@ -4230,7 +4233,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
4230
|
4233
|
//string codes = "";
|
|
4231
|
4234
|
for (int i = 0; i < ddusercode.Length; i++)
|
|
4232
|
4235
|
{
|
|
4233
|
|
- newusercode += "'" + ddusercode[i] + "',";
|
|
|
4236
|
+ if (ddusercode[i] != "")
|
|
|
4237
|
+ {
|
|
|
4238
|
+ newusercode += "'" + ddusercode[i] + "',";
|
|
|
4239
|
+ }
|
|
4234
|
4240
|
}
|
|
4235
|
4241
|
newusercode = newusercode.Trim(',');
|
|
4236
|
4242
|
if (newusercode.Trim() != "" && newusercode != "undefined")
|