mirror of https://gitee.com/stylefeng/roses
【7.4.0-sync】【user】更新切换公司的逻辑
parent
40f01f7d38
commit
bbbde2f64a
|
@ -92,7 +92,7 @@ public class SysUserOrgController {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!orgIdRightFlag) {
|
||||
if (!orgIdRightFlag && !LoginContext.me().getSuperAdminFlag()) {
|
||||
throw new ServiceException(SysUserOrgExceptionEnum.CANT_CHANGE_ORG_ID);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue