Commit 9e7b849f by 李小龙

组织角色

parent fa006437
...@@ -58,14 +58,10 @@ public interface PlatUserService extends IService<PlatUser> { ...@@ -58,14 +58,10 @@ public interface PlatUserService extends IService<PlatUser> {
PlatUserLoginVO getRoleAndMenuList2(); PlatUserLoginVO getRoleAndMenuList2();
// PlatUserLoginVO getWechatMenuList();
PlatUserLoginVO getUserVO(); PlatUserLoginVO getUserVO();
PlatPersonDTOVO getUserDetail(); PlatPersonDTOVO getUserDetail();
// List<String> getCustomGroupNameList();
List<PlatRole> getRoleList(String userId); List<PlatRole> getRoleList(String userId);
...@@ -88,10 +84,6 @@ public interface PlatUserService extends IService<PlatUser> { ...@@ -88,10 +84,6 @@ public interface PlatUserService extends IService<PlatUser> {
PlatPersonDTOVO viewPerson(String id); PlatPersonDTOVO viewPerson(String id);
// void changeDeptMessage(PlatUser tntUser, String oldDeptId, String newDeptId);
//void leaveMessage(PlatUser tntUser);
List<PlatRole> getRoleListWithTag(String userId); List<PlatRole> getRoleListWithTag(String userId);
PlatRole getMaxRole(String userId); PlatRole getMaxRole(String userId);
...@@ -116,11 +108,6 @@ public interface PlatUserService extends IService<PlatUser> { ...@@ -116,11 +108,6 @@ public interface PlatUserService extends IService<PlatUser> {
List<PlatOrg> getCandidateDeptList(); List<PlatOrg> getCandidateDeptList();
// List<String> getCustomGroupNameList(String userId);
//
// List<String> getCustomGroupIdList(String userId);
List<PlatMenu> getMenuListByUserId(String userId); List<PlatMenu> getMenuListByUserId(String userId);
/** /**
......
...@@ -202,7 +202,7 @@ implements PlatTenantService { ...@@ -202,7 +202,7 @@ implements PlatTenantService {
//组织表增加一条数据 //组织表增加一条数据
PlatOrg platOrg = convertToPlatOrg(tntTenant); PlatOrg platOrg = convertToPlatOrg(tntTenant);
platOrgService.add(platOrg); platOrgService.save(platOrg);
return tntTenant.getId(); return tntTenant.getId();
} }
...@@ -236,6 +236,8 @@ implements PlatTenantService { ...@@ -236,6 +236,8 @@ implements PlatTenantService {
platOrg.setName(platTenant.getName()); platOrg.setName(platTenant.getName());
platOrg.setStatus(platTenant.getStatus()); platOrg.setStatus(platTenant.getStatus());
platOrg.setId(platTenant.getId()); platOrg.setId(platTenant.getId());
//租户没有父级
platOrg.setParentId("1");
return platOrg; return platOrg;
} }
......
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 sign in to comment