This commit is contained in:
zhangwenjian committed 2020-04-08 14:24:54 +08:00
1 parent ef1f23b2d5
commit 7ae2630d3d
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ func (e *SysUser) GetPage(pageSize int, pageIndex int) ([]SysUserPage, int32, er
}
if e.DeptId != 0 {
table = table.Where("dept_id in (select deptId from sys_dept where dept_path like ? )", "%"+utils.Int64ToString(e.DeptId)+"%")
table = table.Where("dept_id in (select dept_id from sys_dept where dept_path like ? )", "%"+utils.Int64ToString(e.DeptId)+"%")
}
// 数据权限控制