|
@@ -342,7 +342,12 @@ public class AdminUserLogic {
|
|
|
}
|
|
|
}else {
|
|
|
|
|
|
+
|
|
|
+
|
|
|
if (!StringUtil.isEmpty(newUser.getAdminDeptId())){
|
|
|
+ if (!admin.getType().equals("2") && newUser.getAdminDeptId().equals("1")){
|
|
|
+ throw new RemoteServiceException("不可选高于商户得平台权限");
|
|
|
+ }
|
|
|
|
|
|
AdminDept adminDept = adminDeptService.getById(newUser.getAdminDeptId());
|
|
|
|