|
|
@@ -44,9 +44,17 @@ namespace CallCenterApi.Interface.Controllers
|
|
44
|
44
|
sql += str;
|
|
45
|
45
|
}
|
|
46
|
46
|
if (!string.IsNullOrWhiteSpace(filter.sgid))
|
|
47
|
|
- {
|
|
|
47
|
+ {//坐席组ID
|
|
48
|
48
|
sql += " and F_SeartGroupID in (" + filter.sgid + ")";
|
|
49
|
49
|
}
|
|
|
50
|
+ if(!string.IsNullOrWhiteSpace(filter.ustate))
|
|
|
51
|
+ {//用户状态:0启用;1禁用
|
|
|
52
|
+ sql += " and F_DeleteFlag=" + filter.ustate;
|
|
|
53
|
+ }
|
|
|
54
|
+ if (!string.IsNullOrWhiteSpace(filter.roleid))
|
|
|
55
|
+ {//用户角色
|
|
|
56
|
+ sql += " and F_RoleId in (" + filter.roleid + ")";
|
|
|
57
|
+ }
|
|
50
|
58
|
int recordCount = 0;
|
|
51
|
59
|
dt = BLL.PagerBLL.GetListPager(
|
|
52
|
60
|
"T_Sys_UserAccount",
|