|
@@ -47,8 +47,8 @@ public class ClusterCtrl {
|
|
}
|
|
}
|
|
// 当前账户为普通账户,需要查询该账户创建的普通账户子账户,设置roleCode为3及当前创建用户id
|
|
// 当前账户为普通账户,需要查询该账户创建的普通账户子账户,设置roleCode为3及当前创建用户id
|
|
if(DictConstants.ROLE_CODE_UESR.equals(roleCode)){
|
|
if(DictConstants.ROLE_CODE_UESR.equals(roleCode)){
|
|
- String userType = AuthUtil.getCurrentUserType();
|
|
|
|
- if("1".equals(userType)){//独占
|
|
|
|
|
|
+ String useType = AuthUtil.getCurrentUseType();
|
|
|
|
+ if("1".equals(useType)){//独占
|
|
clusterParam.setRoleCode(DictConstants.ROLE_CODE_SUBUESR);
|
|
clusterParam.setRoleCode(DictConstants.ROLE_CODE_SUBUESR);
|
|
clusterParam.setCreateUserId(AuthUtil.getCurrentUserId());
|
|
clusterParam.setCreateUserId(AuthUtil.getCurrentUserId());
|
|
}else {
|
|
}else {
|
|
@@ -110,8 +110,8 @@ public class ClusterCtrl {
|
|
}
|
|
}
|
|
// 当前账户为普通账户,需要查询该账户创建的普通账户子账户,设置roleCode为3及当前创建用户id
|
|
// 当前账户为普通账户,需要查询该账户创建的普通账户子账户,设置roleCode为3及当前创建用户id
|
|
if(DictConstants.ROLE_CODE_UESR.equals(roleCode)){
|
|
if(DictConstants.ROLE_CODE_UESR.equals(roleCode)){
|
|
- String userType = AuthUtil.getCurrentUserType();
|
|
|
|
- if("1".equals(userType)){//独占
|
|
|
|
|
|
+ String useType = AuthUtil.getCurrentUseType();
|
|
|
|
+ if("1".equals(useType)){//独占
|
|
clusterParam.setRoleCode(DictConstants.ROLE_CODE_SUBUESR);
|
|
clusterParam.setRoleCode(DictConstants.ROLE_CODE_SUBUESR);
|
|
clusterParam.setCreateUserId(AuthUtil.getCurrentUserId());
|
|
clusterParam.setCreateUserId(AuthUtil.getCurrentUserId());
|
|
}else {
|
|
}else {
|