Commit a69fb493 by wasx8023

1.未绑定部门

parent 70fb843e
...@@ -221,7 +221,11 @@ public class SqlMapDaoLogProxy extends SqlMapDao { ...@@ -221,7 +221,11 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
} }
// 当前用户所在的部门 // 当前用户所在的部门
List<String> userOrgIds = UserSessionUtils.getOrgId(); List<String> userOrgIds = UserSessionUtils.getOrgId();
AssertUtils.isEmpty(userOrgIds, "当前用户未绑定部门,无法操作数据,请联系管理员!"); // AssertUtils.isEmpty(userOrgIds, "当前用户未绑定部门,无法操作数据,请联系管理员!");
if (CollectionUtils.isEmpty(userOrgIds)) {
((Map) parameters).put("depCode", "unbound dep");
return;
}
// 构建部门权限 // 构建部门权限
buildDepAuth(pageEname, userOrgIds, parameters); buildDepAuth(pageEname, userOrgIds, parameters);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment