|
@@ -122,7 +122,7 @@ public class SaasAccountServiceImpl extends SuperServiceImpl<SaasAccountMapper,
|
|
|
@Override
|
|
|
public LambdaQueryWrapper<SaasAccount> getQueryWrapperByUsername(SaasAccount saasAccount) {
|
|
|
LambdaQueryWrapper<SaasAccount> queryWrapper = new SaasAccount.Builder().createQueryWrapper().accountBelongEq(saasAccount.getAccountBelong())
|
|
|
- .groupCodeEq(saasAccount.getGroupCode()).usernameEq(saasAccount.getUsername()).builderQueryWrapper();
|
|
|
+ .accountTypeEq(saasAccount.getAccountType()).groupCodeEq(saasAccount.getGroupCode()).usernameEq(saasAccount.getUsername()).builderQueryWrapper();
|
|
|
queryWrapper.select(SaasAccount::getId, SaasAccount::getGroupCode, SaasAccount::getAppId, SaasAccount::getUsername,
|
|
|
SaasAccount::getPhoneNum, SaasAccount::getMail, SaasAccount::getHeadPortrait, SaasAccount::getAccountBelong,
|
|
|
SaasAccount::getAccountSource, SaasAccount::getAccountType, SaasAccount::getLastLoginIp, SaasAccount::getLastLoginTime,
|