|
|
@@ -76,8 +76,8 @@ public class AccountCenterServiceImpl implements AccountCenterService {
|
|
|
accountCompanyMapper.insert(accountId, company.getId());
|
|
|
//2.更新账户信息
|
|
|
Account account = BeanMapper.map(accountRegDTO, Account.class);
|
|
|
-
|
|
|
account.setId(accountId);
|
|
|
+ account.setEnabled(true);
|
|
|
accountService.updateByPrimaryKeySelective(account);
|
|
|
return null;
|
|
|
}
|