diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/account/service/impl/AccountServiceImpl.java b/smart-switch-service/src/main/java/com/ruoyi/ss/account/service/impl/AccountServiceImpl.java index d9bec165..1f65235c 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/account/service/impl/AccountServiceImpl.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/account/service/impl/AccountServiceImpl.java @@ -132,9 +132,6 @@ public class AccountServiceImpl implements AccountService { @Override public Map> selectSmAccountGroup(AccountQuery dto) { List list = this.selectSmAccountList(dto); - if (CollectionUtils.isEmpty(list)) { - return Collections.emptyMap(); - } // 获取可用渠道,仅返回可用渠道 Set enabledChannel = channelWithdrawService.selectEnabledList() .stream().map(ChannelWithdrawVO::getAccountType).collect(Collectors.toSet());