Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hp-smart
Commits
a69fb493
Commit
a69fb493
authored
Mar 29, 2024
by
wasx8023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.未绑定部门
parent
70fb843e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
SqlMapDaoLogProxy.java
...sight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
+5
-1
No files found.
src/main/java/com/baosight/iplat4j/core/data/ibatis/dao/SqlMapDaoLogProxy.java
View file @
a69fb493
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment