|
@@ -244,6 +244,10 @@ public class AdminUserLogic {
|
|
|
}else {
|
|
|
AdminDept adminDept = adminDeptService.getById(adminUser.getAdminDeptId());
|
|
|
|
|
|
+ if (!curAdminUser.getType().equals("2") && adminDept.getAdminDeptId().equals("1")){
|
|
|
+ throw new RemoteServiceException("不可选高于商户得平台权限");
|
|
|
+ }
|
|
|
+
|
|
|
adminUser.setCompanyWechatId(adminDept.getCompanyWechatId());
|
|
|
adminUser.setCompanyName(adminDept.getCompanyWechatName());
|
|
|
|