Commit 58958985 by liuyang

Merge branch 'dev' of http://git.pseer.com/platform/hp-smart into dev-ly

parents b6e998c2 c29ad7c9
...@@ -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