|
@@ -499,13 +499,7 @@ public class AdminUserLogic {
|
|
|
throw new RemoteServiceException("暂无权限创建当前网点的账号");
|
|
|
}
|
|
|
|
|
|
- if (StringUtils.equals(adminWebsit.getType(), AdminWebsitTypeEnum.C.getKey())) {
|
|
|
- newUser.setType(0);
|
|
|
- } else if (StringUtils.equals(adminWebsit.getType(), AdminWebsitTypeEnum.B.getKey())) {
|
|
|
- newUser.setType(1);
|
|
|
- } else if (StringUtils.equals(adminWebsit.getType(), AdminWebsitTypeEnum.A.getKey())) {
|
|
|
- newUser.setType(2);
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
if (!CollectionUtils.isEmpty(newUser.getAdminDeptId())) {
|
|
@@ -522,7 +516,7 @@ public class AdminUserLogic {
|
|
|
newUser.setCompanyWechatId(adminDept.getCompanyWechatId());
|
|
|
newUser.setCompanyName(adminDept.getCompanyWechatName());
|
|
|
|
|
|
- newUser.setType(0);
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|