Commit b328bbc9 authored by liuyang's avatar liuyang

fixed bug

parent f6fe7fc8
......@@ -116,7 +116,7 @@ public class OrganizationService extends BaseServiceImpl<OrganizationMapper, Org
saveModel.setNickName(model.getAdminNickName());
saveModel.setName(model.getAdminName());
saveModel.setEnterpriseId(enterpriseId);
saveModel.setType(AccountTypeEnum.USER);
saveModel.setType(AccountTypeEnum.ENTERPRISE_VIP);
saveModel.setStatus(AccountStatusEnum.UNACTIVATE);
List<String> roleCodeList = Lists.newArrayList(BizConstants.ROLE_ENTERPRISE_ADMIN);
saveModel.setRoleCodeList(roleCodeList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment