|
|
@@ -318,11 +318,11 @@ namespace CallCenterApi.Interface.Controllers
|
|
318
|
318
|
{
|
|
319
|
319
|
keywords = keywords.Replace("'", "");
|
|
320
|
320
|
}
|
|
321
|
|
- dt = new BLL.T_Sys_Department().GetList(" F_State=1" + $" and F_DeptName like '%" + keywords.Trim() + "%' ").Tables[0];
|
|
|
321
|
+ dt = new BLL.T_Sys_Department().GetList(" F_State=1" + $" and F_DeptName like '%" + keywords.Trim() + "%' and F_DeptId !=2 ").Tables[0];
|
|
322
|
322
|
}
|
|
323
|
323
|
else
|
|
324
|
324
|
{
|
|
325
|
|
- dt = new BLL.T_Sys_Department().GetList(" F_State=1 and F_ParentId=" + pId).Tables[0];
|
|
|
325
|
+ dt = new BLL.T_Sys_Department().GetList(" F_State=1 and F_DeptId !=2 and F_ParentId=" + pId).Tables[0];
|
|
326
|
326
|
}
|
|
327
|
327
|
List<Model.TreeModel> modelList = BindAssignTree(dt, "0", type);
|
|
328
|
328
|
if (modelList != null)
|