Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄嘉阳
/
iot-platform-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9e7b849f
authored
Sep 05, 2023
by
李小龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
组织角色
parent
fa006437
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
14 deletions
server-service/src/main/java/com/makeit/service/platform/auth/PlatUserService.java
server-service/src/main/java/com/makeit/service/platform/auth/impl/PlatOrgServiceImpl.java
server-service/src/main/java/com/makeit/service/platform/auth/impl/PlatRoleServiceImpl.java
server-service/src/main/java/com/makeit/service/platform/auth/impl/PlatUserServiceImpl.java
server-service/src/main/java/com/makeit/service/saas/impl/PlatTenantServiceImpl.java
server-service/src/main/java/com/makeit/service/platform/auth/PlatUserService.java
View file @
9e7b849f
...
...
@@ -58,14 +58,10 @@ public interface PlatUserService extends IService<PlatUser> {
PlatUserLoginVO
getRoleAndMenuList2
();
// PlatUserLoginVO getWechatMenuList();
PlatUserLoginVO
getUserVO
();
PlatPersonDTOVO
getUserDetail
();
// List<String> getCustomGroupNameList();
List
<
PlatRole
>
getRoleList
(
String
userId
);
...
...
@@ -88,10 +84,6 @@ public interface PlatUserService extends IService<PlatUser> {
PlatPersonDTOVO
viewPerson
(
String
id
);
// void changeDeptMessage(PlatUser tntUser, String oldDeptId, String newDeptId);
//void leaveMessage(PlatUser tntUser);
List
<
PlatRole
>
getRoleListWithTag
(
String
userId
);
PlatRole
getMaxRole
(
String
userId
);
...
...
@@ -116,11 +108,6 @@ public interface PlatUserService extends IService<PlatUser> {
List
<
PlatOrg
>
getCandidateDeptList
();
// List<String> getCustomGroupNameList(String userId);
//
// List<String> getCustomGroupIdList(String userId);
List
<
PlatMenu
>
getMenuListByUserId
(
String
userId
);
/**
...
...
server-service/src/main/java/com/makeit/service/platform/auth/impl/PlatOrgServiceImpl.java
View file @
9e7b849f
This diff is collapsed.
Click to expand it.
server-service/src/main/java/com/makeit/service/platform/auth/impl/PlatRoleServiceImpl.java
View file @
9e7b849f
This diff is collapsed.
Click to expand it.
server-service/src/main/java/com/makeit/service/platform/auth/impl/PlatUserServiceImpl.java
View file @
9e7b849f
This diff is collapsed.
Click to expand it.
server-service/src/main/java/com/makeit/service/saas/impl/PlatTenantServiceImpl.java
View file @
9e7b849f
...
...
@@ -202,7 +202,7 @@ implements PlatTenantService {
//组织表增加一条数据
PlatOrg
platOrg
=
convertToPlatOrg
(
tntTenant
);
platOrgService
.
add
(
platOrg
);
platOrgService
.
save
(
platOrg
);
return
tntTenant
.
getId
();
}
...
...
@@ -236,6 +236,8 @@ implements PlatTenantService {
platOrg
.
setName
(
platTenant
.
getName
());
platOrg
.
setStatus
(
platTenant
.
getStatus
());
platOrg
.
setId
(
platTenant
.
getId
());
//租户没有父级
platOrg
.
setParentId
(
"1"
);
return
platOrg
;
}
...
...
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